Skip to content

Commit 389e635

Browse files
committed
Update changelog
1 parent bca4dcd commit 389e635

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

CHANGELOG.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,21 @@
55
* Improvements to routing:
66
* Module specific routes are now specified with a call to the setRoutes(appRoutes, defaultRoute) method of an injected
77
formRoutesProvider - see the breaking changes section for an example and details.
8-
* Support for HTML5Mode and hashPrefix
9-
* Support for Twitter Bootstrap 3
8+
* Support for HTML5Mode and hashPrefix, including a service to simplify use
9+
* Support for Twitter Bootstrap 3, including a service to simplify use. To use Bootstrap 3 you need to upgrade a few of the
10+
libraries that Bower installs. Change the following lines in bower.json:
11+
```
12+
"angular-ui-bootstrap-bower": "0.8.0",
13+
"bootstrap": "2.3.2",
14+
"select2-bootstrap-css": "~1.2",
15+
```
16+
to
17+
```
18+
"angular-ui-bootstrap-bower": "0.11.0",
19+
"bootstrap": "3.1.1",
20+
"select2-bootstrap-css": "~1.3",
21+
```
22+
1023

1124
### BREAKING CHANGES
1225
* Routing has changed - replace
@@ -40,11 +53,19 @@ where the first parameter is an array of objects containing a route and a set of
4053
[$routeProvider](http://docs.angularjs.org/api/ngRoute/provider/$routeProvider) and the second parameter is the default route.
4154
* Stylesheets have moved down into a ./css folder relative to where they were, and there
4255
are now Bootstrap 2 and Bootstrap 3 versions.
43-
* Report drilldowns now start from the model and use | as a delimiter - so
56+
* You should initialise formsAngular with something similar to:
57+
```
58+
formsAngular.config(['urlServiceProvider', 'cssFrameworkServiceProvider', function (urlService, cssFrameworkService) {
59+
urlService.setOptions({html5Mode: false, hashPrefix: '!'});
60+
cssFrameworkService.setOptions({framework: 'bs2'}); // bs2 and bs3 are supported
61+
}]);
62+
```
63+
* Report drilldowns now start from the model
4464
```
4565
drilldown: '/#/g_conditional_fields/!_id!/edit'
66+
drilldown: '/#!/g_conditional_fields/|_id|/edit'
4667
```
47-
becomes
68+
both become
4869
```
4970
drilldown: 'g_conditional_fields/|_id|/edit'
5071
```

0 commit comments

Comments
 (0)