Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than cdc3edc point at it.

Update size limitAndrey Sitnikbefore adoptioncdc3edc

line 1why, one step back
1# Change Log

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

line 2why, one step back
2

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 3–4why, one step back
3This project adheres to [Semantic Versioning](http://semver.org/).
4

Release 6.0.2 versionAndrey Sitnikbefore adoption3167e10

lines 5–11why, one step back
5## 6.0.2
67- 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).11

Release 6.0.1 versionAndrey Sitnikbefore adoption9247b6d

lines 12–15why, one step back
12## 6.0.1
1314- Fixed docs.15

Release 6.0.0 versionAndrey Sitnikbefore adoption4dacb10

lines 16–20why, one step back
16## 6.0.0
1718- Made `nanoid()` and `customAlphabet()` 4 times faster (by @orhanayd).19- Removed Node.js 18 and 20 support.20

Release 5.1.16 versionAndrey Sitnikbefore adoption6ccc67b

lines 21–24why, one step back
21## 5.1.16
2223- Fixed forever loop on negative size (by @spokodev).24

Release 5.1.15 versionAndrey Sitnikbefore adoption0b69554

lines 25–28why, one step back
25## 5.1.15
2627- Fixed random pool corruption on big ID sizes.28

Release 5.1.14 versionAndrey Sitnikbefore adoptione4b7a9a

lines 29–32why, one step back
29## 5.1.14
3031- Fixed npm package size regression.32

Release 5.1.13 versionAndrey Sitnikbefore adoptionb2f1cb6

lines 33–36why, one step back
33## 5.1.13
3435- Fixed npm package size regression.36

Release 5.1.12 versionAndrey Sitnikbefore adoptione5583b7

lines 37–40why, one step back
37## 5.1.12
3839- Moved to npm Provenance and Staged Publishing.40

Release 5.1.11 versionAndrey Sitnikbefore adoption5423cf5

lines 41–44why, one step back
41## 5.1.11
4243- Fixed breaking Nano ID by requesting big ID.44

Release 5.1.10 versionAndrey Sitnikbefore adoption5db09ee

lines 45–46why, one step back
45## 5.1.10
46

Backport 3.3.12 changelogAndrey Sitnikbefore adoption2183894

line 47why, one step back
47- Fixed breaking Nano ID by requesting big ID (by @alanzabihi).

Release 5.1.10 versionAndrey Sitnikbefore adoption5db09ee

line 48why, one step back
48

Release 5.1.9 versionAndrey Sitnikbefore adoptione52d946

lines 49–52why, one step back
49## 5.1.9
5051- Fixed npm package size regression.52

Release 5.1.8 version (#586)Andrey Sitnikbefore adoption11c05dc

lines 53–56why, one step back
53## 5.1.8
5455- Made `cusatomAlphabet` 75% faster (by @saripovdenis).56

Release 5.1.7 versionAndrey Sitnikbefore adoption90f047e

lines 57–58why, one step back
57## 5.1.7
58

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 59–63why, one step back
59- 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).63

Release 5.1.6 versionAndrey Sitnikbefore adoptionc6532db

lines 64–65why, one step back
64## 5.1.6
65

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 66–67why, one step back
66- Fixed infinite loop on 0 size for `customAlphabet`.
67

Release 5.1.5 versionAndrey Sitnikbefore adoption5b1220d

lines 68–69why, one step back
68## 5.1.5
69

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 70–71why, one step back
70- Fixed latest version on npm after 3.x release.
71

Release 5.1.4 versionAndrey Sitnikbefore adoption523a74e

lines 72–73why, one step back
72## 5.1.4
73

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 74–75why, one step back
74- Fixed latest version on npm after 3.x release.
75

Release 5.1.3 versionAndrey Sitnikbefore adoption32bc9bf

lines 76–77why, one step back
76## 5.1.3
77

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 78–79why, one step back
78- Fixed React Native support (by @steida).
79

Release 5.1.2 versionAndrey Sitnikbefore adoption4c1e6b0

lines 80–81why, one step back
80## 5.1.2
81

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 82–83why, one step back
82- Fixed module docs.
83

Release 5.1.1 versionAndrey Sitnikbefore adoptionb66602e

lines 84–85why, one step back
84## 5.1.1
85

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 86–88why, one step back
86- Fixed opaque types support for non-secure generator.
87- Added JSR support.88

Release 5.1.0 versionAndrey Sitnikbefore adoptione0f79c9

