Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Latest commit

 

History

History
75 lines (62 loc) · 1.88 KB

CHANGELOG.md

File metadata and controls

75 lines (62 loc) · 1.88 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.4] - 2022-08-08

Added

  • Updating github CI dependencies
  • Updating CI to use Go 1.19
  • Updating CI linter version
  • Linting the code

[1.0.3] - 2022-02-18

Added

  • Tests covering .Is.`

Changed

  • .Is is on a pointer instead of value.

[1.0.2] - 2022-02-18

Added

  • API info is only added to error message on APIError.

[1.0.1] - 2022-02-18

Added

  • Added ability to pre-append Options.

[1.0.0] - 2022-02-17

Added

  • Functional Options.

Changed

  • New now implements the functional optional pattern.

Removed

  • Removed SetStatusCode.

[0.0.2] - 2021-09-27

Changed

  • Wrap now accepts a list of errors.

[0.0.1] - 2021-09-24

Checklist

  • CI Pipeline:
    • Lint
    • Tests
  • Documentation:
    • Package's documentation (doc.go)
    • Meaningful code comments, and symbol names (const, var, func)
    • GoDoc server tested
    • README.md
    • LICENSE
      • Files has LICENSE in the header
    • Useful CHANGELOG.md
    • Clear CONTRIBUTION.md
  • Automation:
    • Makefile
  • Testing:
    • Coverage 80%+
    • Unit test
    • Real testing
  • Examples:
    • Example's test file

Added

  • Ability to create custom errors.
  • Ability to create custom errors with code.
  • Ability to create custom errors with status code.
  • Ability to create custom errors with message.
  • Ability to create custom errors wrapping an error.
  • Ability to create static (pre-created) custom errors.
  • Ability to create dynamic (in-line) custom errors.
  • Ability to print a custom error with a dynamic, and custom message.