Releases: moonrhythm/hime
Releases · moonrhythm/hime
Release 0.12.1
- fix minify JavaScript breaking change
Release 0.12.0
- Drop support for Go 1.10
- Update minify to v2
Release 0.11.0
Breaking Changes
- redirect from get to get will not trigger 303 status code
- ctx.HTML accept string instead of []byte
- ctx do not mutate request, response writer but will copy itself before mutate
- template preload will panic after parsed
- handler won't panic when return context cancel error
Bug Fixed
- fix reuse port for Windows
New Feature
- add reuse port config from file
Release 0.10.0
- move package to moonrhythm
- global support concurrency
- change component to preload
- introduce new component to add html/template
- add app.Serve to serve a listener
- add reuseport
- fix minify template out of its scope
Release 0.9.4
- fix template parse files lookup when already set root
Release 0.9.3
- fixed template parse glob not work with dir
Release 0.9.2
- add more tests 🔥
- fixed some edge cases
- add App.Shutdown and Apps.Shutdown
- expose internal app's server via App.Server
- remove server config directly from App, use App.Server() to config server instead
- panic when parse template from glob without root
Release 0.9.1
- template: fix parse files without lookup, by use first not empty template.
Release 0.9.0
- rename Template.Parse to Template.ParseFiles
- add Template.Parse to parse string into template
- add Template.ParseGlob
- remove js mime override
- refactor graceful shutdown logic
- refactor config
- embed http.Request to Context
- remove ctx.Query, use ctx.URL.Query instead
- use bytes.Buffer from pool when render template
- add Apps graceful shutdown config
- Apps can load config from file
Release v0.8.2
- expose NewAppContext
- add more tests
- try to fix go.mod 😢