uuid breaking changes

npm

19 curated breaking changes across major versions of uuid. Use this as a migration checklist before bumping dependencies.

19
changes
Breaking changes by transition
  • 8.3.2 \u2192 9.0.0api

    Drop IE 11 and Safari 10 support. Drop support for browsers that don't correctly implement const/let and default arguments, and no longer transpile the browser build to ES2015.

  • 8.3.2 \u2192 9.0.0breaking

    Drop Node.js 10.x support. This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 2022.

  • 8.3.2 \u2192 9.0.0removed

    Remove the minified UMD build from the package.

  • 7.0.3 \u2192 8.0.0behavior

    For native ECMAScript Module (ESM) usage in Node.js only named exports are exposed, there is no more default export.

  • 7.0.3 \u2192 8.0.0deprecated

    Deep requiring specific algorithms of this library like `require('uuid/v4')`, which has been deprecated in `uuid@7`, is no longer supported.

  • 3.4.0 \u2192 7.0.0breaking

    Convert code base to ECMAScript Modules (ESM) and release CommonJS build for node and ESM build for browser bundlers.

  • 3.4.0 \u2192 7.0.0deprecated

    Explicitly note that deep imports of the different uuid version functions are deprecated and no longer encouraged and that ECMAScript module named imports should be used instead. Emit a deprecation warning for people who deep-require the different algorithm variants.

  • 3.4.0 \u2192 7.0.0removed

    Remove support for generating v3 and v5 UUIDs in Node.js<4.x

  • 3.4.0 \u2192 7.0.0removed

    Remove builtin support for insecure random number generators in the browser. Users who want that will have to supply their own random number generator function.

  • 3.4.0 \u2192 7.0.0removed

    The default export, which used to be the v4() method but which was already discouraged in v3.x of this library, has been removed.

  • 12.0.0 \u2192 13.0.0behavior

    make browser exports the default ([#901](https://github.com/uuidjs/uuid/issues/901))

  • 11.1.0 \u2192 12.0.0breaking

    drop node@16 support ([#883](https://github.com/uuidjs/uuid/issues/883))

  • 11.1.0 \u2192 12.0.0breaking

    update to [email protected] ([#887](https://github.com/uuidjs/uuid/issues/887))

  • 11.1.0 \u2192 12.0.0removed

    remove CommonJS support ([#886](https://github.com/uuidjs/uuid/issues/886))

  • 10.0.0 \u2192 11.0.0breaking

    Port to TypeScript, closes [#762](https://github.com/uuidjs/uuid/issues/762) ([#763](https://github.com/uuidjs/uuid/issues/763))

  • 10.0.0 \u2192 11.0.0breaking

    refactor v1 internal state and options logic ([#780](https://github.com/uuidjs/uuid/issues/780))

  • 10.0.0 \u2192 11.0.0breaking

    refactor v7 internal state and options logic, fixes [#764](https://github.com/uuidjs/uuid/issues/764) ([#779](https://github.com/uuidjs/uuid/issues/779))

  • 10.0.0 \u2192 11.0.0breaking

    update node support matrix (only support node 16-20) ([#750](https://github.com/uuidjs/uuid/issues/750))

  • 9.0.1 \u2192 10.0.0breaking

    update node support (drop node@12, node@14, add node@20) (#750)

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/npm/uuid
uuid breaking changes — npm migration guide | DepScope