Morikuni Failure Versions Save

failure is a utility package for handling application errors.

v2.0.0rc1

3 weeks ago

v1.1.2

1 year ago

What's Changed

Full Changelog: https://github.com/morikuni/failure/compare/v1.1.1...v1.1.2

v1.1.1

1 year ago

What's Changed

Full Changelog: https://github.com/morikuni/failure/compare/v1.1.0...v1.1.1

v1.1.0

1 year ago

What's Changed

Full Changelog: https://github.com/morikuni/failure/compare/v1.0.0...v1.1.0

Note

Go 1.11 and 1.12 support has been dropped to use errors.As internally.

⚠️ Breaking Change ⚠️

If you implements As(interface{}) bool in your error and using type switch with case failure.Tracer, then you should change it to case *failure.Tracer (use pointer). See #45 more details. Ordinary users should not be affected.

v1.0.0

1 year ago

What's Changed

Full Changelog: https://github.com/morikuni/failure/compare/v0.14.0...v1.0.0

v0.14.0

3 years ago

Note: Minor version update before v1.0.0 may include breaking changes.

Changes

  • Add Trace function and Tracer interface for structured log. #39

v0.13.0

3 years ago

Note: Minor version update before v1.0.0 may include breaking changes.

Changes

Including breaking changes

  • Add WithUnexpected instead of WithoutCode #36

Migration guideline from older version

  • Stop using WithNoCode and use WithUnexpected.
  • Remove NoCode method if you have defined it on your error types.

v0.12.1

4 years ago

Note: Minor version update before v1.0.0 may include breaking changes.

Changes

  • Remove unnecessary checking #32
  • Add deprecate comments #33
  • Rename receivers #34
  • Add MarkUnexpected and WithoutCode #35

v0.12.0

4 years ago

Note: Minor version update before v1.0.0 may include breaking changes.

Changes

Including breaking changes

  • Support new As method #31

Migration guideline from older version

  • None for almost application. Even if there is, just fix compile error.

v0.11.1

4 years ago
  • Support Go 1.13's error package #30

Note: Minor version update before v1.0.0 may include breaking changes.