Skip to content

Releases: matejchalk/better-enums

Release 0.2.2

23 Oct 08:08
Compare
Choose a tag to compare
  • Upgrade @babel/traverse with npm audit fix (da32313)
  • Add TypeScript peer dependency badge to README (8b9e347)
  • Add bundlephobia badge to README (4810cbb)
  • NPM audit fix (e8b86fd)

Release 0.2.1

06 Aug 16:16
Compare
Choose a tag to compare
  • Fix InferValue type for numeric enum values (7ca9a11)

Release 0.2.0

06 Aug 15:23
Compare
Choose a tag to compare
  • Use plural for enum object in examples (809ca04)
  • Update package metadata: no side-effects, conditional exports (76c65f3)
  • Include referenced internal types in docs (+ other cleanup) (5a791da)
  • Add pre-commit hook to run tests and update docs (59e53ed)
  • Refactor type definitions with helper types (80a1164)
  • Add .accessor to simple enum (4025a2f)
  • Rename .object to .accessor (422bb2a)
  • Rename basic enum to simple enum (0f52a9c)
  • Update docs (ab3e370)

Release 0.1.1

26 Jul 19:56
Compare
Choose a tag to compare
  • Add test and docs scripts to prepublishOnly script (495e56f)
  • Add missing test coverage (28b685e)
  • Minify build output (e35e97d)
  • Re-generate docs (ecd04bb)
  • Add badges to README (9b4d83a)
  • Upload Jest coverage to Codecov (64d2450)
  • Create CI workflow with GitHub Actions (28774f8)

Release 0.1.0

23 Jul 16:00
Compare
Choose a tag to compare
  • Integrate release-it for publishing to NPM (af8ed6c)
  • Prepare package.json for publishing (43b2c9a)
  • Add link to TypeDoc docs hosted on GitHub Pages (b64e4ed)
  • Tweak TypeDoc configuration (447ebf1)
  • Document type parameters (a2131e3)
  • Add JSDoc comments to document public interface (ea86af6)
  • Generate docs with TypeDoc (828ebe0)
  • Add usage instructions to README (9435d77)
  • Rename isValue to hasValue, isKey to hasKey, isEntry to hasEntry (733d42d)
  • Extract duplicate extend/exclude return types to helper types (e7c454c)
  • Change interface to callable Enum object with extend/exclude methods (d645645)
  • Document motivation in README (222730e)
  • Test and implement $exclude function (dd64545)
  • Allow mutating result of values, keys or entries (fb15600)
  • Test and implement $extend function (fbeed67)
  • API renamings: ValueOf->InferValue, KeyOf->InferKey, obj-> object (2bf44f1)
  • Infer specific key type in keyOf method (0ec18f2)
  • Write type tests with tsd (d1fa251)
  • Implement $enum function (01c9a85)
  • Write unit tests for $enum function (bf7d2f0)
  • Library setup (4e4e80b)
  • Initial commit (194717f)