Skip to content

Releases: moonrhythm/hime

Release 0.12.1

07 Nov 09:31
ec916e5
Compare
Choose a tag to compare
  • fix minify JavaScript breaking change

Release 0.12.0

07 Nov 09:13
be9e60f
Compare
Choose a tag to compare
  • Drop support for Go 1.10
  • Update minify to v2

Release 0.11.0

18 Sep 11:41
aba3657
Compare
Choose a tag to compare

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

08 Sep 15:28
53635d5
Compare
Choose a tag to compare
Release 0.10.0 Pre-release
Pre-release
  • 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

22 Aug 16:26
3f99814
Compare
Choose a tag to compare
Release 0.9.4 Pre-release
Pre-release
  • fix template parse files lookup when already set root

Release 0.9.3

22 Aug 15:51
9e940f4
Compare
Choose a tag to compare
Release 0.9.3 Pre-release
Pre-release
  • fixed template parse glob not work with dir

Release 0.9.2

22 Aug 15:30
ef2989c
Compare
Choose a tag to compare
Release 0.9.2 Pre-release
Pre-release
  • 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

21 Aug 12:14
6bc85b0
Compare
Choose a tag to compare
Release 0.9.1 Pre-release
Pre-release
  • template: fix parse files without lookup, by use first not empty template.

Release 0.9.0

21 Aug 07:52
130e675
Compare
Choose a tag to compare
Release 0.9.0 Pre-release
Pre-release
  • 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

20 Aug 06:56
e40d258
Compare
Choose a tag to compare
Release v0.8.2 Pre-release
Pre-release
  • expose NewAppContext
  • add more tests
  • try to fix go.mod 😢