Releases: Coder-Spirit/nominal
Releases · Coder-Spirit/nominal
nominal-inputs@1.2.0
Changes
- Introduced new type
SizedStringInput
, which allows us to constraint the length of string literals passed as parameters.
Automated Changelog
- fix: use more conservative version ranges by @castarco in #117
- refactor: minor automation fixes by @castarco in #118
- feat(nominal-inputs): add SizedStringInput type by @castarco in #119
Full Changelog: https://github.com/Coder-Spirit/nominal/compare/nominal-typebox@1.1.0...nominal-inputs@1.2.0
nominal-typebox@1.1.0
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
- feat(nominal-typebox): new typebox integration by @castarco in #111
- fix: brandedSchema signature by @castarco in #112
- feat(nominal-typebox): add brandedRegExp by @castarco in #115
Full Changelog: https://github.com/Coder-Spirit/nominal/compare/nominal-symbols@2.0.1...nominal-typebox@1.1.0
nominal-symbols@2.0.1
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
- fix: remove unused dep by @castarco in #74
- chore: bump version by @castarco in #95
- refactor: modernize code organization by @castarco in #104
- ci: automated packages publication by @castarco in #105
- fix: wrapper path resolution by @castarco in #106
- chore: bump package versions by @castarco in #107
- fix: move all internal private deps to root by @castarco in #108
- fix: env passthrough for publish:safe by @castarco in #109
- fix: use ^ for workspace deps by @castarco in #110
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
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
- we ported
nominal@4.0.0 & nominal-symbols@2.0.0
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
3.2.1
3.2.0
3.1.0
New Features
- Export
FastBrand
andFastFlavor
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.