Skip to content

v1.6.0 - 'collect' and other improvements 🫴

Compare
Choose a tag to compare
@gustavoguichard gustavoguichard released this 22 Feb 17:13
· 598 commits to main since this release
c67ffc2

Updates

We just introduced a new collect combinator. Check it out in the README, you'll love it!
We've also improved our README - thanks Landon! -, fixed some type-level bugs and made the output type of a composition look better:

// From this
const result = merge(a, b)
//     ^? DomainFunction<{ resultA: number } & { resultB: string }>

// To this
const result = merge(a, b)
//     ^? DomainFunction<{ resultA: number; resultB: string }>

What's Changed

  • 🫴 Add a new collect combinator and warn about pitfalls with merge by @gustavoguichard in #66
  • 💅 Add a prettify type to make the presented MergeObjects type more read… by @gustavoguichard in #65
  • 🐛 Fix MergeObjs type to behave more like JS's Object.assign and add som… by @gustavoguichard in #68
  • 📖 README: improvements and punctuation by @jly36963 in #63

New Contributors

Full Changelog: v1.5.1...v1.6.0