Skip to content

Releases: sul-dlss/folio_client

v1.1.0

Choose a tag to compare

@mjgiarlo mjgiarlo released this 16 Apr 22:56
e61a2d5

What's Changed

  • Support delete operation and allow extension of low-level HTTP methods by @mjgiarlo in #248

Full Changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@mjgiarlo mjgiarlo released this 15 Apr 16:21
665bae0

What's Changed

Full Changelog: v0.21.0...v1.0.0

v0.21.0

Choose a tag to compare

@mjgiarlo mjgiarlo released this 08 Apr 00:02
20d0893

This release updates Folio authentication handling to match current Folio behavior.
FolioClient no longer sends X-Okapi-Token in the header of every request. Instead, it authenticates via folioAccessToken cookie management in Faraday middleware. Existing token-refresh behavior is preserved.

Consumers should prefer:

FolioClient.configure(
  url: ...,
  login_params: ...,
  tenant_id: ...,
  user_agent: ...
)

(The okapi_headers param is still accepted for backwards compatibility but is now deprecated.)

Changed

  • Switched authentication behavior from explicit X-Okapi-Token request headers to cookie-based authN using folioAccessToken (a JWT) managed by Faraday cookie middleware.
  • Removed per-request token header injection from FolioClient#get, #post, and #put.
  • Continued support for automatic token refresh on 401/403 responses via existing retry flow.

Configuration

  • FolioClient.configure now prefers explicit tenant_id: and user_agent: arguments.
  • Legacy okapi_headers usage remains supported via deprecation handling for backward compatibility.

Tests / docs

  • Updated specs to stop asserting X-Okapi-Token headers on outbound requests.
  • Updated integration example usage to pass tenant_id and user_agent directly.

v0.20.0

Choose a tag to compare

@lwrubel lwrubel released this 13 Mar 20:28

What's Changed

New Contributors

Full Changelog: v0.19.0...v0.20.0

v0.16.0

Choose a tag to compare

@mjgiarlo mjgiarlo released this 10 Jan 17:01
7c0393b

What's Changed

Full Changelog: v0.15.0...v0.16.0

v0.15.0

Choose a tag to compare

@mjgiarlo mjgiarlo released this 10 Jan 17:04

What's Changed

Full Changelog: v0.14.0...v0.15.0

v0.14.0

Choose a tag to compare

@mjgiarlo mjgiarlo released this 10 Jan 17:04

What's Changed

Full Changelog: v0.13.0...v0.14.0

v0.13.0

Choose a tag to compare

@mjgiarlo mjgiarlo released this 04 Oct 21:50
a35b365

What's Changed

Full Changelog: v0.12.0...v0.13.0

v0.12.0

Choose a tag to compare

@mjgiarlo mjgiarlo released this 27 Sep 17:29

What's Changed

Full Changelog: v0.11.0...v0.12.0

v0.11.0

Choose a tag to compare

@mjgiarlo mjgiarlo released this 04 Apr 18:24
797248c

What's Changed

  • Spruce up FolioClient#configure and consolidate delegations by @mjgiarlo in #64
  • Add missing method documentation to client instance by @mjgiarlo in #65
  • Add missing YARD documentation to DataImport#import by @mjgiarlo in #66
  • List data import job profiles by @mjgiarlo in #67

Full Changelog: v0.10.1...v0.11.0