lines 89–90why, one step back
89## 5.1.0
90

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 91–92why, one step back
91- Added opaque types support (by @kossnocorp).
92

Release 5.0.9 versionAndrey Sitnikbefore adoption65a38ac

lines 93–94why, one step back
93## 5.0.9
94

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 95–96why, one step back
95- Fixed a way to break Nano ID by passing non-integer size (by @myndzi).
96

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 97–98why, one step back
97## 5.0.8
98

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 99–100why, one step back
99- Reduced `customAlphabet` size (by @kirillgroshkov).
100

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 101–102why, one step back
101## 5.0.7
102

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 103–104why, one step back
103- Fixed Parcel support (by @WilhelmYakunin).
104

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 105–106why, one step back
105## 5.0.6
106

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 107–108why, one step back
107- Fixed React Native support.
108

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 109–110why, one step back
109## 5.0.5
110

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 111–112why, one step back
111- Make browser’s version faster by increasing size a little (by Samuel Elgozi).
112

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 113–114why, one step back
113## 5.0.4
114

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 115–116why, one step back
115- Fixed CLI docs (by @ilyaboka).
116

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 117–118why, one step back
117## 5.0.3
118

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 119–120why, one step back
119- Fixed CLI docs (by Chris Schmich).
120

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 121–122why, one step back
121## 5.0.2
122

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 123–124why, one step back
123- Fixed `webcrypto` import (by Divyansh Singh).
124

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 125–126why, one step back
125## 5.0.1
126

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 127–128why, one step back
127- Fixed Node.js 18 support.
128

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 129–130why, one step back
129## 5.0
130

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 131–134why, one step back
131- 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.134

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 135–136why, one step back
135## 4.0.2
136

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 137–138why, one step back
137- Added [link](https://github.com/sponsors/ai) to Github Sponsors.
138

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 139–140why, one step back
139## 4.0.1
140

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 141–142why, one step back
141- Reduced npm package size (by @HiChen404).
142

Update size limitAndrey Sitnikbefore adoptioncdc3edc

line 143why, one step back
143## 4.0

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 144–145why, one step back
144
145- Removed CommonJS support. Nano ID 4 will work only with ESM applications.

Update size limitAndrey Sitnikbefore adoptioncdc3edc

line 146why, one step back
146 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 back
147- 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 back
149

Backport changelog changes from v3Andrey Sitnikbefore adoption5a33c04

lines 150–153why, one step back
150## 3.3.20
151152- Fixed types (by @johnemau).153

Backport v3 changesAndrey Sitnikbefore adoption056d1f0

lines 154–161why, one step back
154## 3.3.19
155156- 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).161

Backport release in ChangeLogAndrey Sitnikbefore adoption2ea9d64

lines 162–165why, one step back
162## 3.3.17
163164- Fixed infinite loop on zero size.165

Backport 3.x changesAndrey Sitnikbefore adoptionabe8796

lines 166–173why, one step back
166## 3.3.16
167168- Fixed infinite loop on negative size (by @greymoth-jp).169170## 3.3.15171172- Fixed npm provenance error.173

Backport changelog changes for 3.xAndrey Sitnikbefore adoption333c5a0

lines 174–177why, one step back
174## 3.3.14
175176- Fixed random pool corruption on big ID sizes.177

Copy changes from v3 branchAndrey Sitnikbefore adoptiona55f2d0

lines 178–181why, one step back
178## 3.3.13
179180- Reduced npm package size.181

Backport 3.3.12 changelogAndrey Sitnikbefore adoption2183894

lines 182–184why, one step back
182## 3.3.12
183184- Fixed breaking Nano ID by requesting big ID.

Update size limitAndrey Sitnikbefore adoptioncdc3edc

line 185why, one step back
185

Backport changes from 3.xAndrey Sitnikbefore adoptione62fd22

lines 186–187why, one step back
186## 3.3.11
187

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 188–189why, one step back
188- Fixed React Native support.
189

Backport Changelog changes from v3Andrey Sitnikbefore adoption7772155

lines 190–191why, one step back
190## 3.3.10
191

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 192–193why, one step back
192- Fixed React Native support (by @steida).
193

Add 3.x release noteAndrey Sitnikbefore adoptionfdf72e9

lines 194–195why, one step back
194## 3.3.9
195

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 196–197why, one step back
196- Reduced npm package size.
197

