Skip to content

Releases: bmf-san/goblin

5.1.0

16 Mar 12:26
059b309
Compare
Choose a tag to compare

Description

Update go version to 1.18 🎉
Minor updates in README.

What's Changed

Full Changelog: 5.0.5...5.1.0

5.0.5

17 Oct 15:04
39e908f
Compare
Choose a tag to compare

Description

Minor updates in README.

What's Changed

Full Changelog: 5.0.4...5.0.5

5.0.4

16 Oct 16:45
95654e0
Compare
Choose a tag to compare

Description

Minor fixed in a certain test case.

What's Changed

  • Enable comment out section in test case by @bmf-san in #47

Full Changelog: 5.0.3...5.0.4

5.0.3

16 Oct 09:32
0f9ec15
Compare
Choose a tag to compare

Description

Fixed go version for CI.

What's Changed

Full Changelog: 5.0.2...5.0.3

5.0.2

11 Sep 08:14
262c174
Compare
Choose a tag to compare

Description

Update go version to go1.17

What's Changed

Full Changelog: 5.0.1...5.0.2

5.0.1

18 May 15:14
ad76fa1
Compare
Choose a tag to compare

Description

  • Fix bugs related to middlewares
  • Refactoring trie data structures
  • Updated error handling for error response

What's Changed

Full Changelog: 5.0.0...5.0.1

5.0.0

16 May 14:20
0afcfcd
Compare
Choose a tag to compare

Description

There was a bug that path matching could not be performed normally even if routing was registered with multiple methods.

What's Changed

Full Changelog: 4.0.0...5.0.0

4.0.0

14 May 16:45
7b89892
Compare
Choose a tag to compare

This tag is deprecated! Please use next version 5.0.0

Renamed some methods for route definition

  • Abolished methods such as GET, POST, PUT, DELETE, and OPTIONS, and added new Methods that can register multiple methods.
  • Due to the above changes, the Handler signature has changed.

Upgrade guide

This version is not backwards compatible and needs to be addressed when updating.

before

r.GET(`/`).Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    fmt.Fprintf(w, "/")
})

after

r.Methods(http.MethodGet).Handler(`/`, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    fmt.Fprintf(w, "/")
})

What's Changed

Full Changelog: 3.0.0...4.0.0

3.0.0

11 May 16:32
2f1ba1f
Compare
Choose a tag to compare

Renamed some methods for route definition

  • Renamed some methods for route definition
  • Removed benchmark tests #34
  • Deleted unnecessary processing in Serve HTTP

Upgrade guide

This version is not backwards compatible and needs to be addressed when updating.

If you are using the OPTION method, rename it to OPTIONS.

before

r.OPTION(`/`).Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    return
}))

after

r.OPTIONS(`/`).Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    return
}))

What's Changed

Full Changelog: 2.1.0...3.0.0

2.1.0

05 May 05:36
d8c5af6
Compare
Choose a tag to compare

Description

Reviewed the data structure of the trie tree and changed it so that middleware can be used flexibly.

It is backwards compatible and has no impact on the routing DSL.

What's Changed

  • To Improve the data structure of trie tree by @bmf-san in #36

Full Changelog: 2.0.1...2.1.0