From cb0771667f7cd4d66ba2d5ee9b9d27a417dca051 Mon Sep 17 00:00:00 2001 From: George Dietrich Date: Sat, 7 Jan 2023 11:28:18 -0500 Subject: [PATCH] Bump components (#250) * Improve diff script to include GH compare link and allow diffing a single component * Add helper script to create the release branch/tag * Bump `console` * Bump `dependency-injection` * Bump `event-dispatcher` * Bump `routing` * Bump `serializer` * Bump `spec` * Bump `validator` * Bump constraint in `framework` component and root `shard.yml` * Add `common changelog` badge to `framework` component --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ README.md | 2 +- shard.yml | 2 +- src/athena-validator.cr | 4 ++-- 4 files changed, 30 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa1d866..d4a5ee3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## [0.3.0] - 2023-01-07 + +### Changed + +- **Breaking:** update default `AVD::Constraints::Email::Mode` to be `:html5` ([#230](https://github.com/athena-framework/athena/pull/230)) (George Dietrich) +- Refactor `AVD::Constraints::IP` to use new dedicated `Socket::IPAddress` methods ([#205](https://github.com/athena-framework/athena/pull/205)) (George Dietrich) +- Update minimum `crystal` version to `~> 1.6` ([#205](https://github.com/athena-framework/athena/pull/205)) (George Dietrich) + +### Added + +- Add `AVD::Constraints::Collection` ([#229](https://github.com/athena-framework/athena/pull/229)) (George Dietrich) +- Add `AVD::Constraints::Existence`, `AVD::Constraints::Required`, and `AVD::Constraints::Optional` for use with the collection constraint ([#229](https://github.com/athena-framework/athena/pull/229)) (George Dietrich) +- Add `AVD::Spec::ConstraintValidatorTestCase#expect_validate_value_at` to more easily handle validation of nested constraints ([#229](https://github.com/athena-framework/athena/pull/229)) (George Dietrich) +- Add `AVD::Constraints::Email::Mode::HTML5_ALLOW_NO_TLD` that allows matching `HTML` input field validation exactly ([#231](https://github.com/athena-framework/athena/pull/231)) (George Dietrich) + +### Removed + +- **Breaking:** remove `AVD::Constraints::Email::Mode::Loose` ([#230](https://github.com/athena-framework/athena/pull/230)) (George Dietrich) + +### Fixed + +- **Breaking:** fix spelling of `AVD::Constraints::ISSN#require_hyphen` parameter ([#222](https://github.com/athena-framework/athena/pull/222)) (George Dietrich) +- Fix property path display issue with `Enumerable` objects ([#229](https://github.com/athena-framework/athena/pull/229)) (George Dietrich) +- Fix `AVD::Constraints::Valid` constraints incorrectly being allowed within `AVD::Constraints::Composite` ([#229](https://github.com/athena-framework/athena/pull/229)) (George Dietrich) + ## [0.2.1] - 2022-09-05 ### Added @@ -99,6 +124,7 @@ _First release a part of the monorepo._ _Initial release._ +[0.3.0]: https://github.com/athena-framework/validator/releases/tag/v0.3.0 [0.2.1]: https://github.com/athena-framework/validator/releases/tag/v0.2.1 [0.2.0]: https://github.com/athena-framework/validator/releases/tag/v0.2.0 [0.1.7]: https://github.com/athena-framework/validator/releases/tag/v0.1.7 diff --git a/README.md b/README.md index 0159b1e..2f33edb 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Object/value validation library dependencies: athena-validator: github: athena-framework/validator - version: ~> 0.2.0 + version: ~> 0.3.0 ``` 2. Run `shards install` diff --git a/shard.yml b/shard.yml index d67052a..dd631ab 100644 --- a/shard.yml +++ b/shard.yml @@ -1,6 +1,6 @@ name: athena-validator -version: 0.2.1 +version: 0.3.0 crystal: ~> 1.6 diff --git a/src/athena-validator.cr b/src/athena-validator.cr index 82f6451..88067cf 100644 --- a/src/athena-validator.cr +++ b/src/athena-validator.cr @@ -50,7 +50,7 @@ alias Assert = AVD::Annotations # dependencies: # athena-validator: # github: athena-framework/validator -# version: ~> 0.2.0 +# version: ~> 0.3.0 # ``` # # Then run `shards install`, being sure to require it via `require "athena-validator"`. @@ -400,7 +400,7 @@ alias Assert = AVD::Annotations # # NOTE: See the related types for more detailed information. module Athena::Validator - VERSION = "0.2.1" + VERSION = "0.3.0" # :nodoc: #