Merge after 3.3.8 releaseAndrey Sitnikbefore adoptionb00d120

lines 198–199why, one step back
198## 3.3.8
199

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 200–201why, one step back
200- Fixed a way to break Nano ID by passing non-integer size (by @myndzi).
201

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 202–203why, one step back
202## 3.3.7
203

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 204–205why, one step back
204- Fixed `node16` TypeScript support (by Saadi Myftija).
205

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 206–207why, one step back
206## 3.3.6
207

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 208–209why, one step back
208- Fixed package.
209

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 210–211why, one step back
210## 3.3.5
211

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 212–213why, one step back
212- Backport funding information.
213

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 214–215why, one step back
214## 3.3.4
215

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 216–217why, one step back
216- Fixed `--help` in CLI (by @Lete114).
217

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 218–219why, one step back
218## 3.3.3
219

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 220–221why, one step back
220- Reduced size (by Anton Khlynovskiy).
221

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 222–223why, one step back
222## 3.3.2
223

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 224–225why, one step back
224- Fixed `enhanced-resolve` support.
225

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 226–227why, one step back
226## 3.3.1
227

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 228–229why, one step back
228- Reduced package size.
229

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 230–231why, one step back
230## 3.3
231

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 232–233why, one step back
232- Added `size` argument to function from `customAlphabet` (by Stefan Sundin).
233

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 234–235why, one step back
234## 3.2
235

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 236–237why, one step back
236- Added `--size` and `--alphabet` arguments to binary (by Vitaly Baev).
237

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 238–239why, one step back
238## 3.1.32
239

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 240–242why, one step back
240- Reduced `async` exports size (by Artyom Arutyunyan).
241- Moved from Jest to uvu (by Vitaly Baev).242

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 243–244why, one step back
243## 3.1.31
244

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 245–246why, one step back
245- Fixed collision vulnerability on object in `size` (by Artyom Arutyunyan).
246

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 247–248why, one step back
247## 3.1.30
248

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 249–250why, one step back
249- Reduced size for project with `brotli` compression (by Anton Khlynovskiy).
250

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 251–252why, one step back
251## 3.1.29
252

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 253–254why, one step back
253- Reduced npm package size.
254

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 255–256why, one step back
255## 3.1.28
256

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 257–258why, one step back
257- Reduced npm package size.
258

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 259–260why, one step back
259## 3.1.27
260

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 261–262why, one step back
261- Cleaned `dependencies` from development tools.
262

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 263–264why, one step back
263## 3.1.26
264

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 265–267why, one step back
265- Improved performance (by Eitan Har-Shoshanim).
266- Reduced npm package size.267

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 268–269why, one step back
268## 3.1.25
269

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 270–271why, one step back
270- Fixed `browserify` support.
271

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 272–273why, one step back
272## 3.1.24
273

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 274–275why, one step back
274- Fixed `browserify` support (by Artur Paikin).
275

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 276–277why, one step back
276## 3.1.23
277

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 278–279why, one step back
278- Fixed `esbuild` support.
279

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 280–281why, one step back
280## 3.1.22
281

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 282–283why, one step back
282- Added `default` and `browser.default` to `package.exports`.
283

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 284–285why, one step back
284## 3.1.21
285

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 286–287why, one step back
286- Reduced npm package size.
287

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 288–289why, one step back
288## 3.1.20
289

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 290–291why, one step back
290- Fix ES modules support.
291

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 292–293why, one step back
292## 3.1.19
293

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 294–295why, one step back
294- Reduced `customAlphabet` size (by Enrico Scherlies).
295

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 296–297why, one step back
296## 3.1.18
297

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 298–299why, one step back
298- Fixed `package.exports`.
299

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 300–301why, one step back
300## 3.1.17
301

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 302–303why, one step back
302- Added files without `process`.
303

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 304–305why, one step back
304## 3.1.16
305

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 306–307why, one step back
306- Speeded up Nano ID 4 times (by Peter Boyer).
307

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 308–309why, one step back
308## 3.1.15
309

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 310–311why, one step back
310- Fixed `package.types` path.
311

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 312–313why, one step back
312## 3.1.14
313

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 314–315why, one step back
314- Added `package.types`.
315

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 316–317why, one step back
316## 3.1.13
317

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 318–319why, one step back
318- Removed Node.js 15.0.0 with `randomFillSync` regression from `engines.node`.
319

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 320–321why, one step back
320## 3.1.12
321

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 322–323why, one step back
322- Improved IE 11 docs.
323

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 324–325why, one step back
324## 3.1.11
325

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 326–327why, one step back
326- Fixed asynchronous `customAlphabet` in browser (by @LoneRifle).
327

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 328–329why, one step back
328## 3.1.10
329

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 330–331why, one step back
330- Fix ES modules support.
331

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 332–333why, one step back
332## 3.1.9
333

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 334–335why, one step back
334- Try to fix React Native Expo support.
335

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 336–337why, one step back
336## 3.1.8
337

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 338–339why, one step back
338- Add React Native Expo support.
339

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 340–341why, one step back
340## 3.1.7
341

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 342–343why, one step back
342- Clean up code.
343

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 344–345why, one step back
344## 3.1.6
345

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 346–347why, one step back
346- Avoid `self` using.
347

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 348–349why, one step back
348## 3.1.5
349

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 350–351why, one step back
350- Improve IE docs and warning.
351

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 352–353why, one step back
352## 3.1.4
353

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 354–355why, one step back
354- Restrict old Node.js 13 by `engines.node` (by Cansin Yildiz).
355

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 356–357why, one step back
356## 3.1.3
357

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 358–359why, one step back
358- Fix ES modules issue with CLI.
359

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 360–361why, one step back
360## 3.1.2
361

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 362–363why, one step back
362- Add shebang to CLI.
363

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 364–365why, one step back
364## 3.1.1
365

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 366–367why, one step back
366- Fix CLI.
367

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 368–369why, one step back
368## 3.1
369

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 370–371why, one step back
370- Add `npx nanoid` CLI.
371

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 372–373why, one step back
372## 3.0.2
373

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 374–375why, one step back
374- Fix docs (by Dylan Irlbeck ).
375

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 376–377why, one step back
376## 3.0.1
377

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 378–379why, one step back
378- Fix React Native warning on `non-secure` import (by Jia Huang).
379

