Volt v0.9.4 Release Notes
-
Lingo Change
the base collections will now be called "Repositories" or "Repo's" for short. This will only matter directly for internal volt code, but for the data provider api, this will help.
➕ Added
root
can now be called from a model to get the root model on the collection. (So if the model is on store, it will returnstore
)store
can now be called from inside of a model- all repos (
store
,page
,cookies
,params
, etc...) now can be accessed outside of controllers and tasks withVolt.current_app.{repository}
(Volt.current_app.store
for example) - before_save was added to models.
- ➕ added
cookies
model for HttpController - ➕ added support for serializing Time objects
- Model's now have a saved_state and saved? method.
- Volt.current_app now has
store
andpage
collections accessable from it, and is the preferred way to access those collections outside of controllers and tasks.
✂ Removed
- 🚚 The $page global was removed. Use
Volt.current_app
to get access to repos.
🔄 Changed
- 🛠 fixed bug with ReactiveHash#to_json
- 🛠 fixed bug with field Numeric coersion
- 🛠 fixed issue with initializers not loading on client sometimes.
- 🛠 fixed issue with user password change
- 🛠 fix issue storing Time in a hash
- 🛠 fixed issue with local_store not persisting in some cases
- ⚡️ runners now block until messages have propigated to the message bus and updates have been pushed.
- ⬆️ upgraded some dependency gems to fix a conflict
- 🛠 fixed bug with .last on ReactiveArray (#259)