All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- #165 Secure access to
composed_ofrelationships.
- #114 Add Polymorphic Models
- #186 Allow components to override built-in event names (i.e.
fires :click) - #185 Allow import of es6 modules that have a single component
- #183 Add new Rails 6 active support methods:
extract!andindex_with - #180
sleepnow returns a promise so it works nicely with Operations - #176 The
rendercallback is now optional. See issue for details. - #168 Allow custom headers in
ServerOps - #160 Allows for dynamically attaching events:
.on(false || nil)is ignored. - #159 Hyperstack.connect behaves nicely if passed a dummy value.
- #148 Rails installer works with existing Rails apps.
- #146 Allow ActiveModel attribute methods to be overridden.
- #196 The
empty?method no longer forces fetch of entire collection - #195 UI will not update until after all relationships of a destroyed record are completely updated.
- #194 Fetching STI models via scope and finder will now return the same backing record.
- #193 Allow the
supermethod in hyper-spec examples. - #192 Dummy values will be initialized with schema default value.
- #191 Fixed incompatibility between the Router and Legacy style param method.
- #181 Fixed nested class component lookup.
- #179 Once an operation moves to the failed track it now stays on the failed track.
- #178 Resetting system now correctly reinitializes all variables.
- #173 Both sides of a relationship can be new and will get saved properly.
- #170 HyperSpec
pausemethod working again. - #169 Fixes to ActiveRecord model equality test.
- #166 Allow
Element#dom_nodeto work with native components. - #164 Insure state change notification when scopes change remotely.
- #163 Ignore hotloader and hotloader errors during prerendering.
- #154 Stop raising deprecation notices when using
importsdirective. - #153
.to_nworking properly on Component classes. - #144 Timeout if connection between console and server fails.
- #143
Errors#full_messagesworking properly. - #138 Count of has_many :through relations working properly
- #126 Scopes no longer returning extra
DummyValue. - #125 Belongs-to relationships on new records will react to updates to the relationship.
- #120
ActiveRecord::Base.new?renamed tonew_record?(you can still usenew?or override it)
- #117 Finder methods will return nil instead of raising access violations.
- #120 Alias
ActiveRecord::Base#new_record?to#new?. - #111 Add #ref method to Element class
- #112 Add
:initparam toINPUT,SELECT, andTEXTAREAtags.
- #128 Hyperspec improperly parses block parameters
- #113 Can't use finder methods on a scope
- #110 Mutate is executing AFTER render cycle completes causing issues with controlled inputs
- #102 Security hole in find_record method filled.
- #62
set_jqmethod to capture element ref as a jQuery object - #70 New syntax and implementation for "while loading".
- #72 Event handlers (i.e.
on(:click)) can be specified at the component class level. - #73
before_render(runs before mounting & before updating) andafter_render(runs after_mounting & after_updating) - #74 Alternative
param_accessor_style :accessorsoption: Creates an instance method for each param. I.e.param :foowill add afoomethod to the component. - #77 Ruby like
rescuescomponent call back. Define error handling at the component level - uses react error boundries under the hood. - #85 Add
pluralizemethod to component. Works like Railspluralizeview helper. - #89 Automatically create ActiveRecord inverse relationships as needed. Previously both sides of the relationship had to be declared.
- #90 Automatically load
config/initializers/inflections.rbif present - #99 Better diagnostics for server access violations and other errors
- #94
Hyperstack.anti_csrf_tokenreturns the stack specific anti_csrf_token.
- #62 jQuery now accessed by global
jQmethod (replacingDOMclass) - #68 Renamed
before_receives_propstobefore_new_params - #91 Rename
triggerstofires
- #70 Deprecated original
while_loadingmethod in favor of theWhileLoadingmixin.
- #106 updated unparser, mini-racer and libv8 versions
- #76 Regression: Hotloader was not remounting lifecycle hooks.
- #59 Component built in event names (i.e.
click) were not working withtriggers(akafires) macro. - #63 Could not pass a component class as a param.
- #64 Router's render method would not accept a simple string.
- #65
observeandmutateObserver methods were returning nil. - #67 Hyper Model:
while_loadingwas not working with loading scopes. This is is also working properly with the newWhileLoadingmixin. - #75 Router
redirectwas not working in prerendering. - #78 Hyper Model: client scope optimization was not working if
allscope is dummy or unknown. - #79 Hyper Model:
countof scope was unnecessarily replaced with a dummy "1". - #81 Hyper Model: Comparing a unloaded scope with a loaded empty scope was returning TRUE
- #82 Hyper Model: Loading a parent scope was not triggering client side scoping of children
- #88 Models were not using pluralize when computing inverse names
- #97 Policies were not guaranteed to load in non-server environments (i.e. rake tasks.)
- #98 Could not use
regulate_class_connectionoutside of policy classes. - #101 Hyper Operation validation errors were not reported to client properly
- #105 Hyper Model records were not persisted in the order created