forked from mozilla/node-convict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
256 lines (205 loc) · 9.21 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
1.4.0 / 2016-XX-XX
==================
* Add new reset method (Marc-Aurèle Darche @madarche)
1.3.0 / 2016-04-07
==================
* Replace cjson with json5 (@ratson)
* Fix missing npm-shrinkwrap.json file in published NPM module
1.2.0 / 2016-04-01
==================
* Support for built-in formats in schema files #138 (Hem Brahmbhatt @damnhipster)
* Improve stability and security: Use shrinkwrap to lock module dependencies #139 (Marc-Aurèle Darche @madarche)
* devDeps: [email protected] to stay in sync
* devDeps: [email protected] to stay in sync
1.1.3 / 2016-03-18
==================
* Fix Null default with custom validator causes json parse error #122 (@RoboPhred)
* Documentation improvement (Brian Vanderbusch @LongLiveCHIEF)
* Deps: [email protected] to stay in sync
* devDeps: [email protected] to stay in sync
* devDeps: [email protected] to stay in sync
* devDeps: [email protected] to stay in sync
1.1.2 / 2016-02-12
==================
* Documentation and management script fixes; no code changes.
1.1.1 / 2016-02-05
==================
* Deps: [email protected] to fix
https://nodesecurity.io/advisories/moment_regular-expression-denial-of-service
* Deps: [email protected] to stay in sync
1.1.0 / 2016-02-02
==================
* Fix loading consecutive files could cause an error to be thrown #111
(Abdullah Ali @voodooattack)
* Coerce values loaded from a file #96 (Jens Olsson @jsol)
* Improvement: Pass instance to coerce #109 (Abdullah Ali @voodooattack)
* Fix missing return in validate reducer #101 (Kris Reeves @myndzi)
* Deps: moment
* Deps: validator
* Switch back from Blanket to Istanbul for test coverage (Marc-Aurèle Darche @madarche)
* Stricter JSLint linting (Marc-Aurèle Darche @madarche)
* Improve documentation (Olivier Lalonde @olalonde, Marc-Aurèle Darche @madarche)
1.0.2 / 2015-12-09
==================
* Merge pull request [#97](https://github.com/mozilla/node-convict/issues/97) from yoz/cjson-0.3.2
Update cjson dependency to 0.3.2
* Update cjson dependency to 0.3.2
This removes the transitive dependency on 'jsonlint' (in favor of json-parse-helpfulerror), which avoids its problems with unstated depdendencies on 'file' and 'system'.
* Coerce values loaded from a file
Previously values were coerced if added through
set(), command line arguments or env arguments.
Added the schema to the recursive overlay function
so that values added through load() and loadFile()
are also coerced.
Corrected a test to reflect this.
* Deps: update all
* Switch from JSHint to ESLint
1.0.1 / 2015-08-11
==================
* Merge pull request [#87](https://github.com/mozilla/node-convict/issues/87) from mozilla/rfk/duration-integer-string
Accept integer millisecond durations in string form, e.g. from env vars.
* Accept integer millisecond durations in string form, e.g. from env vars.
1.0.0 / 2015-08-01
==================
* Merge pull request [#85](https://github.com/mozilla/node-convict/issues/85) from madarche/feat-1.0
v1.0.0 and remove old deprecated formats ipv4 and ipv6
* Better wording for validate options
* Consistency using periods
* Improve feature description again
* Improved features description
* Better config.validate([options]) doc + beautify
* Update dependencies
* Merge branch 'feat-update-dependencies' into feat-1.0
* v1.0.0 Remove old deprecated formats ipv4 and ipv6
* 0.8.2
0.8.2 / 2015-07-20
==================
* Merge pull request [#84](https://github.com/mozilla/node-convict/issues/84) from madarche/feat-update-deps
Update dependencies
* Update dependencies
0.8.1 / 2015-07-20
==================
* 0.8.1
* Merge pull request [#82](https://github.com/mozilla/node-convict/issues/82) from myndzi/fix-license
Update package.json 'license' key format
* Merge pull request [#83](https://github.com/mozilla/node-convict/issues/83) from madarche/feat-get-properties
Document and test properties and schema export
* Document and test properties and schema export
This modification also renames the previously undocumented and untested
following methods:
* root→getProperties and
* toSchemaString→getSchemaString
The renaming was done for clearer intent and consistency in naming. The
previous method names are still supported but deprecated.
* Update package.json 'license' key format
* Merge pull request [#80](https://github.com/mozilla/node-convict/issues/80) from madarche/fix-nested-schema-doc
Document nested settings in schema
* Merge pull request [#79](https://github.com/mozilla/node-convict/issues/79) from madarche/fix-doc
Document new strict validation mode
* Document nested settings in schema
Fixes [#78](https://github.com/mozilla/node-convict/issues/78)
* Document new strict validation mode
Fixes [#75](https://github.com/mozilla/node-convict/issues/75)
* Merge pull request [#77](https://github.com/mozilla/node-convict/issues/77) from madarche/fix-test_coverage
Fix test coverage
* Fix test coverage
The rationale in this change is to put logic as less as possible in
.travis.yml since it's not testable on developers' system.
* Merge pull request [#76](https://github.com/mozilla/node-convict/issues/76) from madarche/feat-update_dependencies
Update dependencies
* Merge pull request [#74](https://github.com/mozilla/node-convict/issues/74) from mmerkes/master
Fixes [#73](https://github.com/mozilla/node-convict/issues/73), removes validator.check from README.md and adds valid form…
* Update dependencies
* Adds convict.addFormat() to validation section of README and tidies up section
* Fixes [#73](https://github.com/mozilla/node-convict/issues/73), removes validator.check from README.md and adds valid format checker
0.8.0 / 2015-05-31
==================
* Merge pull request [#64](https://github.com/mozilla/node-convict/issues/64) from umar-muneer/master
Strict Validation Mode Added
* Merge pull request [#72](https://github.com/mozilla/node-convict/issues/72) from pdehaan/patch-2
Fix typos in README
* Fix typos in README
0.7.0 / 2015-04-29
==================
* Merge pull request [#66](https://github.com/mozilla/node-convict/issues/66) from collinwat/add-format-overload
addFormat supports object arguments as well as function arguments
* Merge pull request [#70](https://github.com/mozilla/node-convict/issues/70) from madarche/fix-update-deps
Update dependencies and removed `should` replaced
* Merge pull request [#69](https://github.com/mozilla/node-convict/issues/69) from madarche/feat-new-nodejs-0.12
Make CI test Node.js 0.12, the new stable
* Update dependencies and removed `should` replaced
`should` has been replaced by `js-must`.
* Make CI test Node.js 0.12, the new stable
* Merge pull request [#61](https://github.com/mozilla/node-convict/issues/61) from ronjouch/browserifyTransformVarify
Add 'varify' browserify transform to support IE9,10
* Add format supports object arguments as well as function arguments
* Merge pull request [#62](https://github.com/mozilla/node-convict/issues/62) from madjid04/master
Add code coverage with blanket
* Strict Validation Mode
1. Added a fix for nested validation checks.
2. Modified test case schema and config files.
* Strict Validation Mode Added
1. Added a Strict Validation mode. If set to true, any properties
specified in config files that are not declared in the schema will
result in errors. This is to ensure that the schema and the config
files are in sync. This brings convict further in line with the concept
of a “Schema”. By default the strict mode is set to false.
2. Added test cases for strict mode
* modification of the indentation
0.6.1 / 2015-01-12
==================
* Fix duration check #54
* Update dependencies #48
* Use js-must a safer test assertion library #49
0.6.0 / 2014-11-14
==================
* Update dependencies (including latest validator) #46
* Deprecate "ipv4" and "ipv6" formats
0.5.1 / 2014-10-29
==================
* Update dependencies
* Use fix versions everywhere for safe validation
* More readable date for test #43
0.5.0 / 2014-10-15
==================
* Fix npmignore anything that's not needed for production #38
* Fix The schema get modified by convict #37
* npm ignore things
* JSHint lint + 80 cols formatting #39
0.4.3 / 2014-10-13
==================
* Test the correct convict object for the undefined attribute #31
* Update moment.js to 2.6.0 #36
0.4.2 / 2014-01-12
==================
* Update cjson 0.2.1 —> 0.3.0
* Coerce 'nat' formatted values #26
* Updat canonical package.json URLs #24
* Fix 'should handle timestamp' failing test #21
* Update package.json #43
* Add license info
* Update Dependency #18
0.4.1 / 2013-10-14
==================
* Support JSON formatted objects in env
0.4.0 / 2013-07-31
==================
0.3.3 / 2013-06-18
==================
0.3.1 / 2013-06-04
==================
0.3.0 / 2013-06-03
==================
0.2.3 / 2013-05-27
==================
0.2.2 / 2013-05-25
==================
0.2.1 / 2013-05-25
==================
0.2.0 / 2013-05-23
==================
0.1.1 / 2013-05-19
===================
0.1.0 / 2013-03-05
==================
* Initial release