Skip to content

Latest commit

 

History

History
746 lines (559 loc) · 25.4 KB

CHANGELOG.md

File metadata and controls

746 lines (559 loc) · 25.4 KB

v3.5.0 2024-12-10

  • Provides new boolean configuration setting auto_cast_iso8601_as_datetime (dchandekstark)
  • Align behavior of server managed properties with Fedora. (dlpierce)
  • Check for nil id to avoid InvalidURIError (dlpierce)
  • Support Fedora 6.5 (dlpierce)
  • Make storage adapters report their protocol string (dlpierce)

v3.4.0 2024-10-11

Changes since last release

  • Adds config setting index_tsim_only_threshold (dchandekstark)
  • Fix related URIs for pairtree paths in Fedora. (randalldfloyd)
  • Return nil when #id_to_uri is passed empty strings. (bwatson78)
  • Add support for Ruby 3.3 and Rails 7.2 (cjcolvar)

v3.3.0 2024-07-03

Changes since last release

  • Add support for configurable pairtree IDs in Fedora 6. (randalldfloyd)

v3.2.0 2024-04-10

Changes since last release

  • Add cleanup functionality to StreamFile#disk_path. (tpendragon)

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

v3.1.5 2024-04-10

Changes since last release

  • Add Valkyrie.root_path to access Valkyrie's gem location. (tpendragon)

v3.1.4 2024-02-20

Changes since last release

  • Remove ChangeSet#prepopulate! test in shared specs. (jeremyf)

v3.1.3 2024-01-30

Changes since last release

  • Include spec/fixtures in released gem. This resolves a bug introduce in v3.1.2 regarding shared specs. (jeremyf)

v3.1.2 2024-01-30

Changes since last release

  • Remove spec dependency on ROOT_PATH and favor Valkyrie::Engine.root instead. Thus allowing downstream implementations to leverage the fixtures in Valkyrie. (jeremyf)
  • make the shared query specs more flexible for testing four_flight adapter. (orangewolf and jeremyf)
  • Check for file size as well as length in shared StorageAdapter specs (dlpierce)

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

v3.1.1 2023-10-05

Changes since last release

  • Add support for coercible symbols in the Fedora persister. (abelemlih)

v3.1.0 2023-09-15

Changes since last release

  • Add storage adapter versioning. (tpendragon)
    • Special thanks to marrus-sh and no-reply for their work testing and finding a good interface for using versions in an application.

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

v3.0.3 2023-05-15

Changes since last release

  • Avoid delegate in ChangeSet. (dlpierce)

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

v3.0.2 2023-04-10

Changes since last release

  • Use find_each in ActiveRecord adapter: #925 (tpendragon)

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

v3.0.1 2023-01-26

Changes since last release

  • Avoid using awk in shared specs: #921 (dunn)

v3.0.0 2023-01-24

Changes since last release

  • Full Ruby 3.0 support: #919 (cjcolvar)
  • Fixed Ruby 2.7.x support: #916 (tpendragon), #918 (jrgriffiniii)
  • Dropped support for Ruby 2.5.x: #916 (tpendragon)
  • see previous 3.0.0 beta release notes for further changes

v3.0.0.rc1 2022-08-09

Unchanged from 3.0.0.beta3

v3.0.0.beta3 2022-08-09

Changes since last release

v3.0.0.beta2 2022-06-15

Changes since last release

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

cjcolvar

v3.0.0.beta1 2021-10-18

Changes since last release

  • More informative NoMethodError for missing custom queries. no-reply
  • Persisters error if you save something which existed at query time, but has since been deleted.
  • Shared write-only persisters.
  • Solr ModelConverter performance.
  • Don't hold open a file handle from StorageAdapter#upload/find_by
  • Files can be #close'd.
  • Remove Draper
  • Remove deprecated string equality function.
  • Remove deprecated BlacklistedValue.
  • Allow reform upgrade to 2.6.
  • Don't require a specific error message in shared specs tpendragon

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

hackartisan eliotjordan

v2.2.0 2021-05-06

Changes since last release

  • Add support for Fedora 6. tpendragon
  • Deprecate pcdmuse:PreservationMasterFile in favor of pcdmuse:PreservationFile escowles
  • Improve spec docs for resource.rb dchandekstark
  • Memoize resource in Solr queries to reduce Solr calls. dchandekstark

v2.1.2 2021-04-19

Changes since last release

  • Tighten reform dependency tpendragon
  • Loosen RDF Dependency no-reply
  • Update development ruby version in .tool-versions hackartisan
  • Use Lando for development tpendragon
  • Deprecate Blacklist in favor of Denylist. jeremyf
  • Make DateTime handling in Fedora/Solr persisters consistent with others. hcayless
  • Add open-ended Rake support. no-reply

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

cjcolvar escowles jeremyf

v2.1.1 2020-03-12

Changes since last release

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

cjcolvar escowles jeremyf

v2.1.0 2020-01-09

Changes since last release

  • Use :: prefixed names for JSON::LD references. no-reply
  • Use SVG instead of PNG for version badge. hackartisan
  • Fix Rubocop for latest Bixby. hackartisan
  • Valkyrie IDs equal string equivalent of ID to String with config jlevnhv
  • Add optional model parameter to find_inverse_references_by and find_references_by elrayle laritakr
  • Add parity in schema.key lookup for ordered_attribute? jeremyf
  • Order member_ids when using schema-style attributes method. no-reply
  • Use DEFAULT_FEDORA_VERSION constant for Fedora adapter. no-reply
  • Stop testing ActiveRecord 5.1 scherztc
  • Rename ListNode#target_uri to ListNode#target mbklein
  • Document that Solr Persister is intended to be used as a secondary persister. hweng
  • Remove unused database tables from schema.rb scherztc
  • Alternate Identifier documentation escowles
  • Remove suggest component in example Solr Config hweng
  • Remove unused db/seeds.rb scherztc
  • Replace YARD Doc for Solr adapter with references to Memory Adapter. afred
  • Refactor shadowed variable in buffered persister spec. jeremyf
  • Use example.com instead of made-up URLs escowles
  • Add count_all_of_model query christinach blancoj
  • Raise an error when unable to find a StorageAdapter bkiahstroud FCRodriguez7 kcompsci
  • Allow find_inverse_reference_by property to be either ordered or not. elrayle
  • Randomized spec order jeremyf
  • Allow Valkyrie logging to be tagged with a context and suppressed. jeremyf
  • Fix documentation for Valkyrie::Persister::Memory being disassociated. jeremyf
  • Suppress Solr warnings in tests. jeremyf
  • Add Valkyrie::Types::Relation and Valkyrie::Types::OrderedRelation luisgreg99 lsat12357 foglabs dgcliff

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 hackartisan 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 hackartisan tpendragon
  • Add support for passing just an ID to find_inverse_references_by cam156 hackartisan
  • 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. hackartisan
  • 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 hackartisan tpendragon
  • Add support for passing just an ID to find_inverse_references_by cam156 hackartisan
  • 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. hackartisan
  • 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 hackartisan
  • 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. hackartisan

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: