forked from janv/rest_in_place
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASE_NOTES.txt
45 lines (37 loc) · 1.62 KB
/
RELEASE_NOTES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Version 2.1
-----------
- Dispatch events for various state transitions
Version 2.0.2
-------------
- In the two default editors, pressing ESC aborts the editing process.
Version 2.0.1
-------------
- Removed dependency on ActiveRecord and support spying the
`include_root_in_json` setting from `Mongoid.config` if Mongoid is used.
Version 2.0
-----------
Major overhaul of the entire project.
- No more standalone
Since I don't think anyone is using this in a different way, REST in Place is
now a pure Rails 3.1 gemplugin using the asset pipeline
- Specs
To facilitate development of new features and refactoring, the app now has a
Jasmine spec suite in the testapp. It can be run by visiting
http://localhost:3000/jasmine
- CoffeeScript
Because if you're not using CoffeScript there's something wrong with you. It
makes JavaScript bearable again.
- Proper CSRF token support
This was hacky in the past but for a while Rails includes a standard mechanism
for providing CSRF information to JavaScript running on the page.
- Automatic detection of `include_root_in_json` setting in Rails
Through the magic of erb and the asset pipeline, REST in Place can detect
how you've configured ActiveRecord.
- **BC breaking interface changes**
Two major things have changed that might trip you up:
- The default css class for REST in Place is now `rest-in-place` and not
`rest_in_place`.
- Elements with that default class are initialized automatically on
`document.ready`.
- The jQuery function to intialize elements with a REST in Place Editor was
renamed from `rest_in_place()` to `restInPlace()`.