Zoom v0.16.0 Release Notes

Release Date: 2016-03-01 // about 8 years ago
  • ๐Ÿ“š This release focuses on improving flexibility and enabling more advanced usage. A number of methods, functions, and other identifiers which were previously unexported are now exported and documented. For a complete description of the new functions and methods, check the full documentation at godoc.org/albrow/zoom.

    ๐Ÿš€ This release is not backwards compatible with previous releases due to a small change to the Collection.ModelKey method. Previously, the method had a signature like func (*Collection) ModelKey(id string) (string, error) would return an error if you passed in an empty string. The new implementation has only one return value (a string) and returns an empty string if you pass in an empty string. However this change is not expected to affect many users.

    Full Changelog:

    • Exported commonly used ReplyHandlers (e.g. NewScanIntHandler, which will scan the reply value into an integer).
      • Exported useful Lua scripts in the form of a wrapper function (e.g. Transaction.ExtractIdsFromFieldIndex).
      • Added link to a new people repository which serves as an example of how to use Zoom in an HTTP/JSON API.
      • Removed the error return value from Collection.ModelKey.
      • Removed glide.lock and glide.yaml due to complications arising from checking in the vendor folder and the possibility of duplicated vendored packages. The recommended strategy for users of Zoom is now to vendor dependencies yourself.