You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG
+47Lines changed: 47 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,49 @@
1
+
v1.0.0-alpha.2
2
+
--------------
3
+
This is the second (of many) alpha and is **NOT ready for production** yet.
4
+
5
+
There is only one change in this alpha that needs user testing and feedback, the long awaited and much desired support for $ref.
6
+
7
+
## Changes
8
+
9
+
### Added
10
+
- $ref support for relative and local lookups based on [workaround example](https://github.com/json-schema-form/angular-schema-form/issues/69#issuecomment-176635926) provided by @AndreNel7
11
+
12
+
v1.0.0-alpha.1
13
+
--------------
14
+
## Changes
15
+
16
+
### Breaking
17
+
- Some add-ons will not be working yet, if an add-on is updated to use the new function it *should* work again, but there is more work to do here to make the upgrade seamless before a **beta** can be released.
18
+
- Decorators should be updated to use the `defineDecorator` syntax with builders prior to the 1.0.0 release.
19
+
20
+
### Added
21
+
- **23 test cases** added to ASF and a further **30 test cases** to json-schema-form-core
22
+
- Integration with **json-schema-form-core**, this is the main purpose of this release as we move as much code to plain Javascript es6+ as possible to re-use the code in an **Angular 2+** release
23
+
- #596 arrayIndices allows access to the current path for conditions in pr #742
24
+
- #560 All fields should now have classes, names and ids that match and can be used for easier test writing and scripting. The classes are provided with and without array indexes so they can be accessed as a group or individually, fixed in PR #578
25
+
- #748 New key, include all undefined schema fields in the form that are not already added with `[ '...' ]`
26
+
27
+
### Fixes
28
+
- Tests fixed and running
29
+
- Travis builds fixed and running
30
+
- #828 schemaFormValidate event doesn't trigger past v0.8.2
31
+
- #680 Pristine option was not behaving in pr #771
32
+
- Add support for templates with leading whitespaces in pr #725
33
+
- Improve sfNewArray Directive's titleMapValues Binding in pr #705
34
+
- #590 Problems with model binding when using nested Arrays in pr #672, #742
35
+
- Pass optional form name when broadcast error in in PR #656
36
+
- Fix for #121 to redraw with proper defaults in PR #647
37
+
- Revalidate model after successful custom validation event broadcasted in PR #642
38
+
- Fixed angular element children selector usage partially in PR #605
39
+
- Allow broadcasting of the formName to validate in PR #589
40
+
- Ensure key is set in fieldsets in PR #578
41
+
42
+
Special thanks to all the following people for their help in the last year preparing for the move to this version:
If you install via bower you get all of the above except bootstrap since we
126
137
don't want to push a certain version or flavor on you. Also make
127
138
sure you got the angular version you actually want.
128
139
129
-
130
-
#### Additional dependecies
140
+
#### Additional dependencies
131
141
132
142
1. If you'd like to use drag-and-drop reordering of arrays, you'll also need [ui-sortable](https://github.com/angular-ui/ui-sortable) and its [jQueryUI](http://jqueryui.com/) dependencies. See the *ui-sortable* documentation for details about which parts of jQueryUI are needed. You can safely ignore these if you don't need reordering.
133
143
2. Schema Form provides tabbed arrays through the form type `tabarray`. Tab arrays default to tabs on the left side. For these to work, you'll need to include the CSS from [bootstrap-vertical-tabs](https://github.com/dbtek/bootstrap-vertical-tabs). However, you won't need Bootstrap Vertical Tabs for horizontal tabs (the `tabType: "top"` option).
134
144
135
145
The minified files include templates - no need to load additional HTML files.
136
146
137
-
138
147
### Script Loading
139
148
140
149
Schema form is split into two main files, `dist/schema-form.min.js` and
141
150
`dist/bootstrap-decorator.min.js` and they need be loaded in that order. AngularJS,
142
151
[tv4](https://github.com/geraintluff/tv4) and [objectpath](https://github.com/mike-marcacci/objectpath)
@@ -186,10 +194,6 @@ obviously need the same version!
186
194
### Add-on
187
195
To see how to make an **add-on** work I have now included the **calculate** add-on file within the **examples/add-on** directory.
188
196
189
-
## Yet to be migrated
190
-
Currently **copyValueTo** and some **array** related features are not working as expected and remain the highest priority to ensure backwards compatibility is maintained where possible.
191
-
192
-
193
197
## Tests
194
198
Unit tests are run with [karma](http://karma-runner.github.io) and written using
195
199
[mocha](http://visionmedia.github.io/mocha/), [chai](http://chaijs.com/) and
0 commit comments