Skip to content

Releases: wellcrafted-dev/wellcrafted

v0.7.0

24 May 15:54
f521cdf

Choose a tag to compare

Minor Changes

  • 0b32ddd: Updates mapErr handling in trySync and tryAsync functions, now automatically wrapping with Err<>
  • 50498bf: Removes discriminated union implementation of result in favor of exclusive (data/error) pattern

Patch Changes

  • 1c4ef64: Make second arg of mutate optional, use Partial Typescript helper

v0.6.1

10 Mar 02:19
cc30887

Choose a tag to compare

Patch Changes

  • 1c4ef64: Make second arg of mutate optional, use Partial Typescript helper

v0.6.0

01 Feb 22:48
0486bce

Choose a tag to compare

Minor Changes

  • 5e6133a: Added new onSuccessLocal, onErrorLocal, onSettledLocal

v0.5.2

25 Dec 07:14
b168aa5

Choose a tag to compare

Patch Changes

  • d1d5257: Restore old ok and err behavior

v0.5.0

25 Dec 07:07
e2d7f14

Choose a tag to compare

Minor Changes

  • 344f3d5: Update generics in trySync and tryAsync functions; remove services.ts

Patch Changes

  • 7f49d16: Add OnMutateError generic to createMutation function

v0.4.2

24 Dec 21:01
cded9f3

Choose a tag to compare

Patch Changes

  • 57a88a6: Simplify Result type definition by consolidating Ok and Err types

v0.4.1

24 Dec 20:26
e4db821

Choose a tag to compare

Patch Changes

  • 35dbcdd: Update mapError to take in Err and spit out Err

v0.4.0

24 Dec 19:57
0e300e6

Choose a tag to compare

Minor Changes

  • 75df94c: Rename catch parameter to mapErr in trySync and tryAsync functions for improved clarity

v0.3.2

24 Dec 05:51
206c85b

Choose a tag to compare

Patch Changes

  • 9b4bf3e: createMutation function returns function directly

v0.3.1

23 Dec 23:38
50d5f15

Choose a tag to compare

Patch Changes

  • 0cf54d2: Update first parameter of createMutation for improved clarity
  • 043d624: Add InferOk and InferErr utility types for Result type inference
  • b4a0bc4: Add ServiceFn type and update exports in index.ts