- 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:
- 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:
- 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
to1.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 (usetype.of()
) - Remove deprecated
Valkyrie::Types::Int
(useValkyrie::Types::Integer
) - Performance improvements
- Overriding an attribute getter no longer changes the output of
to_h
. If you've overridden something viadef title; "overwritten"; end
, thento_h
will now have what was set via the setter or initializer, notoverwritten
. - 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. Valkyrie::Resource#to_h
no longer includes keys withnil
values.
- Upgrade Valkyrie to
1.6.0
in your application, run tests, and fix all deprecations output to console. - Upgrade Valkyrie to
2.0.0
in your application. - 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.
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!
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
- 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:
- 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 aResource
to a Fedora path. elrayle - Improve Gem metadata and allow Bundler 2 jcoyne
- 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
- 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:
- 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
- Fix solr casting when an updated_at key isn't present in the solr document. tpendragon
Additional thanks to the following for code review:
- 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
- Add support for Fedora 5 escowles
- Add deprecations for known methods changing in 2.0
- Add
set_value
method.
- Fix consistency in adapter's responses to queries. ojlyytinen
- Fix solr persister to pass through exceptions on timeout hackmastera
- Fix generated specs to work with shared_specs expectation revgum
- Added
optimistic_locking_enabled?
to ChangeSets.
- Fix for postgres optimistic locking.
- Support for ordered properties. Documentation
- Shared specs for Solr indexers.
- 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.
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:
- Performance improvements for ActiveRecord to Valkyrie::Resource conversions. tpendragon
- Loosened ActiveRecord restriction to allow upgrading pg gem to 1.0. hackmastera
- 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
- 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
andArray
. - 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 unsavedresource
.
- Support slashes in IDs for Fedora adapter. dlpierce
Initial Release
- Added find_many_by_ids query.
- Enforces only persisting arrays - no scalars.
- Fixes casting edge cases for
Set
andArray
. - 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 unsavedresource
.