UNPKG

3.73 kBMarkdownView Raw
1# CHANGELOG
2
3See commit history on Github for change history
4http://github.com/marak/faker.js
5
6## v4.0.0
7
8### Dist
9- Update to latest gulp and mocha
10
11### Docs
12- `seed()` is on `faker`, not `random`
13- Add section for setting seed
14- Add Patreon campaign
15- Fix demo URL in Readme
16
17### API
18- Add dataUri method
19- Add additional https option for imageUrl
20- Add exports for `az` locality
21- Add `lorem.slug` method
22- Expose seed option to Faker class
23- Don't allow `/` in file names or paths
24- Typo in require statement
25- Add database method
26- Move password generator to core
27- Add `internet.ipv6` method
28- alphaNumeric takes now count as a argument
29- Add IBAN and BIC generator functions
30
31### Fix
32- Fix aomount and price argument dec for case = 0
33- Default shuffle value
34- Fix dec for amount in finance
35- Don't allow path seperators in generated filenames in system
36- Add lorem.slug to functional test
37- Don't throw in helpers.shuffle on empty array
38- Adds precision value to faker.random.number call
39- Fix typo in doc string
40- misspelling of 'Liaison' from faker.name.jobType()
41- Remove duplicate Congo from country.js
42- Clean up faker.commerce.department method
43- Correct spelling
44
45### Locale
46- Azerbaijani localization has been added
47- Realistic Dutch city naming components
48- Add `CZ` Czech
49
50## v3.1.0
51
52( partial change log see: https://github.com/Marak/faker.js/commits/master for full details )
53
54```
55[docs] Added JSDocs
56
57[fix] Prevent apostrophes in return value of internet#domainWords
58[Fix] Display first month as 1 not 0.
59[fix] random.uuid not using seeded number generator
60[fix] image api size check
61[fix] update bower
62[fix] implement street suffix
63[fix] hacker.phrase - generate random string for each lexical instance
64
65[api] Added safe_email method
66[api] Added method for getting random locale
67[api] Added semver method
68[api] Added parameters to fake method
69[api] Added randomness to image generation
70[api] adjust findName method to allow for gender based prefixes
71[api] [locale] Added basic support for generating UK postcodes
72[api] [locale] Added LV (Latvian) locale
73[api] [locale] Added date for Swedish locale
74[api] Added better lorem methods
75[api] Added system module
76[api] Added finance.bitcoinAddress
77```
78
79
80## v3.0.0 - v2.0.0 - Missing
81
82 See commit history on Github for change history
83 http://github.com/marak/faker.js
84
85## v2.0.0
86
87* Adds i18n internalization of fake data sets
88 - contributed by Marak
89* Reduces surface of API, removes redundant API calls
90 - contributed by Marak
91* Replaces legacy build system with GulpJS
92 - contributed by Marak
93* Replaces legacy browserifying system with Browserify
94 - contributed by Marak
95* Adds basic financial generators
96 - contributed by josefsalyer
97* Adds internet.userAgent using `random-ua` library
98 - contributed by Marak
99* Adds currency codes and symbols using `random-ua` library
100 - contributed by MQuy
101* Replaces use of Math.random in favor of `node-mersenne` package
102 - contributed by Marak
103* Adds bower support
104 - contributed by daytonn
105* avatarUrl optimization
106 - contributed by MQuy
107* Fix - Remove `this` scope
108 - contributed by goliatone
109* Fix - IE9 charAt() bug
110 - contributed by beastlike
111* Fix - faker.date now returns a Date object instead of JSON
112 - contributed by Marak
113
114##v1.1.0
115
116* Fixes random date functions that did not distribute results.
117 - contributed by pmalouin
118* Fixes context of findName
119 - contributed by juampi92
120* Updates to switch changes over to using 2 args to support min/max
121 - contributed by avanderhoorn & edshadi
122* Added ISO 3166 countries
123 - contributed by MaerF0x0
124* UMD support
125 - contirbuted by xaka
126* Uk Postal Codes
127 - contributed by schmtw
128* Undefined global object for webworker fix
129 - contributed by dnbard