Skip to content

Releases: wavesoftware/javascript-eid-exceptions

v2.0.0

Choose a tag to compare

@cardil cardil released this 14 Jul 21:20
v2.0.0
4cc0ffc

Full TypeScript modernization of eid.js.

New

  • TypeScript with full type declarations (.d.ts)
  • ESM + CommonJS + IIFE browser bundle
  • ES2022 Error.cause support in all exceptions
  • tryToExecute preserves original error as .cause
  • Vitest test suite (59 tests, 100% coverage)
  • Biome lint/format
  • GitHub Actions CI (Node 20 + 22)
  • typecheck script (tsc --noEmit)

Fixed

  • Off-by-one in checkElementIndex (index equal to size now correctly rejected)
  • Format string injection in Eid message formatting

Breaking

  • Minimum Node.js version: 20
  • Bower support removed
  • Gulp build removed
  • Travis CI removed

Migration

  • require('eid.js') still works (CJS supported)
  • Eid.preconditions and Eid.exceptions still work for backward compatibility
  • New recommended import: import { Eid, EidPreconditions } from "eid.js"

Release v1.0.2 - BellJoy

Choose a tag to compare

@cardil cardil released this 25 Jan 23:28
v1.0.2

Bugfixes:

Release v1.0.1 - CitrusJubilee

Choose a tag to compare

@cardil cardil released this 12 Jan 01:01
v1.0.1
  • Initial release to NPM and Bower
  • Library ported from Java version

Release v1.0.0 - [deprecated]

Pre-release

Choose a tag to compare

@cardil cardil released this 12 Jan 00:48
v1.0.0

This release was failed on NPM, please use v1.0.1. Sorry!