Skip to content

Releases: code4lib/ruby-oai

v1.2.1

29 Apr 21:43
Compare
Choose a tag to compare

Bugfixes

The logic that defaulted time period constraints now matches the granularity of present constraints

v1.2.0

27 Apr 23:04
Compare
Choose a tag to compare

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

31 Mar 12:49
Compare
Choose a tag to compare

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

29 Apr 21:40
Compare
Choose a tag to compare
  • 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 to id, also works with ActiveRecordWrapper. #76

OAI 0.3.1

16 Oct 18:09
Compare
Choose a tag to compare
  • Support for Ruby 2.0
  • Fix bug where trailing slash gets stripped off base URI
  • Fix some exceptions that weren't raising the right error