Skip to content

7.1.0

Compare
Choose a tag to compare
@jcoyne jcoyne released this 13 Aug 15:58
· 1578 commits to main since this release

One big change in this release is getting rid of the mediashelf-loggable dependency. This module injected a "logger" method on every object, class and module, so it was a bit invasive. There is now a logger method on every object extending from ActiveFedora::Base

Another substantial change is that RdfDatastreams now use ActiveTriples rather than our own parallel implementation of that library.

The final major change is that attributes that are declared as multiple: true will have a deprecation warning if you try to assign a scalar value to them. Similarly, attributes declared as multiple: false will have a deprecation if you attempt to assign an enumerable value.

Change log

2014-07-17: Update Om and Rubydora depencencies [Justin Coyne]

2014-07-17: Change the deprecation message so that it helps you find where the
problem is [Justin Coyne]

2014-06-30: Refactoring ActiveFedora::Rdf to use ActiveTriples [Tom Johnson]

2014-07-16: Make logger an accessor that can be set [Justin Coyne]

2014-07-16: Remove mediashelf-loggable [Justin Coyne]

2014-06-24: Replace ActiveFedora::Core#init_with with #init_with_object to avoid
a respond_to? false positive in Psych [Michael B. Klein]

2014-06-24: Have DatastreamHash delegate to a Hash instead of descending from
one [Michael B. Klein]

2014-06-24: Add solr_page_size as a valid option for HABTM [Justin Coyne]

2014-06-23: Refactor for style/readability [Justin Coyne]

2014-06-18: Adds :update_index option to save' -- passing a false value will preventupdate_index' from being called after the object is persisted. The
create_needs_index?' andupdate_needs_index?' methods, however, will not be
overridden when they return false. [David Chandek-Stark]

2014-06-18: Fixed bug in ActiveFedora::FinderMethods#load_from_fedora so that it
casts when klass is ActiveFedora::Base and `cast' argument is nil, as intended.
Fixes #431 since by default it calls load_from_fedora(pid, nil) on each hit.
[David Chandek-Stark]

2014-06-13: Created pid instance variable so value can be retained after destroy
Fixes #422 [David Chandek-Stark]

2014-06-10: Added support to `exists?' finder method for a hash of conditions
Fixes #427 [David Chandek-Stark]

2014-06-10: Deprecate setting multiple attribute to scalar value Deprecate
setting unique attribute to enumerable value [David Chandek-Stark]

2014-06-10: Remove useage of RDF.Class from test code. That's not a real URI
[Justin Coyne]

2014-06-10: Peg rspec to ~> 2.99 [Justin Coyne]

2014-06-10: Put rspec options in a .rspec file for rspec 3 [Justin Coyne]