Releases: code4lib/ruby-oai
v1.2.1
v1.2.0
Dependency Updates
- Requires Ruby 2.6+
- Test against ActiveRecord 6.1 and 7.0
- Allow Faraday 2.x
General
- bugfixes
- testing improvements
- correct an RDoc parsing issue
OAI::Client
- is more resilient to character data issues in received XML
- raises named exception subclasses appropriate to errors
OAI::Harvester
- accepts from and until params
OAI::Provider
- Disambiguated column names in SQL of ActiveRecord provider
- More consistent handling of date granularity timestamps in ActiveRecord provider
OAI::Response
- Final partial list response now includes an empty resumptionToken element per OAI specs
- More consistent handling of date granularity timestamps from OAI servers
v1.1.0
Added OAI::Provider::Base#provider_context
which enables switching on how response objects are generated. (See the provider_context based tests for specifics)
v1.0.0
-
We are now 1.0 and committed to semver going forward. 1.0 release is still expected to be substantially backwards compat with previous versions.
-
ActiveRecordWrapper works again (on ActiveRecord 5.2.x or 6.0.x).
- It may not be fully backwards compat wtih the last time ActiveRecordWrapper worked, which was a pretty old version of Rails -- but should be close
-
oai identifieres are now being generated/expected with a colon between namespace and prefix, rather than slash. This is now in conformance with oai-pmh guidelines. While this could be backwards-incompat for some uses, it should not effect those using via blacklight-oai-provider, as that gem was already patching for this behavior. See #73
-
Can now customize
identifier_field
, instead of hard-coded toid
, also works with ActiveRecordWrapper. #76