Releases: caltechlibrary/crossrefapi
Stable Release
Package is stable and it seems like a good time for 1.0.0.
go1.16 support
Added go1.16 module support, added experimental M1 compiled binaries.
Improved JSON number handling
This release is primarily a fix for calling the Works api and from another Go package. The Works() function now uses a custom json decoder which will return the number as a json.Number rather than a float64. It doesn't impact the cli version of this library.
Improved JSON response handling
The primary change in this release is that getJSON will only populate the returned Byte array if an HTTP Status
Code of 200 is received. Otherwise it'll be empty and error JSON values inferred from the HTTP Status code and message for the Works() method.
Bug fixes and improved client identification
There are some bug fixes, corrected codemeta.json, updated NewCrossRefClient() to require app name which is used in the headers sent to the CrossRef API to identify the client software. Code cleanup.
Proof of concept release
This is the initial proof of concept release of crossrefapi Go package and command line tool.