Skip to content

Commit ddbc62c

Browse files
committed
final update before release
1 parent c2c6579 commit ddbc62c

File tree

16 files changed

+92
-14
lines changed

16 files changed

+92
-14
lines changed

change-log.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,50 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 1.0alpha1.5 - 2019-02-15
8+
### Security
9+
+ [#165](https://github.com/hyperstack-org/hyperstack/issues/165) Secure access to `composed_of` relationships.
10+
11+
### Added
12+
+ [#114](https://github.com/hyperstack-org/hyperstack/issues/114) Add Polymorphic Models
13+
+ [#186](https://github.com/hyperstack-org/hyperstack/issues/186) Allow components to override built-in event names (i.e. `fires :click`)
14+
+ [#185](https://github.com/hyperstack-org/hyperstack/issues/185) Allow import of es6 modules that have a single component
15+
+ [#183](https://github.com/hyperstack-org/hyperstack/issues/183) Add new Rails 6 active support methods: `extract!` and `index_with`
16+
+ [#180](https://github.com/hyperstack-org/hyperstack/issues/180) `sleep` now returns a promise so it works nicely with Operations
17+
+ [#176](https://github.com/hyperstack-org/hyperstack/issues/176) The `render` callback is now optional. See issue for details.
18+
+ [#168](https://github.com/hyperstack-org/hyperstack/issues/168) Allow custom headers in `ServerOp`s
19+
+ [#160](https://github.com/hyperstack-org/hyperstack/issues/160) Allows for dynamically attaching events: `.on(false || nil)` is ignored.
20+
+ [#159](https://github.com/hyperstack-org/hyperstack/issues/159) Hyperstack.connect behaves nicely if passed a dummy value.
21+
+ [#148](https://github.com/hyperstack-org/hyperstack/issues/148) Rails installer works with existing Rails apps.
22+
+ [#146](https://github.com/hyperstack-org/hyperstack/issues/146) Allow ActiveModel attribute methods to be overridden.
23+
24+
25+
### Fixed
26+
+ [#196](https://github.com/hyperstack-org/hyperstack/issues/196) The `empty?` method no longer forces fetch of entire collection
27+
+ [#195](https://github.com/hyperstack-org/hyperstack/issues/195) UI will not update until after all relationships of a destroyed record are completely updated.
28+
+ [#194](https://github.com/hyperstack-org/hyperstack/issues/194) Fetching STI models via scope and finder will now return the same backing record.
29+
+ [#193](https://github.com/hyperstack-org/hyperstack/issues/193) Allow the `super` method in hyper-spec examples.
30+
+ [#192](https://github.com/hyperstack-org/hyperstack/issues/192) Dummy values will be initialized with schema default value.
31+
+ [#191](https://github.com/hyperstack-org/hyperstack/issues/191) Fixed incompatibility between the Router and Legacy style param method.
32+
+ [#181](https://github.com/hyperstack-org/hyperstack/issues/181) Fixed nested class component lookup.
33+
+ [#179](https://github.com/hyperstack-org/hyperstack/issues/179) Once an operation moves to the failed track it now stays on the failed track.
34+
+ [#178](https://github.com/hyperstack-org/hyperstack/issues/178) Resetting system now correctly reinitializes all variables.
35+
+ [#173](https://github.com/hyperstack-org/hyperstack/issues/173) Both sides of a relationship can be new and will get saved properly.
36+
+ [#170](https://github.com/hyperstack-org/hyperstack/issues/170) HyperSpec `pause` method working again.
37+
+ [#169](https://github.com/hyperstack-org/hyperstack/issues/169) Fixes to ActiveRecord model equality test.
38+
+ [#166](https://github.com/hyperstack-org/hyperstack/issues/166) Allow `Element#dom_node` to work with native components.
39+
+ [#164](https://github.com/hyperstack-org/hyperstack/issues/164) Insure state change notification when scopes change remotely.
40+
+ [#163](https://github.com/hyperstack-org/hyperstack/issues/163) Ignore hotloader and hotloader errors during prerendering.
41+
+ [#154](https://github.com/hyperstack-org/hyperstack/issues/154) Stop raising deprecation notices when using `imports` directive.
42+
+ [#153](https://github.com/hyperstack-org/hyperstack/issues/153) `.to_n` working properly on Component classes.
43+
+ [#144](https://github.com/hyperstack-org/hyperstack/issues/144) Timeout if connection between console and server fails.
44+
+ [#143](https://github.com/hyperstack-org/hyperstack/issues/143) `Errors#full_messages` working properly.
45+
+ [#138](https://github.com/hyperstack-org/hyperstack/issues/138) Count of has_many :through relations working properly
46+
+ [#126](https://github.com/hyperstack-org/hyperstack/issues/126) Scopes no longer returning extra `DummyValue`.
47+
+ [#125](https://github.com/hyperstack-org/hyperstack/issues/125) Belongs-to relationships on new records will react to updates to the relationship.
48+
+ [#120](https://github.com/hyperstack-org/hyperstack/issues/120) `ActiveRecord::Base.new?` renamed to `new_record?` (you can still use `new?` or override it)
49+
50+
751
## 1.4alpha - 2019-02-15
852
### Security
953
+ [#117](https://github.com/hyperstack-org/hyperstack/issues/117) Finder methods will return nil instead of raising access violations.

install/old-readme.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Hyperstack Rails Template
2+
3+
**This will create a new Rails app with Webpacker and the current released Hyperstack gems by running the installation template in the edge branch.**
4+
5+
## Prerequisites
6+
7+
+ Linux or Mac system
8+
(Android, ChromeOS and Windows are not supported)
9+
+ Ruby on Rails must be installed: https://rubyonrails.org/
10+
+ NodeJS must be installed: https://nodejs.org
11+
+ Yarn must be installed: https://yarnpkg.com/en/docs/install
12+
13+
## Usage
14+
15+
Simply run the command below to create a new Rails app with Hyperstack all configured:
16+
17+
```shell
18+
rails new MyAppName --template=https://rawgit.com/hyperstack-org/hyperstack/edge/install/rails-webpacker.rb
19+
```
20+
Alternatively, if you like, you can also download [the template file](https://rawgit.com/hyperstack-org/hyperstack/edge/install/rails-webpacker.rb) (the part after `--template=`) and read the contents,
21+
it shows how a Hyperstack Rails project differs from a plain Rails project.
22+
The downloaded file can then be referenced from the local filesystem.
23+
```shell
24+
rails new MyAppName --template=rails-webpacker.rb
25+
```
26+
27+
## Start the Rails app
28+
29+
+ Run `foreman start` from a console to start the Ruby on Rails server and Opal HotReloader
30+
+ Navigate to http://localhost:5000
31+
32+
### Tutorial
33+
34+
If you are new to developing an application based on Hyperstack we suggest you follow the [todo tutorial](https://hyperstack.org/edge/docs/tutorials/todo).

install/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Once you have a new (or existing) Rails app, add the rails-hyperstack gem to you
3131
> **Be sure you cd into the new directory if you just created a new Rails app**
3232
3333
```
34-
YOU MUST USE EDGE BELOW UNTIL alpha1.5 IS RELEASED bundle add 'rails-hyperstack', --version "~> 1.0.alpha1.0"
34+
bundle add 'rails-hyperstack', --version "~> 1.0.alpha1.0"
3535
```
3636

3737
> If you want to use the unreleased edge branch your gem specification will be:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Hyperstack
22
module Component
3-
VERSION = '1.0.alpha1.4' # '1.0.alpha1.4'
3+
VERSION = '1.0.alpha1.5' # '1.0.alpha1.5'
44
end
55
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Hyperloop
22
module Console
3-
VERSION = '1.0.alpha1.4'
3+
VERSION = '1.0.alpha1.5'
44
end
55
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module HyperI18n
2-
VERSION = '1.0.alpha1.4'
2+
VERSION = '1.0.alpha1.5'
33
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Hyperstack
22
module I18n
3-
VERSION = '1.0.alpha1.4'
3+
VERSION = '1.0.alpha1.5'
44
end
55
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module HyperModel
2-
VERSION = '1.0.alpha1.4'
2+
VERSION = '1.0.alpha1.5'
33
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Hyperstack
22
class Operation
3-
VERSION = '1.0.alpha1.4'
3+
VERSION = '1.0.alpha1.5'
44
end
55
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module HyperRouter
2-
VERSION = '1.0.alpha1.4'
2+
VERSION = '1.0.alpha1.5'
33
end

0 commit comments

Comments
 (0)