Skip to content

Latest commit

 

History

History
438 lines (334 loc) · 14.9 KB

CHANGELOG.md

File metadata and controls

438 lines (334 loc) · 14.9 KB

v2.0.2 2019-10-17

Changes since last release

  • Fix nil not persisting with the ActiveRecord adapter. tpendragon
  • Define setters when building a Resource schema with .attributes no-reply

Additional thanks to the following for code review and issue reports leading to this release:

coblej

v2.0.1 2019-07-03

Changes since last release

  • Remove strftime from Fedora::Persister::ModelConverter tpendragon
  • Only parse ISO8601 strings into DateTimes awead

Additional thanks to the following for code review and issue reports leading to this release:

dgcliff

v2.0.0 2019-06-06

Changes since last release

  • Make LDP optional (Add gem ldp to Gemfile if using Fedora)
  • Make ActiveRecord optional (Add gem activerecord to Gemfile if using Postgres)
  • Make RSolr optional (Add gem rsolr to Gemfile if using Solr)
  • Remove deprecated standardize_query_result argument.
  • Remove deprecated Valkyrie::ID#to_uri
  • Remove ActiveFedora as a dependency.
  • Remove deprecated Valkyrie::Persistence::Fedora::PermissiveSchema.alternate_ids
  • Remove deprecated Valkyrie::Persistence::Fedora::PermissiveSchema.references
  • Upgrade dry-types to 1.0.x
  • Fedora Adapter default is now version 5.
  • Require a symbol key when instantiating a Valkyrie::Resource (string keys are no longer valid)
  • Remove deprecated type.member() method (use type.of())
  • Remove deprecated Valkyrie::Types::Int (use Valkyrie::Types::Integer)
  • Performance improvements

Changes Without Deprecations in 1.6.0

  1. Overriding an attribute getter no longer changes the output of to_h. If you've overridden something via def title; "overwritten"; end, then to_h will now have what was set via the setter or initializer, not overwritten.
  2. Setting attribute values via overriding instance variables no longer works. Please use #set_value if you need dynamic setting, as this will be a stable API.
  3. Valkyrie::Resource#to_h no longer includes keys with nil values.

Upgrade Guide

  1. Upgrade Valkyrie to 1.6.0 in your application, run tests, and fix all deprecations output to console.
  2. Upgrade Valkyrie to 2.0.0 in your application.
  3. Failing tests at this point are likely due to behavior in the "Changes Without Deprecations" section above. If you have any trouble, please contact us in the #valkyrie channel in Samvera Slack.

New Product Owner

All of us who have been part of the Valkyrie project so far would like to thank Carolyn Cole for her role so far as Product Owner. We'd like to welcome Kate Lynch, who will be taking over effective immediately!

Special Thanks

This is the first major version of Valkyrie since 1.0 over a year ago. A lot of work has gone into it, and I'd like to take the chance to thank everyone involved for their contributions in the last year:

DanCoughlin awead cam156 carolyncole cjcolvar dgcliff escowles hackmastera jeremyf jrgriffiniii kelynch mbklein mjgiarlo mtribone no-reply ojlyytinen revgum stkenny tpendragon

v1.7.1 2019-05-30

Changes since last release

  • Fix ROOT_PATH error in StorageAdapter#upload shared specs tpendragon

Additional thanks to the following for code review and issue reports leading to this release:

escowles

v1.7.0 2019-05-29

Changes since last release

  • Permit storage adapters to have arbitrary arguments to #upload. jrgriffiniii
  • Storage adapters can now all upload regular IO objects. tpendragon
  • Fedora Storage Adapter has a configurable resource_uri_transformer for going from a Resource to a Fedora path. elrayle
  • Improve Gem metadata and allow Bundler 2 jcoyne

v1.6.0 2019-04-17

Changes since last release

  • Deprecation in preparation for LDP to be optional
  • Deprecation in preparation for RSolr to be optional
  • Deprecation in preparation for ActiveRecord to be optional
  • Remove Rails requirement
  • Remove ActiveTriples dependency.

Additional thanks to the following for code review and issue reports leading to this release:

carolyncole dgcliff escowles no-reply

v1.5.1 2019-02-08

Changes since last release

  • Namespace shared-spec resources to avoid conflict in apps. tpendragon

Additional thanks to the following for code review and issue reports leading to this release:

cjcolvar escowles

v1.5.0 2019-02-06

Changes since last release

  • Fix solr casting when an updated_at key isn't present in the solr document. tpendragon
  • Add missing query service requirement to persister shared specs cjcolvar
  • Provide a warning when postgres adapter overwrites an ID, deprecate this behavior so it will throw an exception in the future. cam156 hackmastera tpendragon
  • Add support for passing just an ID to find_inverse_references_by cam156 hackmastera
  • Fix memory adapter raising an exception in find_by_alternate_identifier when there are resources without the alternate_identifier attribute. jeremyf
  • Provide a warning when using the postgres adapter without manually providing the pg gem, so it can be an optional dependency in 2.0.0. hackmastera
  • Provide guidance in specs on how to define alternate_ids cjcolvar
  • Upload files to Fedora using form/multipart. tpendragon
  • Improve CompositePersister documentation. tpendragon
  • Add a Valkyrie::Types::Params::ID type which handles when an HTML form passes an empty string value. tpendragon
  • Deprecate .member on Valkyrie::Types::Array & Set tpendragon
  • Fix updated_at not being set correctly for the Solr adapter, fix shared specs. tpendragon

