diff --git a/CHANGELOG.md b/CHANGELOG.md index 40f758ea..c4e2bc8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ # Change Log This project adheres to [Semantic Versioning](http://semver.org/). +## 3.0 +Migration guide: +* Move to ES2016 syntax. You need to use Babel for IE 11. +* Move to named exports `import { nanoid } from 'nanoid'`. +* Move `import url from 'nanoid/url'` to `import { urlAlphabet } from 'nanoid'`. +* Replace `format()` to `customRandom()`. +* Replace `generate()` to `customAlphabet()`. +* Remove `async/format`. +* Remove React Native support for `nanoid/async`. +* Add `nanoid.js` to use directly in browser from CDN. +* Add TypeScript type definitions. +* Add ES modules support for bundlers, Node.js, and React Native. +* Fix React Native support. +* Reduce size. +* Improve docs (by Dair Aidarkhanov). + ## 2.1.11 * Reduce size (by Anton Evzhakov). diff --git a/package.json b/package.json index 8a850a41..1f0e1509 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nanoid", - "version": "2.1.11", + "version": "3.0.0", "description": "A tiny (108 bytes), secure URL-friendly unique string ID generator", "keywords": [ "uuid", @@ -172,7 +172,11 @@ "webpack", "CDN", "XPS", - "jsDelivr" + "jsDelivr", + "bundlers", + "ES2016", + "github", + "ai" ] }, "sharec": {