From 88eba6b613151e157038720892b55850597c4f10 Mon Sep 17 00:00:00 2001 From: Chris Grigg Date: Tue, 23 Jun 2015 21:09:08 -0400 Subject: [PATCH] changelog, bump version to 5.0.1 --- CHANGELOG.md | 10 +++++++--- lib/neo4j/version.rb | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf1c26ff4..dc9ff3942 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,15 +4,19 @@ This file should follow the standards specified on [http://keepachangelog.com/] This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased][unreleased] -### Fixed -- ActiveNode#inspect wasn't displaying the id_property + +## [5.0.1] - 2015-06-23 ### Fixed - Longstanding bug that would prevent association changes (`<<` and ActiveRel.create) in Rails after `reload!` had been called, see https://github.com/neo4jrb/neo4j/pull/839 +- ActiveNode#inspect wasn't displaying the id_property +- Default property values and magic typecasting not being inherited correctly ### Changed -- In the absense of a `model_class` key, associations defined in ActiveNode models will use `from_/to_class` defined in `rel_class` to find destination. (Huge thanks to @olance, #838) +- In the absense of a `model_class` key, associations defined in ActiveNode models will use `from_/to_class` defined in `rel_class` to find destination. (Huge thanks to @olance, #838) - ActiveRel's DSL was made a bit friendlier by making the `type`, `from_class` and `to_class` methods return their set values when called without arguments. +- Reworked ActiveRel's wrapper to behave more like ActiveNode's, removing some duplicate methods and moving others to Neo4j::Shared, resulting in a big performance boost when returning large numbers of rels. +- Updated gemspec to require neo4j-core 5.0.1+ ### Added - ActiveRel was given `find_or_create_by`, usable across single associations. diff --git a/lib/neo4j/version.rb b/lib/neo4j/version.rb index d71c7278e..3159b1cc4 100644 --- a/lib/neo4j/version.rb +++ b/lib/neo4j/version.rb @@ -1,3 +1,3 @@ module Neo4j - VERSION = '5.0.0' + VERSION = '5.0.1' end