Update size limitAndrey Sitnikbefore adoptioncdc3edc

line 380why, one step back
380## 3.0

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

line 381why, one step back
381

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 382–383why, one step back
382**Migration guide:** <https://github.com/ai/nanoid/releases/tag/3.0.0>
383

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 384–397why, one step back
384- 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).397

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 398–399why, one step back
398## 2.1.11
399

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 400–401why, one step back
400- Reduce size (by Anton Evzhakov).
401

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 402–403why, one step back
402## 2.1.10
403

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 404–405why, one step back
404- Reduce size by 10% (by Anton Khlynovskiy).
405

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 406–407why, one step back
406## 2.1.9
407

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 408–409why, one step back
408- Reduce `format` and `async/format` size (by Dair Aidarkhanov).
409

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 410–411why, one step back
410## 2.1.8
411

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 412–413why, one step back
412- Improve React docs (by Nahum Zsilva).
413

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 414–415why, one step back
414## 2.1.7
415

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 416–417why, one step back
416- Reduce `index`, `async` and `non-secure` size (by @polemius).
417

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 418–419why, one step back
418## 2.1.6
419

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 420–422why, one step back
420- Reduce size (by Stas Lashmanov).
421- Return fast mask for Node.js.422

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 423–424why, one step back
423## 2.1.5
424

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 425–427why, one step back
425- Reduce size (by Max Graey).
426- Fix IE support.427

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 428–429why, one step back
428## 2.1.4
429

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 430–435why, one step back
430- 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).435

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 436–437why, one step back
436## 2.1.3
437

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 438–440why, one step back
438- Improve performance (by Stephen Richardson).
439- Reduce size (by Stephen Richardson).440

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 441–442why, one step back
441## 2.1.2
442

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 443–444why, one step back
443- Improve docs.
444

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 445–446why, one step back
445## 2.1.1
446

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 447–448why, one step back
447- Fix React Native support (by Shawn Hwei).
448

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 449–450why, one step back
449## 2.1
450

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 451–452why, one step back
451- Improve React Native support (by Sebastian Werner).
452

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 453–454why, one step back
453## 2.0.4
454

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 455–456why, one step back
455- Improve error text for React Native (by Sebastian Werner).
456

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 457–458why, one step back
457## 2.0.3
458

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 459–460why, one step back
459- Fix freeze on string in ID length.
460

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 461–462why, one step back
461## 2.0.2
462

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 463–464why, one step back
463- Improve docs (by Sylvanus Kateile and Mark Stosberg).
464

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 465–466why, one step back
465## 2.0.1
466

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 467–469why, one step back
467- Reduce npm package size.
468- Mark package as not having side effects (by @xiaody).469

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 470–471why, one step back
470## 2.0
471

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 472–474why, one step back
472- Use `-` instead of `~` in default alphabet to by file name safe.
473- Add `nanoid/non-secure/generate`.474

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 475–476why, one step back
475## 1.3.4
476

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 477–479why, one step back
477- Reduce `non-secure` size.
478- Add `async` callback type check.479

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 480–481why, one step back
480## 1.3.3
481

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 482–484why, one step back
482- Fix `nanoid/async` performance regression.
483- Fix old Node.js `not seeded` issue in synchronous version too.484

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 485–486why, one step back
485## 1.3.2
486

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 487–488why, one step back
487- Fix random generator `not seeded` issue of old Node.js.
488

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 489–490why, one step back
489## 1.3.1
490

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 491–492why, one step back
491- Reduce library size.
492

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 493–494why, one step back
493## 1.3
494

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 495–499why, one step back
495- 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).499

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 500–501why, one step back
500## 1.2.6
501

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 502–503why, one step back
502- Reduce library size (by rqrqrqrq).
503

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 504–505why, one step back
504## 1.2.5
505

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 506–507why, one step back
506- Fix Node.js 6.11.1 support (by Andrey Belym).
507

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 508–509why, one step back
508## 1.2.4
509

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 510–511why, one step back
510- Speed up Node.js secure generators (by Dmitriy Tsvettsikh).
511

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 512–513why, one step back
512## 1.2.3
513

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 514–515why, one step back
514- Fix JSDoc (by Hendry Sadrak).
515

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 516–517why, one step back
516## 1.2.2
517

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 518–519why, one step back
518- Fix distribution in `nanoid/non-secure` (by Eatall).
519

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 520–521why, one step back
520## 1.2.1
521

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 522–523why, one step back
522- Fix old Node.js support.
523

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 524–525why, one step back
524## 1.2
525

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 526–530why, one step back
526- 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).530

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 531–532why, one step back
531## 1.1.1
532

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 533–534why, one step back
533- Improve performance and reduce size of non-secure ID generator.
534

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 535–536why, one step back
535## 1.1
536

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 537–540why, one step back
537- Add non-secure ID generator.
538- Suggest to use non-secure ID generator for React Native developers.539- Reduce size.540

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 541–542why, one step back
541## 1.0.7
542

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 543–544why, one step back
543- Fix documentation.
544

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 545–546why, one step back
545## 1.0.6
546

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 547–548why, one step back
547- Fix documentation.
548

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 549–550why, one step back
549## 1.0.5
550

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 551–552why, one step back
551- Reduce `nanoid/index` size (by Anton Khlynovskiy).
552

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 553–554why, one step back
553## 1.0.4
554

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 555–556why, one step back
555- Reduce npm package size.
556

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 557–558why, one step back
557## 1.0.3
558

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 559–560why, one step back
559- Reduce npm package size.
560

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 561–562why, one step back
561## 1.0.2
562

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 563–564why, one step back
563- Fix Web Workers support (by Zachary Golba).
564

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 565–566why, one step back
565## 1.0.1
566

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 567–568why, one step back
567- Reduce `nanoid/index` size (by Anton Khlynovskiy).
568

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 569–570why, one step back
569## 1.0
570

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 571–572why, one step back
571- Use 21 symbols by default (by David Klebanoff).
572

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 573–574why, one step back
573## 0.2.2
574

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 575–577why, one step back
575- Reduce `nanoid/generate` size (by Anton Khlynovskiy).
576- Speed up Node.js random generator.577

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 578–579why, one step back
578## 0.2.1
579

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 580–581why, one step back
580- Fix documentation (by Piper Chester).
581

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 582–583why, one step back
582## 0.2
583

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 584–587why, one step back
584- Add `size` argument to `nanoid()`.
585- Improve performance by 50%.586- Reduce library size by 26% (by Vsevolod Rodionov and Oleg Mokhov).587

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 588–589why, one step back
588## 0.1.1
589

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 590–591why, one step back
590- Reduce library size by 5%.
591

Update size limitAndrey Sitnikbefore adoptioncdc3edc

line 592why, one step back
592## 0.1

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 593–594why, one step back
593
594- Initial release.