Skip to content

Version 1.4.1

Compare
Choose a tag to compare
@marjune163 marjune163 released this 17 Feb 02:20

Main changes

  • feat(serverHandler): provide main error information
  • chore(conf): update sysv init script
  • feat(serverHandler): respond 403 status for permission error
  • fix: ignore path name case on windows platform

Breaking changes

perf(serverHandler/responseData): provide status instead of detail errors

Providing response status directly, instead of giving out errors
information and calculate response status according to them.

BREAKING CHANGE:

Root fields passing to template changed.

before:

{{if .HasForbiddenError}}...{{end}}
{{if .HasNotFoundError}}...{{end}}
{{if .HasInternalError}}...{{end}}

after:

{{if eq .Status 403}}...{{end}}
{{if eq .Status 404}}...{{end}}
{{if eq .Status 500}}...{{end}}