CHANGELOG.md
This file
Path
CHANGELOG.md
594 lines · 9.5 KiB · Markdown
Last changed by
Release 6.0.2 versionAndrey Sitnikbefore adoption3167e10
History of this fileTake it
The walk stopped after 200 commits: lines older than cdc3edc point at it.
Update size limitAndrey Sitnikbefore adoptioncdc3edc
line 1why, one step back1# Change LogMove from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 2why, one step back2Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 3–4why, one step back3This project adheres to [Semantic Versioning](http://semver.org/).4Release 6.0.2 versionAndrey Sitnikbefore adoption3167e10
lines 5–11why, one step back5## 6.0.267- Reduced JS bundle size (by @bayandin).8- Fixed floats in size of `customRandom` (by @lost-signals).9- Fixed performance of `customRandom` on changes size (by @00200200).10- Fixed docs (by @Likio3000 & @lenamonj).11Release 6.0.1 versionAndrey Sitnikbefore adoption9247b6d
lines 12–15why, one step back12## 6.0.11314- Fixed docs.15Release 6.0.0 versionAndrey Sitnikbefore adoption4dacb10
lines 16–20why, one step back16## 6.0.01718- Made `nanoid()` and `customAlphabet()` 4 times faster (by @orhanayd).19- Removed Node.js 18 and 20 support.20Release 5.1.16 versionAndrey Sitnikbefore adoption6ccc67b
lines 21–24why, one step back21## 5.1.162223- Fixed forever loop on negative size (by @spokodev).24Release 5.1.15 versionAndrey Sitnikbefore adoption0b69554
lines 25–28why, one step back25## 5.1.152627- Fixed random pool corruption on big ID sizes.28Release 5.1.14 versionAndrey Sitnikbefore adoptione4b7a9a
lines 29–32why, one step back29## 5.1.143031- Fixed npm package size regression.32Release 5.1.13 versionAndrey Sitnikbefore adoptionb2f1cb6
lines 33–36why, one step back33## 5.1.133435- Fixed npm package size regression.36Release 5.1.12 versionAndrey Sitnikbefore adoptione5583b7
lines 37–40why, one step back37## 5.1.123839- Moved to npm Provenance and Staged Publishing.40Release 5.1.11 versionAndrey Sitnikbefore adoption5423cf5
lines 41–44why, one step back41## 5.1.114243- Fixed breaking Nano ID by requesting big ID.44Release 5.1.10 versionAndrey Sitnikbefore adoption5db09ee
lines 45–46why, one step back45## 5.1.1046Backport 3.3.12 changelogAndrey Sitnikbefore adoption2183894
line 47why, one step back47- Fixed breaking Nano ID by requesting big ID (by @alanzabihi).Release 5.1.10 versionAndrey Sitnikbefore adoption5db09ee
line 48why, one step back48Release 5.1.9 versionAndrey Sitnikbefore adoptione52d946
lines 49–52why, one step back49## 5.1.95051- Fixed npm package size regression.52Release 5.1.8 version (#586)Andrey Sitnikbefore adoption11c05dc
lines 53–56why, one step back53## 5.1.85455- Made `cusatomAlphabet` 75% faster (by @saripovdenis).56Release 5.1.7 versionAndrey Sitnikbefore adoption90f047e
lines 57–58why, one step back57## 5.1.758Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 59–63why, one step back59- Added `--version` to CLI (by @mahmoodhamdi).60- Updated `nanoid.js` for CDN (by @mahmoodhamdi).61- Fixed docs (by @mahmoodhamdi).62- Fixed `customRandom` types (by @oguimbal).63Release 5.1.6 versionAndrey Sitnikbefore adoptionc6532db
lines 64–65why, one step back64## 5.1.665Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 66–67why, one step back66- Fixed infinite loop on 0 size for `customAlphabet`.67Release 5.1.5 versionAndrey Sitnikbefore adoption5b1220d
lines 68–69why, one step back68## 5.1.569Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 70–71why, one step back70- Fixed latest version on npm after 3.x release.71Release 5.1.4 versionAndrey Sitnikbefore adoption523a74e
lines 72–73why, one step back72## 5.1.473Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 74–75why, one step back74- Fixed latest version on npm after 3.x release.75Release 5.1.3 versionAndrey Sitnikbefore adoption32bc9bf
lines 76–77why, one step back76## 5.1.377Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 78–79why, one step back78- Fixed React Native support (by @steida).79Release 5.1.2 versionAndrey Sitnikbefore adoption4c1e6b0
lines 80–81why, one step back80## 5.1.281Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 82–83why, one step back82- Fixed module docs.83Release 5.1.1 versionAndrey Sitnikbefore adoptionb66602e
lines 84–85why, one step back84## 5.1.185Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 86–88why, one step back86- Fixed opaque types support for non-secure generator.87- Added JSR support.88Release 5.1.0 versionAndrey Sitnikbefore adoptione0f79c9
lines 89–90why, one step back89## 5.1.090Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 91–92why, one step back91- Added opaque types support (by @kossnocorp).92Release 5.0.9 versionAndrey Sitnikbefore adoption65a38ac
lines 93–94why, one step back93## 5.0.994Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 95–96why, one step back95- Fixed a way to break Nano ID by passing non-integer size (by @myndzi).96Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 97–98why, one step back97## 5.0.898Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 99–100why, one step back99- Reduced `customAlphabet` size (by @kirillgroshkov).100Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 101–102why, one step back101## 5.0.7102Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 103–104why, one step back103- Fixed Parcel support (by @WilhelmYakunin).104Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 105–106why, one step back105## 5.0.6106Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 107–108why, one step back107- Fixed React Native support.108Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 109–110why, one step back109## 5.0.5110Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 111–112why, one step back111- Make browser’s version faster by increasing size a little (by Samuel Elgozi).112Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 113–114why, one step back113## 5.0.4114Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 115–116why, one step back115- Fixed CLI docs (by @ilyaboka).116Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 117–118why, one step back117## 5.0.3118Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 119–120why, one step back119- Fixed CLI docs (by Chris Schmich).120Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 121–122why, one step back121## 5.0.2122Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 123–124why, one step back123- Fixed `webcrypto` import (by Divyansh Singh).124Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 125–126why, one step back125## 5.0.1126Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 127–128why, one step back127- Fixed Node.js 18 support.128Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 129–130why, one step back129## 5.0130Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 131–134why, one step back131- Moved Node.js version to Web Crypto API.132- Removed async API since Web Crypto API has only sync version.133- Removed Node.js 14 and 16 support.134Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 135–136why, one step back135## 4.0.2136Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 137–138why, one step back137- Added [link](https://github.com/sponsors/ai) to Github Sponsors.138Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 139–140why, one step back139## 4.0.1140Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 141–142why, one step back141- Reduced npm package size (by @HiChen404).142Update size limitAndrey Sitnikbefore adoptioncdc3edc
line 143why, one step back143## 4.0Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 144–145why, one step back144145- Removed CommonJS support. Nano ID 4 will work only with ESM applications.Update size limitAndrey Sitnikbefore adoptioncdc3edc
line 146why, one step back146 We will support 3.x branch with CommonJS for users who can’t migrate to ESM.Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 147–148why, one step back147- Removed Node.js 10 and Node.js 12 support.148- Reduced npm package size.Backport 3.3.12 changelogAndrey Sitnikbefore adoption2183894
line 149why, one step back149Backport changelog changes from v3Andrey Sitnikbefore adoption5a33c04
lines 150–153why, one step back150## 3.3.20151152- Fixed types (by @johnemau).153Backport v3 changesAndrey Sitnikbefore adoption056d1f0
lines 154–161why, one step back154## 3.3.19155156- Fixed killing the app by setting huge user ID (by @geoffrey-diederichs).157158## 3.3.18159160- Fixed infinite loop on async for React Native (by @OvergrowthBeards-JB).161Backport release in ChangeLogAndrey Sitnikbefore adoption2ea9d64
lines 162–165why, one step back162## 3.3.17163164- Fixed infinite loop on zero size.165Backport 3.x changesAndrey Sitnikbefore adoptionabe8796
lines 166–173why, one step back166## 3.3.16167168- Fixed infinite loop on negative size (by @greymoth-jp).169170## 3.3.15171172- Fixed npm provenance error.173Backport changelog changes for 3.xAndrey Sitnikbefore adoption333c5a0
lines 174–177why, one step back174## 3.3.14175176- Fixed random pool corruption on big ID sizes.177Copy changes from v3 branchAndrey Sitnikbefore adoptiona55f2d0
lines 178–181why, one step back178## 3.3.13179180- Reduced npm package size.181Backport 3.3.12 changelogAndrey Sitnikbefore adoption2183894
lines 182–184why, one step back182## 3.3.12183184- Fixed breaking Nano ID by requesting big ID.Update size limitAndrey Sitnikbefore adoptioncdc3edc
line 185why, one step back185Backport changes from 3.xAndrey Sitnikbefore adoptione62fd22
lines 186–187why, one step back186## 3.3.11187Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 188–189why, one step back188- Fixed React Native support.189Backport Changelog changes from v3Andrey Sitnikbefore adoption7772155
lines 190–191why, one step back190## 3.3.10191Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 192–193why, one step back192- Fixed React Native support (by @steida).193Add 3.x release noteAndrey Sitnikbefore adoptionfdf72e9
lines 194–195why, one step back194## 3.3.9195Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 196–197why, one step back196- Reduced npm package size.197Merge after 3.3.8 releaseAndrey Sitnikbefore adoptionb00d120
lines 198–199why, one step back198## 3.3.8199Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 200–201why, one step back200- Fixed a way to break Nano ID by passing non-integer size (by @myndzi).201Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 202–203why, one step back202## 3.3.7203Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 204–205why, one step back204- Fixed `node16` TypeScript support (by Saadi Myftija).205Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 206–207why, one step back206## 3.3.6207Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 208–209why, one step back208- Fixed package.209Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 210–211why, one step back210## 3.3.5211Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 212–213why, one step back212- Backport funding information.213Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 214–215why, one step back214## 3.3.4215Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 216–217why, one step back216- Fixed `--help` in CLI (by @Lete114).217Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 218–219why, one step back218## 3.3.3219Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 220–221why, one step back220- Reduced size (by Anton Khlynovskiy).221Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 222–223why, one step back222## 3.3.2223Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 224–225why, one step back224- Fixed `enhanced-resolve` support.225Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 226–227why, one step back226## 3.3.1227Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 228–229why, one step back228- Reduced package size.229Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 230–231why, one step back230## 3.3231Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 232–233why, one step back232- Added `size` argument to function from `customAlphabet` (by Stefan Sundin).233Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 234–235why, one step back234## 3.2235Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 236–237why, one step back236- Added `--size` and `--alphabet` arguments to binary (by Vitaly Baev).237Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 238–239why, one step back238## 3.1.32239Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 240–242why, one step back240- Reduced `async` exports size (by Artyom Arutyunyan).241- Moved from Jest to uvu (by Vitaly Baev).242Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 243–244why, one step back243## 3.1.31244Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 245–246why, one step back245- Fixed collision vulnerability on object in `size` (by Artyom Arutyunyan).246Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 247–248why, one step back247## 3.1.30248Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 249–250why, one step back249- Reduced size for project with `brotli` compression (by Anton Khlynovskiy).250Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 251–252why, one step back251## 3.1.29252Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 253–254why, one step back253- Reduced npm package size.254Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 255–256why, one step back255## 3.1.28256Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 257–258why, one step back257- Reduced npm package size.258Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 259–260why, one step back259## 3.1.27260Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 261–262why, one step back261- Cleaned `dependencies` from development tools.262Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 263–264why, one step back263## 3.1.26264Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 265–267why, one step back265- Improved performance (by Eitan Har-Shoshanim).266- Reduced npm package size.267Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 268–269why, one step back268## 3.1.25269Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 270–271why, one step back270- Fixed `browserify` support.271Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 272–273why, one step back272## 3.1.24273Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 274–275why, one step back274- Fixed `browserify` support (by Artur Paikin).275Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 276–277why, one step back276## 3.1.23277Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 278–279why, one step back278- Fixed `esbuild` support.279Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 280–281why, one step back280## 3.1.22281Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 282–283why, one step back282- Added `default` and `browser.default` to `package.exports`.283Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 284–285why, one step back284## 3.1.21285Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 286–287why, one step back286- Reduced npm package size.287Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 288–289why, one step back288## 3.1.20289Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 290–291why, one step back290- Fix ES modules support.291Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 292–293why, one step back292## 3.1.19293Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 294–295why, one step back294- Reduced `customAlphabet` size (by Enrico Scherlies).295Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 296–297why, one step back296## 3.1.18297Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 298–299why, one step back298- Fixed `package.exports`.299Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 300–301why, one step back300## 3.1.17301Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 302–303why, one step back302- Added files without `process`.303Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 304–305why, one step back304## 3.1.16305Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 306–307why, one step back306- Speeded up Nano ID 4 times (by Peter Boyer).307Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 308–309why, one step back308## 3.1.15309Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 310–311why, one step back310- Fixed `package.types` path.311Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 312–313why, one step back312## 3.1.14313Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 314–315why, one step back314- Added `package.types`.315Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 316–317why, one step back316## 3.1.13317Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 318–319why, one step back318- Removed Node.js 15.0.0 with `randomFillSync` regression from `engines.node`.319Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 320–321why, one step back320## 3.1.12321Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 322–323why, one step back322- Improved IE 11 docs.323Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 324–325why, one step back324## 3.1.11325Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 326–327why, one step back326- Fixed asynchronous `customAlphabet` in browser (by @LoneRifle).327Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 328–329why, one step back328## 3.1.10329Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 330–331why, one step back330- Fix ES modules support.331Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 332–333why, one step back332## 3.1.9333Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 334–335why, one step back334- Try to fix React Native Expo support.335Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 336–337why, one step back336## 3.1.8337Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 338–339why, one step back338- Add React Native Expo support.339Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 340–341why, one step back340## 3.1.7341Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 342–343why, one step back342- Clean up code.343Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 344–345why, one step back344## 3.1.6345Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 346–347why, one step back346- Avoid `self` using.347Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 348–349why, one step back348## 3.1.5349Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 350–351why, one step back350- Improve IE docs and warning.351Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 352–353why, one step back352## 3.1.4353Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 354–355why, one step back354- Restrict old Node.js 13 by `engines.node` (by Cansin Yildiz).355Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 356–357why, one step back356## 3.1.3357Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 358–359why, one step back358- Fix ES modules issue with CLI.359Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 360–361why, one step back360## 3.1.2361Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 362–363why, one step back362- Add shebang to CLI.363Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 364–365why, one step back364## 3.1.1365Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 366–367why, one step back366- Fix CLI.367Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 368–369why, one step back368## 3.1369Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 370–371why, one step back370- Add `npx nanoid` CLI.371Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 372–373why, one step back372## 3.0.2373Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 374–375why, one step back374- Fix docs (by Dylan Irlbeck ).375Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 376–377why, one step back376## 3.0.1377Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 378–379why, one step back378- Fix React Native warning on `non-secure` import (by Jia Huang).379Update size limitAndrey Sitnikbefore adoptioncdc3edc
line 380why, one step back380## 3.0Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
line 381why, one step back381Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 382–383why, one step back382**Migration guide:** <https://github.com/ai/nanoid/releases/tag/3.0.0>383Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 384–397why, one step back384- Move to ES2016 syntax. You need to use Babel for IE 11.385- Move to named exports `import { nanoid } from 'nanoid'`.386- Move `import url from 'nanoid/url'` to `import { urlAlphabet } from 'nanoid'`.387- Replace `format()` to `customRandom()`.388- Replace `generate()` to `customAlphabet()`.389- Remove `async/format`.390- Remove React Native support for `nanoid/async`.391- Add `nanoid.js` to use directly in browser from CDN.392- Add TypeScript type definitions.393- Add ES modules support for bundlers, Node.js, and React Native.394- Fix React Native support.395- Reduce size.396- Improve docs (by Dair Aidarkhanov).397Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 398–399why, one step back398## 2.1.11399Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 400–401why, one step back400- Reduce size (by Anton Evzhakov).401Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 402–403why, one step back402## 2.1.10403Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 404–405why, one step back404- Reduce size by 10% (by Anton Khlynovskiy).405Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 406–407why, one step back406## 2.1.9407Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 408–409why, one step back408- Reduce `format` and `async/format` size (by Dair Aidarkhanov).409Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 410–411why, one step back410## 2.1.8411Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 412–413why, one step back412- Improve React docs (by Nahum Zsilva).413Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 414–415why, one step back414## 2.1.7415Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 416–417why, one step back416- Reduce `index`, `async` and `non-secure` size (by @polemius).417Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 418–419why, one step back418## 2.1.6419Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 420–422why, one step back420- Reduce size (by Stas Lashmanov).421- Return fast mask for Node.js.422Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 423–424why, one step back423## 2.1.5424Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 425–427why, one step back425- Reduce size (by Max Graey).426- Fix IE support.427Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 428–429why, one step back428## 2.1.4429Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 430–435why, one step back430- Reduce `generate` size (by Vsevolod Rodionov).431- Reduce `format` and `format` size (by Victor).432- Reduce `async`, `non-secure` and `non-secure/generate` size.433- Speed up `format` and `async/format` (by Max Graey).434- Improve development process on Windows (by Stanislav Lashmanov).435Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 436–437why, one step back436## 2.1.3437Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 438–440why, one step back438- Improve performance (by Stephen Richardson).439- Reduce size (by Stephen Richardson).440Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 441–442why, one step back441## 2.1.2442Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 443–444why, one step back443- Improve docs.444Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 445–446why, one step back445## 2.1.1446Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 447–448why, one step back447- Fix React Native support (by Shawn Hwei).448Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 449–450why, one step back449## 2.1450Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 451–452why, one step back451- Improve React Native support (by Sebastian Werner).452Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 453–454why, one step back453## 2.0.4454Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 455–456why, one step back455- Improve error text for React Native (by Sebastian Werner).456Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 457–458why, one step back457## 2.0.3458Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 459–460why, one step back459- Fix freeze on string in ID length.460Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 461–462why, one step back461## 2.0.2462Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 463–464why, one step back463- Improve docs (by Sylvanus Kateile and Mark Stosberg).464Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 465–466why, one step back465## 2.0.1466Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 467–469why, one step back467- Reduce npm package size.468- Mark package as not having side effects (by @xiaody).469Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 470–471why, one step back470## 2.0471Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 472–474why, one step back472- Use `-` instead of `~` in default alphabet to by file name safe.473- Add `nanoid/non-secure/generate`.474Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 475–476why, one step back475## 1.3.4476Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 477–479why, one step back477- Reduce `non-secure` size.478- Add `async` callback type check.479Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 480–481why, one step back480## 1.3.3481Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 482–484why, one step back482- Fix `nanoid/async` performance regression.483- Fix old Node.js `not seeded` issue in synchronous version too.484Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 485–486why, one step back485## 1.3.2486Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 487–488why, one step back487- Fix random generator `not seeded` issue of old Node.js.488Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 489–490why, one step back489## 1.3.1490Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 491–492why, one step back491- Reduce library size.492Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 493–494why, one step back493## 1.3494Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 495–499why, one step back495- Add `nanoid/async/format` and `nanoid/async/generate`.496- Improve synchronous API performance.497- Reduce `url` size (by Daniil Poroshin).498- Improve React Native docs (by joelgetaction).499Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 500–501why, one step back500## 1.2.6501Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 502–503why, one step back502- Reduce library size (by rqrqrqrq).503Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 504–505why, one step back504## 1.2.5505Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 506–507why, one step back506- Fix Node.js 6.11.1 support (by Andrey Belym).507Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 508–509why, one step back508## 1.2.4509Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 510–511why, one step back510- Speed up Node.js secure generators (by Dmitriy Tsvettsikh).511Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 512–513why, one step back512## 1.2.3513Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 514–515why, one step back514- Fix JSDoc (by Hendry Sadrak).515Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 516–517why, one step back516## 1.2.2517Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 518–519why, one step back518- Fix distribution in `nanoid/non-secure` (by Eatall).519Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 520–521why, one step back520## 1.2.1521Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 522–523why, one step back522- Fix old Node.js support.523Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 524–525why, one step back524## 1.2525Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 526–530why, one step back526- Add `nanoid/async`.527- Fix `nanoid/non-secure` JSDoc.528- Add Chinese documentation (by Wenliang Dai).529- Speed up and reduce size of `nanoid/non-secure` (by Ori Livni).530Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 531–532why, one step back531## 1.1.1532Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 533–534why, one step back533- Improve performance and reduce size of non-secure ID generator.534Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 535–536why, one step back535## 1.1536Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 537–540why, one step back537- Add non-secure ID generator.538- Suggest to use non-secure ID generator for React Native developers.539- Reduce size.540Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 541–542why, one step back541## 1.0.7542Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 543–544why, one step back543- Fix documentation.544Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 545–546why, one step back545## 1.0.6546Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 547–548why, one step back547- Fix documentation.548Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 549–550why, one step back549## 1.0.5550Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 551–552why, one step back551- Reduce `nanoid/index` size (by Anton Khlynovskiy).552Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 553–554why, one step back553## 1.0.4554Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 555–556why, one step back555- Reduce npm package size.556Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 557–558why, one step back557## 1.0.3558Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 559–560why, one step back559- Reduce npm package size.560Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 561–562why, one step back561## 1.0.2562Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 563–564why, one step back563- Fix Web Workers support (by Zachary Golba).564Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 565–566why, one step back565## 1.0.1566Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 567–568why, one step back567- Reduce `nanoid/index` size (by Anton Khlynovskiy).568Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 569–570why, one step back569## 1.0570Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 571–572why, one step back571- Use 21 symbols by default (by David Klebanoff).572Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 573–574why, one step back573## 0.2.2574Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 575–577why, one step back575- Reduce `nanoid/generate` size (by Anton Khlynovskiy).576- Speed up Node.js random generator.577Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 578–579why, one step back578## 0.2.1579Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 580–581why, one step back580- Fix documentation (by Piper Chester).581Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 582–583why, one step back582## 0.2583Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 584–587why, one step back584- Add `size` argument to `nanoid()`.585- Improve performance by 50%.586- Reduce library size by 26% (by Vsevolod Rodionov and Oleg Mokhov).587Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 588–589why, one step back588## 0.1.1589Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 590–591why, one step back590- Reduce library size by 5%.591Update size limitAndrey Sitnikbefore adoptioncdc3edc
line 592why, one step back592## 0.1Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85
lines 593–594why, one step back593594- Initial release.