forked from json-schema-form/angular-schema-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
270 lines (230 loc) · 10.3 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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
v0.8.12
-------
* Bugfix for `condition` builder. It had a typo that broke it.
* Bugfix for `transclusion` builder.
v0.8.11
-------
* Bugfix for checkboxes validation in the new builder.
v0.8.10
-------
* Bugfix for checkboxes when model array is undefined.
v0.8.9
------
* Bugfix for radios and radios-inline. Validation should now work.
* Bugfix so model changes from outside the form trigger validation.
* New global option `pristine`. Sets if errors and success states
should be visible when form field are `$pristine`. Default is `{errors: true, success: true}`
v0.8.8
------
* Don't rely on documentFragment.children @davidlgj
* Restored "template" type support with the builder. @davidlgj
* Fixed defaults in array items. @davidlgj
v0.8.7
------
* Moved common builder functions from angular-schema-form-bootstrap decorator. @davidlgj
* Bugfx for the new builder. @davidlgj
v0.8.6
------
* Removed left over console.timeEnd @davidlgj
v0.8.5
------
* UMD wrapping for bootstrap-decorator, thanks @angelaharalson
* label instead of h3 in array title, whic is more consistent. Thanks @prettymuchbryce
* doc typos, thanks @zerofifteen
* multipleOf validation message fix, thanks @leipert
* infinite digest bugfix, thanks @israelshirk
* minLength validation message bugfix, thanks @iamdarrenhall
* bugfix for Angular 1.2 and arrays watching, thanks @davidlgj
v0.8.4
------
* Reverted `trackBy`. Fixes #458, #462, #471
v0.8.3
------
* "destroyStrategy" support, thanks @jbsaff! This means that `condition` can now remove values
from the model when their fields are hidden.
* Bugfix for global option propagation, thanks @golfmat1
* `notitle` now works on fieldset as well, thanks @stramel
* `trackBy` on selects, thanks @Fridus
* update list variable when watching for array changes, thanks @lukebennet
* doc changes for the "save to gist" feature, thanks @niklasb
* validation error message mixups, thanks @leipert
* ObjectPath, deps and browserify fixes, thanks @saller, @LoicMahieu, @thardyman, @davidlgj
v0.8.2
-------
* Fix embarrassing typo in package.json
v0.8.1
------
* Fixed order of error messages, thanks @davidlgj
* Added `modelValue` to variables available in a condition, thanks @dben
* UMD wrapping, thanks @dwikle
* disableErrorState, disableSuccessState options, thanks @domasx2
* Awesome gist integration to example page, thanks @dervisevic
* Global option to disable tv4 validation, thanks @maff
* Option: labelHtmlClass, thanks @AlexAlbala
* Doc fixes and updates, thanks @Minisai, @jdcaballerov, @cjroth, @dervisevic
* Bugfixes, thanks @engelfrost, @mqamhieh, @carchrae
v0.8.0
Loads of stuff happened this release, so we're bumping version to 0.8.0.
Note as well that there is a small change to `tabsarray` type regarding its title, the title is now
interpolated instead of eval'd. So if you have any problems slap on a `{{ }}` around the tab title.
See the docs on `tabarray` for an more info.
* Custom validation via ngModel.$validators and ngModel.$asyncValidators, thanks @davidlgj
* Inject errors from backend directly to a field with events, thanks @davidlgj, @burdiuz, @jdgblinq
* Icons to `button` type, thanks @maff
* Fixed spoiled comment, thanks @mchapman
* A new `template` field type, insert a angular template, like a mini add-on.
* Support for schema type that allows null, thanks @ulion
* Option groups in selects, thanks @DennisHalmstad
* input group addons, thanks @quietlyconfident
* validationMessages overhaul, nicer validationMessages with interpolation and a new sf-messages
directive for add-on to use. thanks @davidlgj
* interpolation instead of eval'ing in tabarray title, thanks @coridyn
* Lots of bugfixes, most notable checkboxes validation now works, thanks @davidlgj, @coridyn,
@ulion, @adamcbuckley
v0.7.13
-------
* Bugfix for condition, it depended on jQuery
v0.7.12
-------
* Error on deleteFromArray task, thanks @bygiro
* Fix for copyValueTo on numeric fields, thanks @Anthropic
* "condition" option on every form type, thanks @davidlgj
* Force redraw "schemaFormRedraw", thanks @davidlgj
* Possible fix for "updateOn exception", thanks @plong0
v0.7.11
-------
* New front page with a list of add-on:s based on a bower search! Thanks @unicornforce @Dervisevic @davidlgj
* Twitter account, @ngSchemaForm, new releases will be announced here. Thanks @Dervisevic
* copyValueTo form option. Thanks @Dervisevic
v0.7.10
------
* Accessability additions, thanks @stramel
* Updates to the gulp tasks, thanks @stramel
* Updated to bower, thanks @Dervisevic
* Updates to documentation & README & Contributing.md, thanks @davidlgj @Dervisevic
* Speed optimization, thanks @stramel
* Call ngModel.$setDirty() when deleting from array, thanks @qstrahl
* Don't override readonly if specified on items individually, thanks @qstrahl
* Update to the examples, thanks @mike-marcacci
v0.7.9
------
* Fixed a wrongful glob in bower.json that caused files to be missing in the bower install. Thanks, @mohsen1 for reporting it.
v0.7.8
------
* Thanks to @burdiuz for finding a memory leak issue and finding a solution. And thanks to @davidlgj for implementing that solution.
* Post render event, thanks @mrijken
* Events documentation, thanks @Dervisevic
* startEmpty documentation, thanks @davidlj
* npm and bower updates, thanks @Dervisevic
* x-schema-form attribute, thanks @davidlgj
* htmlClass and fieldHtmlClass form options, thanks @davidlgj
v0.7.7
------
* Array ref changes in model updates form, thanks @Sandreu
* Tabarray & array fixes, thanks @Sandreu, @davidlgj
* Use objectpath more generically to fix requirejs issues, thanks @mike-marcacci
* README and documentation updates, thanks @davidlgj, @engelfrost, @Dervisevic, @stramel, @Sandreu
* Expanded documentation on custom validation messages, thanks @Dervisevic
* Deep structure tests, thanks @Sandreu
* SF-insert-field documentation, thanks @davidlgj
* Array model watch & array defaults, thanks @Sandreu
v0.7.6
------
* Fixed broken bower specification.
* Updated README and documentation.
v0.7.5
------
* Bracket notation for reserved words to make IE8 happier,thanks @jibwa
* Clarification of module loading in docs, thanks @CoderAjay
v0.7.4
------
* bower.json fixes, thanks @mike-marcacci, @morrislaptop
* Updated docs with a part on extending angular schema form.
* The example now includes the tinymce add on (https://github.com/Textalk/angular-schema-form-tinymce)
* @cameronprattedwards split the gulp tasks and tests into manageble files.
* Fixed validation bugs with numbers and dates, this also got validation working in Angular 1.3.0
* Placeholder on textarea
* step="any" so a HTML5 input doesn't default to 1 and break float validation
* Allow for a pre-existing layout where fields will be inserted, thanks @ebrehault
Docs are missing but lock at PR #112.
* Better "readonly" support, thanks @mike-marcacci!
v0.7.3
------
* Fix for regression in enum order in selects, thanks @adamschwartz
* Descriptons in fieldsets, thanks @mike-marcacci
* Evaluate sfModel in the parent scope, thanks @mike-marcacci
* 'defaultFormDefinition' is now exported on the schemaForm provider making it possible to create
addons that have arbitrary forms inside them, i.e. like fieldset.
* A couple of bugs, required should now work fine, tabarrays behave, list tags be mathed etc
v0.7.2
------
* Add-ons now have their own repos, and there is a colorpicker!
* 'arrayIndex' is exposed as a locals in conditionals
* New tab in tabarrays gets focus.
* We now follow google javscript code guidelines, policed by jscs.
v0.7.1
------
Thanks to @torstenrudolf, this release is basically his PR:s.
* Bugfix: Array validation for Checkboxes
* New radios type: 'radios-inline'
* Class "control-label" added to labels
v0.7.0
------
* Support for complex keys, at least when using Angular 1.3.
See docs/knownlimitations.md for details. Thanks @mike-marcacci for that
awesome PR.
* New format for 'titleMap', it can now also take a list.
* Checkboxes have proper two way binding.
* Validate entire form with $scope.$broadcast('schemaFormValidate')
* If there is no title in neither schema nor form it defaults to the property
name from the schema.
* 'sf-options' attribute for globals options, with an option for form defaults.
* Added 'ng-model-options' so Angular 1.3 users can validate on blur.
* All validation, even required is now using tv4js, change 'validationMessage'
accordingly. This means arrays validate.
* 'Checkbox' type implies a default of false if none is set.
* Changed tactics when it comes to bower deps, it now only depends on what you
cannot go without, i.e. tv4, angular, angular-sanitize and objectpath. You
have to add bootstrap and other dependencies manually (a lot are optional).
* Lots of small bugfixes.
Thanks to @mike-marcacci, @sashless, @cameronprattedwards,@ianbeeston,
@torstenrudolf and all of you who made a lot of issues and PR:s this summer!
v0.6.0
------
* array and tabarray support, with help from @zackbloom (thanks!).
Schema type array now translates to a list of objects, adding, removing
and reordering supported. Form type "tabarray" does the same but renders
it as tabs instead (configurable to left, right or top)
v0.5.0
------
* Travis and Coveralls integration
* Support for HTML in descriptons and some titles, (checkbox(es), radios).
* ngSanitize is now a dependency.
* Enum order is now maintained in selects (thanks @adamschwartz)
v0.4.0
------
* Create tabs with the 'tab' type, just for show!
* Add arbitrary HTML with the 'help' type, just because you can.
v0.3.0
------
* A shiny new datepicker using pickadate.js
* Cleaned up documentation and added small installation instructions.
v0.2.0
------
* postProcess function in schemaForm provider
* New form option: Inline feedback icons in fields.
* New form option: onChange a function or expression that triggers in the same
way as ng-change.
* Removed dependencies on jQuery (thanks @zackbloom and @tsing!)
v0.1.0
------
We're celebrating actual useful functionality by bumping minor version, yay!
* ```radios``` and ```radiobuttons``` supports, works the same but looks different.
* Added ```conditional``` type to hide/show parts of a form.
* Bugfixes
v0.0.4
------
* Fieldsets now properly merge schema defaults.
* Directives for "manual" decorator usage.
* Basic support for buttons.
* Basic support for custom validation error messages.