Skip to content

1.0.alpha1.6

Compare
Choose a tag to compare
@catmando catmando released this 29 Mar 15:10
· 93 commits to edge since this release

1.0alpha1.6 - 2021-03-29

Release
Date
Version Open
Issues
Documentation
Sections
Draft Ready
Documentation
Sections
WIP
March 29, 2021 1.0.alpha1.6 167 35 10

Open issues includes enhancements, documentation, and discussion issues as well as few bugs.

The documentation WIP (work in progress) numbers are approx, as more sections may be added.

New Major Features

  • Now compatible with Opal 1.x and Rails 6.x: Tested with Opal ~>1.0 + Rails ~>5.0 and Rails ~>6.0, and Opal ~>0.11 and Rails ~>5.0.
  • You can run Hypermodel connections on Redis (instead of ActiveRecord). This gives about a 10% performance boost, and there will be even better performance as the Redis adapter is optimized.
  • The rails-hyperstack gem now includes a file hyperstack/server_side_auto_require that you may require from the hyperstack.rb initializer.
    This file will add the capability to Rails ActiveSupport Dependencies to automatically look for files in the matching main app sub directory when loaded first from the hyperstack directory. This allows you to leave serverside functionality in the main app subdirectories, and only include definitions relevant to the client side in the hyperstack directories. See #361 for more info. ATM requiring this file will set the Rails autoloader mode to :classic.
  • Complete rewrite of Hyperspec with much improved syntax and many new features including ability to use with any Rack application. See the docs for details. But don't worry its all backwards compatible with the old syntax.
  • Much more robust gem installer.

Breaking Changes

  • #350 Moved the server side after and every methods to an include module. You are only effected if you are using the after or every methods on the server.
  • You may encounter some breakage due to configuration changes. Rails and the JS world have changed a lot recently, and its hard to insure that the new Gems will work correctly in all situations without some adjustment to your configuration. Please report any issues that you encounter.

Security

  • #205 Now filters ServerOp params from log files.

Added

  • #379 If operation dispatch raises an error the operation now fails
  • #376 Control Arity Check From HyperSpec
  • #372 More flexibility with render block return values
  • #365 Added ActiveRecord increment! and decrement! methods
  • #364 Added ActiveRecord has_and_belongs_to_many to HyperModel
  • #356 Added json and jsonb ActiveRecord attribute types
  • #353 Allow for empty policy...to(...) call
  • #322 Correctly pass back the return value from observer block
  • #306 Relaxed libV8 dependency and removed where possible
  • #280 Better error messages for active record failures
  • #220 Added shims for browsers not supporting ECMA 6.0 classes
  • #218 on: create hooks now run BEFORE create not after
  • #158 HyperComponent multiple value and FRAGMENT returns

Fixed

  • #380 Specs now running with Opal arity_checking enabled
  • #375 Scopes could get out of sync
  • #370 Fixed deprecation message during hyperstack:install
  • #369 hyperstack:install now adds javascripts link to manifest.js file
  • #368 hyperstack:install now checks for webpacker gem
  • #358 Incoming broadcast messages were not working if primary key was not :id
  • #354 Correctly set react variant in production
  • #347 Fixed Rails generator and React import misleading comments
  • #326 No longer raises Rails previous_changes behavior deprecation notices
  • #325 Schema default value conversion now supports strings
  • #275 Fixed issue with reflects on associations of sibling STI class
  • #269 Fixed: TypeError raised when prerendering.
  • #215 Collection any? method now accepts args.
  • #184 ActiveRecord::Base.find([1,2,3]) returns mutiple records same as AR
  • #162 Prevent footer from rendering multiple times on the same page (performance issue)

Deprecated

  • #374 Support for React 15 Dropped
  • #373 componentWillMount and friends deprecated from React