Recent Releases of crossrefapi

crossrefapi - Improved support for Work queries.

Merged contributions with improvement for complex API queries.

- Go
Published by rsdoiel about 1 year ago

crossrefapi - Improved support for complex CrossRef API

This release includes support for complex CrossRef API queries contributed by Louis Duchemin . Also updated the Go compiler requirements to v1.23.4 or better along with library dependencies.

What's Changed

  • Add support for complex queries on the CrossRef works API by @lsdch in https://github.com/caltechlibrary/crossrefapi/pull/2

New Contributors

  • @lsdch made their first contribution in https://github.com/caltechlibrary/crossrefapi/pull/2

Full Changelog: https://github.com/caltechlibrary/crossrefapi/compare/v1.0.7...v1.0.8

- Go
Published by rsdoiel about 1 year ago

crossrefapi - Maintenance Release

Updated to Go 1.22 and doitools v0.0.2.

Full Changelog: https://github.com/caltechlibrary/crossrefapi/compare/v1.0.6...v1.0.7

- Go
Published by rsdoiel about 2 years ago

crossrefapi - Fixed JSON encoding output

This is a bug fix release to fix HTML entities that were getting encoded as Unicode code points. The solution was to create a custom encoder and set the encoding explicitly to what makes sense.

- Go
Published by rsdoiel over 2 years ago

crossrefapi - Updates related to irdmtools, issue #19

This release is some changes need as a result of progress in irdmtools, issue #19.

- Go
Published by rsdoiel almost 3 years ago

crossrefapi - Bug fix, `.message["group-title"]` change

The CrossRef swagger docs indicate .message["group-title"] is an array of string but the records like "10.1101/564955” appear to have it as a single string. This release treats that value as a single string.

- Go
Published by rsdoiel almost 3 years ago

crossrefapi - Crossref API access bug fixes

Fixed a bug where article number wasn't mapping correctly and change .message.relation to point at an array of properties. Updated installation process to support installer.sh with Curl.

- Go
Published by rsdoiel almost 3 years ago

crossrefapi - Fix: missing article number attribute in works.message

This is a bug fix release. The .works.message["article-number"] attribute was missing in the Works data structure.

- Go
Published by rsdoiel almost 3 years ago

crossrefapi - Improved works model and added diff support

This release sees an internal change in how the works model is validate. Previous versions use a Go map[string]interface{} for working with the retreived "works" object. This release uses a series of structs to model the "works" object. Additionally new methods have been provided to detect if two "works" objects hold the same content (works.IsSame()), to display the elements that are changed (works.Changes()) and provide differs between the two obejcts (works.Diff() and works.DiffAsJSON()).

Full Changelog: https://github.com/caltechlibrary/crossrefapi/compare/v1.0.0...v1.0.1

The -m option was dropped in the cli. The -h option displays list of options and -help displays the contents of a man page suitable for transforming into a man page with Pandoc.

- Go
Published by rsdoiel almost 3 years ago

crossrefapi - Stable Release

Package is stable and it seems like a good time for 1.0.0.

- Go
Published by rsdoiel over 4 years ago

crossrefapi - go1.16 support

Added go1.16 module support, added experimental M1 compiled binaries.

- Go
Published by rsdoiel about 5 years ago

crossrefapi - 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.

- Go
Published by rsdoiel over 7 years ago

crossrefapi - 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.

- Go
Published by rsdoiel over 7 years ago

crossrefapi - 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.

- Go
Published by rsdoiel over 7 years ago

crossrefapi - Proof of concept release

This is the initial proof of concept release of crossrefapi Go package and command line tool.

- Go
Published by rsdoiel over 7 years ago