Skip to content

Releases: Coder-Spirit/nominal

nominal-inputs@1.2.0

13 Aug 13:25
8cbe46a
Compare
Choose a tag to compare

Changes

  • Introduced new type SizedStringInput, which allows us to constraint the length of string literals passed as parameters.

Automated Changelog

Full Changelog: https://github.com/Coder-Spirit/nominal/compare/nominal-typebox@1.1.0...nominal-inputs@1.2.0

nominal-typebox@1.1.0

12 Aug 10:41
a4827fa
Compare
Choose a tag to compare

Changes since v1.0.0

  • Added branded version of TypeBox' RegExp schema type.

v1.0.0 Release Notes

  • Released @coderspirit/nominal-typebox v1.0.0, an integration between @coderspirit/nominal and @sinclair/typebox that allows us to use nominal types in TypeBox schema definitions.

Automated Changelog

Full Changelog: https://github.com/Coder-Spirit/nominal/compare/nominal-symbols@2.0.1...nominal-typebox@1.1.0

nominal-symbols@2.0.1

08 Aug 22:12
74cc3c9
Compare
Choose a tag to compare

Supply Chain Improvements

  • Now the NPM package's provenance can be verified and traced back to the pipeline where the package was built.

Internal Changes

  • Automated NPM packages publication, with verifiable provenance
  • Full transition to BiomeJS for linting & formatting

Automated Changelog

Full Changelog: https://github.com/Coder-Spirit/nominal/compare/4.0.3...nominal-symbols@2.0.1

nominal@4.0.3 , nominal-inputs@1.0.3 , safe-env@1.0.0

08 Apr 21:38
b9736d8
Compare
Choose a tag to compare

Minor Releases

  • @coderspirit/nominal (v4.0.3): minor internal & build refactor changes

New Packages

  • @coderspirit/nominal-inputs (v1.0.3): new library with "input types" to be used in stricter function signatures .
  • @coderspirit/safe-env (v1.0.0):
    • we ported safe-env from its "old" repository to this one to ensure better maintenance
    • this is the first stable release of this library
    • its API has been completely overhauled to ensure that is useful for more people

nominal@4.0.0 & nominal-symbols@2.0.0

15 Oct 23:20
96a7a5f
Compare
Choose a tag to compare

Breaking Changes

  • We raised the required NodeJS and TypeScript versions, to v18 and v5.2 respectively.
  • "Minor" changes in how we build the files that are later distributed, because this affects the unique symbols that are exported, it is a breaking change.

Internal Development Changes

  • We moved @coderspirit/nominal-symbols to the same repository as @coderspirit/nominal.
  • We now rely on a centralised package for our Prettier, ESLint and TypeScript configurations.
  • We improved our tests by switching from Jest to Vitest, which is much simpler to use, and also much faster.
  • We now use Turborepo to manage the dependencies between task in the project.

Commits

3.2.2

23 Oct 11:55
3521b66
Compare
Choose a tag to compare

Minor changes

  • Upgraded development dependencies (it does not affect distributed package)
  • Added NodeJS v18.x and v19.x to the CI testing pipeline

Breaking changes

  • Dropped support for Node v12.0

3.2.1

10 Feb 19:57
aba633c
Compare
Choose a tag to compare

Minor changes

  • expose FastProperty to create "property types" without running all the complex machinery behind Nominal.
  • document "properties" intersections.

3.2.0

22 Jan 15:33
dfdd610
Compare
Choose a tag to compare

Fixes

  • Use hardcoded path to allow Deno pkg to depend on "external" @coderspirit/nominal-symbols package (as it already works for the NodeJS distribution).

3.1.0

21 Jan 23:04
1f69194
Compare
Choose a tag to compare

New Features

  • Export FastBrand and FastFlavor for faster compilation times when we want to add brands or flavors on "basic" types.

Backwards & Forward Compatibility

  • For CommonJS "imports", rely on the newly extracted package @coderspirit/nominal-symbols. The unique symbols where extracted into a new (and more stable) package to minimize the probability of breaking compatibility if different versions of Nominal coexist in the same application.
  • For Deno and ES module imports, the "old" symbols file is still used, because NodeJS and Typescript are still quite behind on support for ES modules.

3.0.0

11 Apr 22:26
7964301
Compare
Choose a tag to compare

New features

  • Introduce the concept of properties (replacing tags)
  • Branded types
  • Flavored types

Fixes

  • Import extensions in Deno files

Breaking changes

  • Remove tags & related machinery (substituted by properties)
  • Remove tainting capabilities