Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Releases: bahlo/goat

v1.0.7: Header fixes, WriteJSONWithStatus

21 Mar 07:10
Compare
Choose a tag to compare

Fixed

  • Set application/json header in writeJSON

Added

  • WriteJSONWithStatus for returning your own status codes.

v1.0.6: Middleware fix and documentation refinements

18 Feb 13:28
Compare
Choose a tag to compare

Fixed

  • Bug where middleware was only applied to the top-level router, now uses the middleware from all the parents as well.

Changed

  • Badges in README.md are now SVG instead of PNG (Retina people be like 🙉🎉)
  • CONTRIBUTION.md is now generally more helpful.

v1.0.5: Fix HandlerFunc error

06 Jul 13:26
Compare
Choose a tag to compare

Changelog

  • Make notFoundHandler a HandlerFunc to prevent error on Go 1.4.2

v1.0.4: Correct Content-Type header

14 Mar 19:49
Compare
Choose a tag to compare

Changelog

  • This release set's the correct Content-Type header (application/json) on WriteJSON, see #2.

v1.0.3: ServeHTTP

12 Dec 09:04
Compare
Choose a tag to compare

Changelog

  • Add ServeHTTP func to implement the http.Handler interface
  • Add OPTIONS method

v1.0.2: TLS and better examples

03 Aug 16:26
Compare
Choose a tag to compare

Changelog

  • New method RunTLS to the Router, which expects HTTPS connections.
  • An example for wrapping incompatible middleware
  • Fixed a few typos in README.md
  • Fixed broken markdown list in CONTRIBUTING.md

v1.0.1: Better tests

01 Aug 20:56
Compare
Choose a tag to compare

This release adds more and better tests with a overall coverage of about 90 %.

v1.0: Initial release

01 Aug 18:00
Compare
Choose a tag to compare

This is the initial release.