Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.3.0 #20

Merged
merged 1 commit into from
Oct 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)

## [Unreleased]
## [0.3.0] - 2022/10/31

### Added

Expand All @@ -16,20 +16,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The tasks in the CI are now ran in parallel.
- The VerdeterCommand method `SetValidator` is now named `AddValidator`. Although the argument list did not change, the behavior did. Now the method will add a validator to the ConfigKey validators list.

### Fixed
### Fixed

- fixed a bug regarding the validation cascade in multicommand app. The validation function of a root Command return an error on valid input when a subcommand was called.

## [0.2.1] - 2022/10/11

### Fixed
### Fixed

- fixed a bug in the command initialization that affected multicommand apps: the initialisation function ran multiples times instead of running one time on the root command. Now the initialisation is ran in the pre run step only on the root command.
- fixed configuration search to be posix compliant.

## [0.2.0] - 2022/10/06

### Added
### Added

- Add Uint type for config keys. It prevents the user from creating a validator to check that the value is not <0 .
- Add a validator named AuthorizedValues that check if the value of a config key is contained in a defined array of authorized values.
Expand All @@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Setup e2e test solution (cucumber + docker).
- This project was imported from github.com/ditrit/gandalf/verdeter.

[0.3.0]: https://github.com/ditrit/verdeter/blob/v0.3.0/changelog.md
[0.2.1]: https://github.com/ditrit/verdeter/blob/v0.2.1/changelog.md
[0.2.0]: https://github.com/ditrit/verdeter/blob/v0.2.0/changelog.md
[0.1.0]: https://github.com/ditrit/verdeter/blob/0.1.0/changelog.md