Releases: sul-dlss/folio_client
Releases · sul-dlss/folio_client
Release list
v1.1.0
v1.0.0
What's Changed
- Update parameter documentation for post and put methods by @mjgiarlo in #245
- Update dependencies by @sul-devops-team in #246
- Refactor FolioClient request and delegation flow by @mjgiarlo in #247
Full Changelog: v0.21.0...v1.0.0
v0.21.0
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-Tokenrequest headers to cookie-based authN usingfolioAccessToken(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.configurenow prefers explicittenant_id:anduser_agent:arguments.- Legacy
okapi_headersusage remains supported via deprecation handling for backward compatibility.
Tests / docs
- Updated specs to stop asserting
X-Okapi-Tokenheaders on outbound requests. - Updated integration example usage to pass
tenant_idanduser_agentdirectly.
v0.20.0
What's Changed
- Update dependencies by @sul-devops-team in #220
- Remove obsolete platforms from Gemfile.lock by @jcoyne in #226
- Add ostruct as a dependency by @jcoyne in #224
- Swap byebug for debug by @jcoyne in #225
- Enable new rubocop rules by @jcoyne in #229
- Bump ruby version to 3.4 by @jcoyne in #230
- Add endpoint to fetch a location by @jcoyne in #227
- Update dependencies by @sul-devops-team in #231
- Add fetch_holdings by @jcoyne in #228
- Update dependencies by @sul-devops-team in #232
- Update dependencies by @sul-devops-team in #233
- Update dependencies by @sul-devops-team in #234
- Update holdings endpoint by @lwrubel in #235
- Add method to create holdings record by @lwrubel in #237
- Refactor error handling where UnexpectedResponse can take responsibility by @mjgiarlo in #238
New Contributors
Full Changelog: v0.19.0...v0.20.0
v0.16.0
What's Changed
- Get token from cookie when using /login-with-expiry in Poppy by @lwrubel in #105
- Handle possible errors with cookies by @lwrubel in #107
- Prefer exposing an interface for token refresh over leaking implementation details by @mjgiarlo in #108
- Prefer using the singleton instance over passing around instance and config objects by @mjgiarlo in #106
- Replace standard with plain-old rubo. by @justinlittman in #103
- Update dependencies by @sul-devops-team in #97, #98, #99, #100, #101, #102, and #104
Full Changelog: v0.15.0...v0.16.0
v0.15.0
What's Changed
- Update dependencies by @sul-devops-team in #93
- Update dependencies by @sul-devops-team in #94
- Update dependencies by @sul-devops-team in #95
- Setting configurable higher maximum number of job status checks by @lwrubel in #96
Full Changelog: v0.14.0...v0.15.0
v0.14.0
What's Changed
- Update dependencies by @sul-devops-team in #87
- Update dependencies by @sul-devops-team in #88
- Update dependencies by @sul-devops-team in #89
- Update dependencies by @sul-devops-team in #90
- add users query endpoints by @peetucket in #91
Full Changelog: v0.13.0...v0.14.0
v0.13.0
What's Changed
- Update dependencies by @sul-devops-team in #84
- Update dependencies by @sul-devops-team in #86
- Add endpoint for retrieving MARC XML by @mjgiarlo in #85
Full Changelog: v0.12.0...v0.13.0
v0.12.0
What's Changed
- Update to latest CircleCI orbs by @mjgiarlo in #68
- Use the change-manager API to determine file processing has completed by @mjgiarlo in #69
- Update standard gems and require standard-custom by @mjgiarlo in #70
- update dependencies by @ndushay in #71
- Make JenkinsCI post-update hook executable by @mjgiarlo in #72
- Update dependencies by @sul-devops-team in #73
- Update dependencies by @sul-devops-team in #74
- Update dependencies by @sul-devops-team in #75
- Update dependencies by @sul-devops-team in #76
- Update dependencies by @sul-devops-team in #78
- Update dependencies by @sul-devops-team in #80
- instead of eagerly fetching a token on client initialization, lazily wait for the first request to fail, and use the token refresh mechanism by @jmartin-sul in #81
- Update dependencies by @sul-devops-team in #83
- Less confusing token refresh (maybe?) by @jmartin-sul in #82
Full Changelog: v0.11.0...v0.12.0
v0.11.0
What's Changed
- Spruce up
FolioClient#configureand consolidate delegations by @mjgiarlo in #64 - Add missing method documentation to client instance by @mjgiarlo in #65
- Add missing YARD documentation to
DataImport#importby @mjgiarlo in #66 - List data import job profiles by @mjgiarlo in #67
Full Changelog: v0.10.1...v0.11.0