File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Redis::Objects - Map Redis types directly to Ruby objects
66[ ![ Donate] ( https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif )] ( https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MJF7JU5M7F8VL )
77
88Important 2.0 changes
9- ---------------------
9+ =====================
1010Redis::Objects 2.0 introduces several important backwards incompatible changes.
1111Currently 2.0 can be installed with ` gem install redis-objects --pre ` or by listing it
1212explicitly in your Gemfile:
@@ -18,7 +18,7 @@ You're encouraged to try it out in test code (not production) to ensure it works
1818Official release is expected later in 2022.
1919
2020Key Naming Changes
21- ==================
21+ ------------------
2222The internal key naming scheme has changed for ` Nested::Class::Namespaces ` to fix a longstanding bug.
2323** This means your existing data in Redis will not be accessible until you call ` migrate_redis_legacy_keys ` .**
2424
@@ -39,8 +39,8 @@ handle a high number of keys. For large data sets, it could take a while.
3939
4040For more details on the issue and fix refer to [ #213 ] ( https://github.com/nateware/redis-objects/issues/231 ) .
4141
42- Rename of ` lock ` Method
43- =======================
42+ Renaming of ` lock ` Method
43+ -------------------------
4444The ` lock ` method that collided with ` ActiveRecord::Base ` has been renamed ` redis_lock ` .
4545This means your classes need to be updated to call ` redis_lock ` instead:
4646
You can’t perform that action at this time.
0 commit comments