Releases: wavesoftware/javascript-eid-exceptions
Releases · wavesoftware/javascript-eid-exceptions
Release list
v2.0.0
Full TypeScript modernization of eid.js.
New
- TypeScript with full type declarations (.d.ts)
- ESM + CommonJS + IIFE browser bundle
- ES2022
Error.causesupport in all exceptions tryToExecutepreserves original error as.cause- Vitest test suite (59 tests, 100% coverage)
- Biome lint/format
- GitHub Actions CI (Node 20 + 22)
typecheckscript (tsc --noEmit)
Fixed
- Off-by-one in
checkElementIndex(index equal to size now correctly rejected) - Format string injection in
Eidmessage 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.preconditionsandEid.exceptionsstill work for backward compatibility- New recommended import:
import { Eid, EidPreconditions } from "eid.js"
Release v1.0.2 - BellJoy
Bugfixes:
- Fixed inheritance issues with Exception classes - now classes are inherited as it should be. Bug #7 (Fixed in PR #8 and #9)
- Minor fix to standard unique ID generator to generate always strings with 6 chars: f2fcc3e#diff-facbe71f547bf8a288fd8bef14889062
eidfield is present in all exception as it should and stack trace is calculated for all tested browsers (IE11, Edge, Chrome, Firefox): 19d3163#diff-5e6f228c9fef3e3c946dddf62f9eeeab
Release v1.0.1 - CitrusJubilee
- Initial release to NPM and Bower
- Library ported from Java version
Release v1.0.0 - [deprecated]
This release was failed on NPM, please use v1.0.1. Sorry!