ulid/javascript
Universally Unique Lexicographically Sortable Identifier
📋 What's Changed
- [LOW][Security] Fix biased random number generation by @pnappa in https://github.com/ulid/javascript/pull/128
✨ New Contributors
- @pnappa made their first contribution in https://github.com/ulid/javascript/pull/128
- Full Changelog: https://github.com/ulid/javascript/compare/v3.0.1...v3.0.2
📋 What's Changed
- Resolve #81 to deal with a potential future scenario of PRNG generating `1` by @darrelfrancis in https://github.com/ulid/javascript/pull/120
✨ New Contributors
- @darrelfrancis made their first contribution in https://github.com/ulid/javascript/pull/120
- Full Changelog: https://github.com/ulid/javascript/compare/v3.0.0...v3.0.1
📋 What's Changed
- feat(v3): Rework ulid based on ulidx by @perry-mitchell in https://github.com/ulid/javascript/pull/119
- Full Changelog: https://github.com/ulid/javascript/compare/v2.4.0...v3.0.0
💥 Breaking changes
- AMD / RequireJS support dropped
- Instant <script> tag support dropped
- Committed JS bundles removed
- `factory` method dropped (use `monotonicFactory` instead)
- `detectPrng` dropped
- yarn lock removed
📋 What's Changed
- #102 issue: Update index.js by @aAYUSHkujur in https://github.com/ulid/javascript/pull/103
- add a newline to the result to remove the percentage in the CLI output by @mrwnmncd in https://github.com/ulid/javascript/pull/108
- maint(dependencies): Cleanup, update dependencies by @perry-mitchell in https://github.com/ulid/javascript/pull/109
- Fix npm badge downloads per month by @ftzi in https://github.com/ulid/javascript/pull/92
- Fix for #102 regression by @nukosuke in https://github.com/ulid/javascript/pull/114
- Fix CI badge by @nukosuke in https://github.com/ulid/javascript/pull/115
- Prepare 2.4.0 release by @perry-mitchell in https://github.com/ulid/javascript/pull/118
✨ New Contributors
- @aAYUSHkujur made their first contribution in https://github.com/ulid/javascript/pull/103
- @mrwnmncd made their first contribution in https://github.com/ulid/javascript/pull/108
- @perry-mitchell made their first contribution in https://github.com/ulid/javascript/pull/109
- @ftzi made their first contribution in https://github.com/ulid/javascript/pull/92
- @nukosuke made their first contribution in https://github.com/ulid/javascript/pull/114
- Full Changelog: https://github.com/ulid/javascript/compare/v2.3.0...v2.4.0
# Fix command line version
# Change default to not fallback to `Math.random`
# Breaking changes to API with new module format We're modernizing the library, with proper ES6 `export`ing, and CommonJS support with `rollup`. As a result, the API will change. **For TypeScript and ES6 consumers** ```javascript import { ulid, factory, monotonicFactory } from 'ulid' ulid() ``` **For CommonJS consumers** *Sorry guys, if you can tell me a better way, I'd be happy to implement it!* ```javascript const ULID = require('ulid') ULID.ulid() ``` **For browser usage** ```html <script src="/path/to/ulid.js"></script> <script> ULID.ulid() </script> ```
# Strictly monotonic clocks Spec'ed out and implemented! See the readme for more information
📋 Changes
- Specify edge cases in schema
- Improved jest support
