Skip to content

Releases: ebsco/edsapi-ruby

Improved results error handling

31 Oct 16:12
1432056

Choose a tag to compare

Fixed

  • Throws error when query fails with a 200 status code and html error message (query = the meaning of life or 4=2), see #90.
  • Raises a specific "record not found" error instead of a generic "bad request" error when a record cannot be retrieved, see #88.

logger dependency removed

05 Dec 19:53

Choose a tag to compare

Changed

  • logger dependency removed since it's been part of the standard library.

Configurable cache

14 Nov 20:38

Choose a tag to compare

Fixed

  • Fixed a bug where the cached auth key isn't deleted if it expires before its cache expiration. This should only occur in rare cases where the auth token cache expiration exceeds 30 minutes.

Added

  • Cache expiration is configurable for individual EDS API calls (time unit = seconds).

Changed

  • Default cache expiration for auth keys is now 25 minutes instead of 30 to make sure they are always refreshed before their 30 minute expiration. If an expiration is configured longer than 25 minutes, it is reset to 25 minutes automatically.

Bug fixes: #85 and #86

02 Nov 20:40

Choose a tag to compare

  • Fixed a bug where fulltext html becomes nil after sanitizing. #85
  • Fixed a bug where the url protocol is missing from fulltext custom links. #86

List retrieval bug fixes

29 Oct 17:29

Choose a tag to compare

  • List retrieval returns a repeating list of just the first record.
  • List retrieval fails to increment the EDS result id.

Citation link replacement

18 Oct 19:51

Choose a tag to compare

You can specify find and replace regular expressions to either replace or remove links in citations.

Suppresses EBSCOhost links in citation styles and exports

15 Oct 21:50

Choose a tag to compare

EBSCOhost links in citation styles and exports are removed by default. They can be included by setting remove_citation_links to false in the config or by setting the ENV var EDS_REMOVE_CITATION_LINKS to false.

Citation styles and exports

10 Oct 16:07

Choose a tag to compare

Adds support for citation styles and export (RIS).