All Versions
26
Latest Version
Avg Release Cycle
62 days
Latest Release
3763 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.0.1 Changes
January 04, 2015- π Fix bug that broke saving associated objects when declaring the
id
attribute with Virtus.
- π Fix bug that broke saving associated objects when declaring the
-
v1.0.0 Changes
August 16, 2014- Invoke identity map when using
mapper.select
andmapper.find
with a block. - When finding objects with an array of ids, if they are all contained in the identity map, we don't issue a query.
- π Allow indexes on multiple attributes.
- β Add support to
Perpetuity::RailsModel
for ActiveModel'shuman
class method.
- Invoke identity map when using
-
v1.0.0.beta5 Changes
February 02, 2014- π Don't stringify ids in
IdentityMap
. This should result in a little better performance. To be honest, I'm not even sure anymore why I put that in there. - π Use the IdentityMap when retrieving multiple objects by id.
- π Don't stringify ids in
-
v1.0.0.beta4 Changes
- β Remove in-memory updating of objects using the
Mapper#update
method. - Separate dirty tracking from
IdentityMap
and return to a real Identity Map. - Pass IdentityMap around when loading associations
- β Add
Perpetuity.register_adapter
method to allow various data-source adapters to register without Perpetuity knowing about them.
- β Remove in-memory updating of objects using the
-
v1.0.0.beta3 Changes
January 03, 2014- π Fix title-case -> snake-case support to convert something like
UserRegistration
touser_registration
. Previously, it would returnuserregistration
.
- π Fix title-case -> snake-case support to convert something like
-
v1.0.0.beta2 Changes
December 30, 2013- Allow data source to be configured with a URI. This lets you say
Perpetuity.data_source "postgres://user:[email protected]:5432/my_database"
, keeping you from having to split up the URI yourself. - β Remove overreaching rescue clauses to let exceptions get rescued inside the adapters
- π Allow AttributeSet to be initialized w/ attributes
- β Remove Mongo-specific code
- Allow data source to be configured with a URI. This lets you say
-
v1.0.0.beta Changes
December 15, 2013- Duplicate objects properly for the identity map. The identity map holds references to objects pulled out of the DB. We need to duplicate these references on insertion and retrieval from the identity map to make sure that modifications to an object do not pollute the version in the identity map.
- β Add support for the Amazon DynamoDB adapter by Cardspring. This adapter is still in very early development.
- π Allow passing in the type of the
id
attribute for databases that enforce column/field types. This allows us to sayid(String) { ... }
, telling the database thatid
needs to be a String. - π Use hashes for AttributeSets to reduce serialization time.
- π Extract all database-specific logic to their own gems. The existing MongoDB adapter has been moved to the
perpetuity-mongodb
gem and there is a PostgreSQL adapter that lives underperpetuity-postgres
. - π Allow specs to be run on top of
perpetuity-postgres
- β Remove validations.
-
v0.7.3 Changes
September 16, 2013- Only save attributes which have changed
-
v0.7.2 Changes
August 04, 2013- β Add license to gemspec for the benefit of Rubygems.org
-
v0.7.1 Changes
August 04, 2013- π· Only unmarshal attributes that we marshaled to begin with. This disallows the use of false marshaled objects. β with Kevin SjΓΆberg
- π Allow insertion of multiple objects in
Mapper#insert
- Alias
Retrieval#limit
asRetrieval#take
forEnumerable
compatibility - Leave result cache when branching to new retrievals if previous retrieval had triggered a query
- β Silence warnings (some still exist in Moped, unfortunately)
- β Add finding based on attribute truthiness. For example:
mapper.find { |obj| obj.name }
finds objects whosename
is neithernil
norfalse
. - π When you remove an index call from the mapper DSL,
Mapper#reindex!
now removes that index from the DB - Previously activated indexes in the DB are converted to
Perpetuity::Attribute
s rather than stored in the format specific to the DB driver