Skip to content

Releases: yaitoo/xun

v1.1.3

27 Feb 07:58
990a2fa
Compare
Choose a tag to compare

What's Changed

  • fix(htmx): added ext/htmx.js library by @cnlangzi in #52
  • fix(htmx): added selector in xun.ready to check if the callback should be executed by @cnlangzi in #53
  • fix(json): use std json instead of json-iterator to support omitzero by @cnlangzi in #54
  • feat(acl): added Whitelist to allowing specific paths to bypass host checking by @cnlangzi in #55
  • fix(htmx): added fetch wrapper to support Hx-Trigger feature like htmx request by @cnlangzi in #56
  • feat(sse): added ext/sse by @cnlangzi in #59
  • fix(sse): added JsonEvent/TextEvent and updated Join with http.ResponseWriter by @cnlangzi in #60

Full Changelog: v1.1.2...v1.1.3

v1.1.2

17 Feb 15:41
d37d00c
Compare
Choose a tag to compare

What's Changed

  • feat(reqlog): added WithSkip by @cnlangzi in #47
  • feat(acl): added ext/acl to implement Access Control List with hosts/ipnets/countries by @cnlangzi in #48
  • fix(ext): added support to X-Forwarded-Proto in https checking by @cnlangzi in #49
  • !fix(viewer): pass *Context into viewer.Render by @cnlangzi in #50

Full Changelog: v1.1.1...v1.1.2

v1.1.1

13 Feb 06:34
0e69a1d
Compare
Choose a tag to compare

What's Changed

  • fix(context): exposed StatusCode by @cnlangzi in #38
  • feat(proxyproto): support serve http(s) server through proxy servers and load balancers by @cnlangzi in #40
  • !feat(form): Moved out Binder/Validator to reduce 3rd dependencies in the core class library by @cnlangzi in #41
  • fix(viewer): doesn't write body when it is HEAD request by @cnlangzi in #42
  • fix(hsts): added IgnoreRules on Redirect by @cnlangzi in #43
  • fix(hsts): added StartsWith rule by @cnlangzi in #44
  • feat(reqlog): added a middleware to logging requests by @cnlangzi in #45
  • feat(ext): added ext/csrf by @cnlangzi in #46

Full Changelog: v1.1.0...v1.1.1

v1.1.0

09 Feb 03:51
f4c86b5
Compare
Choose a tag to compare

What's Changed

  • fix(context): break match loop when any viewer is matched by @cnlangzi in #35
  • !feat/cookie by @cnlangzi in #36
  • fix(context): throw ErrViewNotFound when no view is available by @cnlangzi in #37

Full Changelog: v1.0.7...v1.1.0

v1.0.7

25 Jan 09:41
2eed869
Compare
Choose a tag to compare

What's Changed

  • feat(viewer): added StringViewer by @cnlangzi in #28
  • feat(ext): added hsts middleware by @cnlangzi in #29
  • fix(hsts): used Optional pattern in Enable by @cnlangzi in #30
  • fix(hsts): split hsts into WriteHeader and Redirect by @cnlangzi in #31
  • fix(file): fixed Last-Modified/Etag issue on embed file system by @cnlangzi in #33
  • fix(static): fixed embed fs checking by @cnlangzi in #34

Full Changelog: v1.0.6...v1.0.7

v1.0.6

19 Jan 23:48
b84c4f4
Compare
Choose a tag to compare

What's Changed

  • fix(context): improved accept match rules by @cnlangzi in #25
  • fix(routing): added WithViewers to overwrite default handler's viewers by @cnlangzi in #26
  • fix(context): specified viewer should take precedence over first one by @cnlangzi in #27

Full Changelog: v1.0.5...v1.0.6

v1.0.5

15 Jan 12:28
8ffc9c5
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.32.0 by @dependabot in #18
  • feat(text): add TextViewEngine/TextViewer by @cnlangzi in #23
  • chore(deps): bump github.com/go-playground/validator/v10 from 10.23.0 to 10.24.0 by @dependabot in #22
  • chore(docs): added TextView section by @cnlangzi in #24

Full Changelog: v1.0.4...v1.0.5

v1.0.4

05 Jan 07:34
1a0618b
Compare
Choose a tag to compare

What's Changed

  • fix: use html/template instead text/template for parse files by @giautm in #7
  • feat(compressor): added gzip/deflate compression support on request by @cnlangzi in #12
  • fix(deepsource): fixed deepsource warnings by @cnlangzi in #14
  • fix(htmx): added TestHtmxWriteHeader by @cnlangzi in #16
  • feat(autossl): added autossl extension by @cnlangzi in #17

New Contributors

  • @giautm made their first contribution in #7

Full Changelog: v1.0.3...v1.0.4

v1.0.3

01 Jan 02:24
Compare
Choose a tag to compare

Full Changelog: v1.0.2...v1.0.3