Skip to content

Releases: jasonkuhrt/alge

0.4.1

20 Aug 22:16
Compare
Choose a tag to compare

Fixes

  • d3bf417 static types for multiple encoders

Improvements

Chores

0.4.0

07 Aug 11:01
Compare
Choose a tag to compare

Features

  • 9785348 data pattern narrows data type received
  • 3449d71 no pattern match on _tag

0.3.0

06 Aug 21:48
62e990c
Compare
Choose a tag to compare

Features

  • 52d97b1 pattern matching (#92)

    Here's a sneak peak:

    const result = Alge.match(shape)
      .Circle({ radius: 13 }, () => `Got an unlucky circle!`)
      .Circle((circle) => `Got a circle of radius ${circle.radius}!`)
      .Square({ size: 13 }, () => `Got an unlucky square!`)
      .Square((square) => `Got a square of size ${square.size}!`)
      .done()

    Read more details and examples In the docs.

Chores

  • 62e990c update dependency @swc/core to v1.2.224 (#93)
  • 36de885 update pnpm to v7.9.0 (#94)
  • aa6f8e0 pin dependency @types/lodash.ismatch to 4.4.7 (#96)

0.2.0

05 Aug 01:54
Compare
Choose a tag to compare

BREAKING CHANGES

Features

Docs

  • 7b7af4a more succinct and cover more features
  • 392ff7e improve geometry example
  • 449e7ee correct mistake in docs example
  • b64c31a add npm version badge (#81)

0.1.1

01 Aug 02:23
Compare
Choose a tag to compare

Fixes

Docs

Chores

0.1.0

31 Jul 00:59
Compare
Choose a tag to compare

BREAKING CHANGES

  • 5ea597d dedicated chain method for schema
  • e67578a rename create to data
  • a3b8267 clean up main exports (#27)
  • 689861f User Mistake on no variants & method rename (#7)

Features

Fixes

Improvements

  • d1e50da deps: update dependency remeda to v1 (#73)
  • 27c0d08 deps: update dependency remeda to ^0.2.0 (#72)
  • c4c6d43 refactor: directory structures
  • af18ab5 refactor: symbol under internals
  • 5265d09 refactor: builder types in types dir
  • 7fd348e refactor: controller types
  • 6c8b6c2 refactor: move data tests to tests dir
  • cf7f267 refactor: reorganize internal types
  • 667cdb9 refactor: data builder reuses datum builder (#52)
  • 6bca6ad deps: update dependency remeda to ^0.0.35 (#39)
  • 13ec351 deps: update dependency remeda to ^0.0.34 (#36)
  • a0bb168 deps: update to latest
  • 5f71dc1 refactor: removed unused parse code
  • 7017701 refactor: remove unused import
  • a3b8267 (breaking) improve: clean up main exports (#27)
  • af0081d tests: cover more code
  • c860bcc "chore: initial commit"

Chores

Unspecified Changes