Next release will be 1.1.0 because the event names have changed.

This commit is contained in:
Nathan Van der Auwera 2012-09-24 23:59:54 +02:00
parent a5cc3212a7
commit 5d2446f7e5
3 changed files with 14 additions and 4 deletions

View File

@ -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

View File

@ -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`, ...

View File

@ -1 +1 @@
1.0.23 1.1.0