Additional thanks to the following for code review and issue reports leading to this release:

awead escowles kelynch mbklein mjgiarlo no-reply revgum

v1.5.0 RC2 2019-02-01

Changes since last release

  • Fix solr casting when an updated_at key isn't present in the solr document. tpendragon

Additional thanks to the following for code review:

mjgiarlo

v1.5.0 RC1 2019-02-01

Changes since last release

  • Add missing query service requirement to persister shared specs cjcolvar
  • Provide a warning when postgres adapter overwrites an ID, deprecate this behavior so it will throw an exception in the future. cam156 hackmastera tpendragon
  • Add support for passing just an ID to find_inverse_references_by cam156 hackmastera
  • Fix memory adapter raising an exception in find_by_alternate_identifier when there are resources without the alternate_identifier attribute. jeremyf
  • Provide a warning when using the postgres adapter without manually providing the pg gem, so it can be an optional dependency in 2.0.0. hackmastera
  • Provide guidance in specs on how to define alternate_ids cjcolvar
  • Upload files to Fedora using form/multipart. tpendragon
  • Improve CompositePersister documentation. tpendragon
  • Add a Valkyrie::Types::Params::ID type which handles when an HTML form passes an empty string value. tpendragon
  • Deprecate .member on Valkyrie::Types::Array & Set tpendragon
  • Fix updated_at not being set correctly for the Solr adapter, fix shared specs. tpendragon

Additional thanks to the following for code review and issue reports leading to this release:

awead escowles kelynch mbklein no-reply revgum

v1.4.0 2019-01-08

Changes since last release.

v1.3.0 2018-12-03

Changes since last release

  • Add deprecations for known methods changing in 2.0
  • Add set_value method.

v1.2.2 2018-10-05

Changes since last release

  • Fix consistency in adapter's responses to queries. ojlyytinen

v1.2.1 2018-09-25

Changes since last release

  • Fix solr persister to pass through exceptions on timeout hackmastera
  • Fix generated specs to work with shared_specs expectation revgum

v1.2.0 2018-08-29

Changes since last release

  • Added optimistic_locking_enabled? to ChangeSets.

v1.2.0.RC3 2018-08-15

Changes since last release

  • Fix for postgres optimistic locking.

v1.2.0.RC2 2018-08-10

Changes since last release

  • Support for ordered properties. Documentation
  • Shared specs for Solr indexers.

v1.2.0.RC1 2018-08-09

Changes since last release

  • Support for single values. Documentation
  • Optimistic Locking. Documentation
  • Remove reliance on ActiveFedora for Fedora Storage Adapter.
  • Only load adapters if referenced.
  • Postgres Adapter uses transactions for save_all
  • Resources now include id attribute by default.

Special Thanks

This release was made possible by a community sprint undertaken between Penn State University Libraries & Princeton University Library. Thanks to the following participants who made it happen:

v1.1.2 2018-06-08

Changes since last release

  • Performance improvements for ActiveRecord to Valkyrie::Resource conversions. tpendragon

v1.1.1 2018-05-31

Changes since last release

  • Loosened ActiveRecord restriction to allow upgrading pg gem to 1.0. hackmastera

v1.1.0 2018-05-08

Changes since last release

  • Added find_by_alternate_identifier query. stkenny
  • Added Docker environment for development. mbklein
  • Fixed README documentation. revgum
  • Deprecated Valkyrie::Persistence::Fedora::PermissiveSchema.references
  • Deprecated Valkyrie::Persistence::Fedora::PermissiveSchema.alternate_ids

v1.0.0 2018-03-23

Changes since last release

  • Final release of 1.0.0!
  • Support slashes in IDs for Fedora adapter. dlpierce
  • Added find_many_by_ids query.
  • Enforces only persisting arrays - no scalars.
  • Fixes casting edge cases for Set and Array.
  • Significantly improved documentation
  • Support Booleans
  • Support RDF::Literal
  • Fix support for DateTime.
  • Fix rake tasks leaking out of gem.
  • Extract derivatives/file characterization to valkyrie-derivatives
  • ChangeSet shared spec
  • Allow strings as an argument for find_by.
  • Improve development documentation.
  • Throw error on find_inverse_references_by for unsaved resource.

v1.0.0.RC2 2018-03-14

Changes since last release

  • Support slashes in IDs for Fedora adapter. dlpierce

v1.0.0.RC1 2018-03-02

Initial Release

Changes Since Last Sprint

  • Added find_many_by_ids query.
  • Enforces only persisting arrays - no scalars.
  • Fixes casting edge cases for Set and Array.
  • Significantly improved documentation
  • Support Booleans
  • Support RDF::Literal
  • Fix support for DateTime.
  • Fix rake tasks leaking out of gem.
  • Extract derivatives/file characterization to valkyrie-derivatives
  • ChangeSet shared spec
  • Allow strings as an argument for find_by.
  • Improve development documentation.
  • Throw error on find_inverse_references_by for unsaved resource.

Special Thanks to All Contributors: