update docs and change log
This commit is contained in:
parent
105a936a06
commit
8ac72911a8
2 changed files with 20 additions and 2 deletions
|
|
@ -1,5 +1,21 @@
|
|||
## Change Log
|
||||
|
||||
[v0.1.31](/mithril/archive/v0.1.31) - maintenance
|
||||
|
||||
### News:
|
||||
|
||||
- Typescript definitions are more strongly typed
|
||||
- m.request's `unwrapSuccess` and `unwrapError` callbacks now receive the XMLHttpRequest instance as a second parameter
|
||||
- 3rd parameter for `m.route(route, params, shouldReplaceHistory)` is now public
|
||||
- exact routes now have higher precedence than routes w/ variables [#452](https://github.com/lhorie/mithril.js/issues/452)
|
||||
|
||||
### Bug Fixes:
|
||||
|
||||
- fix routing bug in IE9 [#320](https://github.com/lhorie/mithril.js/issues/320)
|
||||
- fix ordering bug in m.trust when using HTML entities [#453](https://github.com/lhorie/mithril.js/issues/453)
|
||||
|
||||
---
|
||||
|
||||
[v0.1.30](/mithril/archive/v0.1.30) - maintenance
|
||||
|
||||
### Bug Fixes:
|
||||
|
|
@ -8,6 +24,8 @@
|
|||
- fix module.view's `this` association regression in Haxe environment [#434](https://github.com/lhorie/mithril.js/issues/434)
|
||||
- fix array serialization syntax in querystrings [#440](https://github.com/lhorie/mithril.js/issues/440)
|
||||
|
||||
---
|
||||
|
||||
[v0.1.29](/mithril/archive/v0.1.29) - maintenance
|
||||
|
||||
### News:
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@ where:
|
|||
|
||||
The value that populates the returned getter-setter before the request completes. This is useful when using the `background` option, in order to avoid the need for null checks in views that may be attempting to access the returned getter-setter before the asynchronous request resolves.
|
||||
|
||||
- **any unwrapSuccess(any data)** (optional)
|
||||
- **any unwrapSuccess(any data, XMLHttpRequest xhr)** (optional)
|
||||
|
||||
A preprocessor function to unwrap the data from a success response in case the response contains metadata wrapping the data.
|
||||
|
||||
|
|
@ -523,7 +523,7 @@ where:
|
|||
|
||||
The unwrapped data
|
||||
|
||||
- **any unwrapError(any data)** (optional)
|
||||
- **any unwrapError(any data, XMLHttpRequest xhr)** (optional)
|
||||
|
||||
A preprocessor function to unwrap the data from an error response in case the response contains metadata wrapping the data.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue