Skip to content

Releases: caltechlibrary/pokapi

Release 0.4.0

18 Jan 23:38
Compare
Choose a tag to compare

This release adds a new exception class, PermissionError, to make it easier to detect problems involving such things as expired tokens.

Internally, code comments have been updated in a few places (e.g., to update the copyright year), linting with flake8 has been done, and some other minor corrections have been made.

Release 0.3.1

29 Sep 02:29
Compare
Choose a tag to compare

There are no functional changes in this release; all the changes consist of minor cleanup and documentation updates.

Release 0.3.0

28 Sep 00:50
Compare
Choose a tag to compare

Changes in this release:

  • Catch another case of authors in titles separated by / by.
  • Support creating FolioRecord objects using saved JSON data from FOLIO OKAPI API calls.
  • Rewrite all tests to use saved data instead of calling Caltech's FOLIO API server.

Release 0.2.1

22 Sep 21:31
Compare
Choose a tag to compare

Fixes in this release:

  • Fix: Folio.record(...) is supposed to throw a NotFound exception if it can't find the requested item. (It was returning a blank FolioRecord object.)
  • Fix: the fields in the definition of FolioRecord were out of date with the most recent code and documentation.
  • Fix: use a fallback method to get the author names from the title string instead of setting it to None.
  • Add acknowledgment for the artwork used for the icon.

Release 0.2.0

14 Sep 01:30
Compare
Choose a tag to compare

This release changes the parsing of authors to use the text that appears in the title field of the Folio record instead of the contributors list field.

Release 0.1.0

13 Sep 23:39
Compare
Choose a tag to compare

This release includes breaking changes to the API:

  • The parameter page_template is gone from the Folio object.
  • The field details_page is gone from the FolioRecord object.

These changes were made after the realization that the record pages were not a concept of FOLIO or Okapi, but rather of the discovery system, and thus they don't belong in Pokapi.

Release 0.0.2

08 Sep 21:31
Compare
Choose a tag to compare
  • Added more parameters to Folio interface object in order to avoid hardwiring Caltech-specific things into the code.
  • Removed thumbnail handling code; it doesn't belong here because FOLIO/Okapi doesn't have a way to get thumbnails. What Pokapi was doing before was something more closely related to EDS.
  • Changed fields in FolioRecord objects.
  • Made numerous internal changes and bug fixes.