Releases: bdurand/super_settings
Releases · bdurand/super_settings
v2.2.1
v2.2.0
What's Changed
Changed
- After save callbacks are now called only after the transaction is committed and settings have been persisted to the data store. When updating multiple records the callbacks will be called after all changes have been persisted rather than immediatly after calling
save!
on each record.
Full Changelog: v2.1.2...v2.2.0
v2.1.2
What's Changed
Fixed
- Fixed ActiveRecord code ensure there are connections to the database before attempting to checkout a connection to avoid errors when the database is not available.
Full Changelog: v2.1.1...v2.1.2
v2.1.1
What's Changed
Fixed
- Added check to ensure that ActiveRecord has a connection to the database to avoid error when settings are checked before the database is connected or when the database doesn't yet exist.
Added
- Added
:null
storage engine that doesn't store settings at all. This is useful for testing or when the storage engine is no available in your continuous integration environment.
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
Fixed
- More robust handling of history tracking when keys are deleted and then reused. Previously, the history was not fully recorded when a key was reused. Now the history on the old key is recorded as a delete and the history on the new key is recorded as being an update.
Full Changelog: v2.0.3...v2.1.0
v2.0.3
What's Changed
Fixed
- Fixed ActiveRecord code handling changing a setting key to one that had previously been used. The previous code relied on a unique key constraint error to detect this condition, but Postgres does not handle this well since it invalidates the entire transaction. Now the code checks for the uniqueness of the key before attempting to save the setting.
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
Fixed
- Coercing a string to a boolean is now case insensitive (i.e. "True" is interpreted as
true
and "False" is interpreted asfalse
).
Full Changelog: v2.0.1...v2.0.2
v2.0.1
Added
- Added support for targeting a editing a specific setting in the web UI by passing
#edit=key
in the URL hash.
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Added
- Added controls for sorting settings in the web UI by keys or last modified time.
- Isolated of CSS classes in the web UI to prevent conflicts with other CSS libraries.
- Dark mode support in web UI.
- Added ability to embed the web UI in a view to allow tighter integration with your application's UI.
- Added storage adapter for storing settings in an S3 object.
- Added storage adapter for storing settings in MongoDB.
- HTTP storage adapter now uses keep-alive connections to improve performance.
Fixed
- Changing a key now works as expected. Previously, a new setting was created with the new key and the old setting was left unchanged. Now, the old setting is properly marked as deleted.
- Consistently handle converting floating point number to timestamps in Redis storage.
Removed
- Rails 4.2, 5.0, and 5.1 support has been removed.
- Removed support for Ruby 2.5.
Full Changelog: v1.0.2...v2.0.0