Releases: ulid/javascript
Releases · ulid/javascript
v3.0.0
Full refactor of ulid
based on ulidx
.
What's Changed
- feat(v3): Rework ulid based on ulidx by @perry-mitchell in #119
Full Changelog: v2.4.0...v3.0.0
Breaking changes
- AMD / RequireJS support dropped
- Instant <script> tag support dropped
- Committed JS bundles removed
factory
method dropped (usemonotonicFactory
instead)detectPrng
dropped- yarn lock removed
v2.4.0
First release since 2018! ulid
is back! 🎉
What's Changed
- #102 issue: Update index.js by @aAYUSHkujur in #103
- add a newline to the result to remove the percentage in the CLI output by @mrwnmncd in #108
- maint(dependencies): Cleanup, update dependencies by @perry-mitchell in #109
- Fix npm badge downloads per month by @ftzi in #92
- Fix for #102 regression by @nukosuke in #114
- Fix CI badge by @nukosuke in #115
- Prepare 2.4.0 release by @perry-mitchell in #118
New Contributors
- @aAYUSHkujur made their first contribution in #103
- @mrwnmncd made their first contribution in #108
- @perry-mitchell made their first contribution in #109
- @ftzi made their first contribution in #92
- @nukosuke made their first contribution in #114
Full Changelog: v2.3.0...v2.4.0
v.2.3.0 - Improved bundling
v2.3.0 2.3.0
v2.2.1
v2.2.0
v2.0.1
v2.0.0
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
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!
const ULID = require('ulid')
ULID.ulid()
For browser usage
<script src="/path/to/ulid.js"></script>
<script>
ULID.ulid()
</script>