Skip to content

Releases: ulid/javascript

v3.0.2

Choose a tag to compare

@perry-mitchell perry-mitchell released this 30 Nov 20:03

What's Changed

  • [LOW][Security] Fix biased random number generation by @pnappa in #128

New Contributors

Full Changelog: v3.0.1...v3.0.2

v3.0.1

Choose a tag to compare

@perry-mitchell perry-mitchell released this 08 Jun 18:04

What's Changed

New Contributors

Full Changelog: v3.0.0...v3.0.1

v3.0.0

Choose a tag to compare

@perry-mitchell perry-mitchell released this 24 Mar 20:34

Full refactor of ulid based on ulidx.

What's Changed

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 (use monotonicFactory instead)
  • detectPrng dropped
  • yarn lock removed

v2.4.0

Choose a tag to compare

@perry-mitchell perry-mitchell released this 16 Mar 18:29

First release since 2018! ulid is back! 🎉

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.4.0

v.2.3.0 - Improved bundling

Choose a tag to compare

@alizain alizain released this 03 Jan 20:04
v2.3.0

2.3.0

v2.2.1

Choose a tag to compare

@alizain alizain released this 31 Oct 18:48

Fix command line version

v2.2.0

Choose a tag to compare

@alizain alizain released this 26 Oct 00:49
2.2.0

v2.0.1

Choose a tag to compare

@alizain alizain released this 25 Oct 23:03

Change default to not fallback to Math.random

v2.0.0

Choose a tag to compare

@alizain alizain released this 25 Oct 21:54

Breaking changes to API with new module format

We're modernizing the library, with proper ES6 exporting, 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>

v1.1.0

Choose a tag to compare

@alizain alizain released this 24 Oct 02:22

Strictly monotonic clocks

Spec'ed out and implemented! See the readme for more information