Next release will be 1.1.0 because the event names have changed.
This commit is contained in:
parent
a5cc3212a7
commit
5d2446f7e5
10
History.md
10
History.md
@ -1,13 +1,17 @@
|
|||||||
# Change History / Release Notes
|
# Change History / Release Notes
|
||||||
|
|
||||||
|
|
||||||
## Version 1.0.23
|
## Version 1.1.0
|
||||||
|
|
||||||
* BREAKING: I renamed the triggered javascript events from `removal-callback`, `after-removal-callback`, `insertion-callback` to the more correct and symmetric
|
* BREAKING: the triggered javascript events `removal-callback`, `after-removal-callback`, and `insertion-callback` are renamed to the more correct and symmetric
|
||||||
`after-insert, before-insert, after-remove, before-remove`. Also the events are namespaced to prevent collisions with other libraries.
|
`cocoon:after-insert, cocoon:before-insert, cocoon:after-remove, cocoon:before-remove`. Also the events are namespaced to prevent collisions with other libraries.
|
||||||
* allow created objects to be decorated with a callable. This is especially useful if you are using Draper or some decorator instead of the plain model in your views.
|
* allow created objects to be decorated with a callable. This is especially useful if you are using Draper or some decorator instead of the plain model in your views.
|
||||||
* it is now possible to specify a relative node, and use standard jquery traversal methods on insertion
|
* it is now possible to specify a relative node, and use standard jquery traversal methods on insertion
|
||||||
* trigger insertion event on correct `insertionNode`
|
* trigger insertion event on correct `insertionNode`
|
||||||
|
* thanks to #90 cocoon now supports non-AR associations and array-fields, you just have to supply your own `build_<association>` methods
|
||||||
|
|
||||||
|
I would really really like to thank all contributors, check them out https://github.com/nathanvda/cocoon/graphs/contributors
|
||||||
|
They made cocoon way more awesome than I could have done in my lonesome.
|
||||||
|
|
||||||
## Version 1.0.22
|
## Version 1.0.22
|
||||||
|
|
||||||
|
@ -364,6 +364,12 @@ There is no limit to the amount of nesting, though.
|
|||||||
* Send me a pull request. Bonus points for topic branches.
|
* Send me a pull request. Bonus points for topic branches.
|
||||||
|
|
||||||
|
|
||||||
|
## Contributors
|
||||||
|
|
||||||
|
The list of contributors just keeps on growing. [Check it out](https://github.com/nathanvda/cocoon/graphs/contributors) !!
|
||||||
|
I would really really like to thank all of them,
|
||||||
|
they make cocoon more awesome every day. Thanks.
|
||||||
|
|
||||||
## Todo
|
## Todo
|
||||||
|
|
||||||
* add more sample relations: `has_many :through`, `belongs_to`, ...
|
* add more sample relations: `has_many :through`, `belongs_to`, ...
|
||||||
|
Loading…
Reference in New Issue
Block a user