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

Add Changie changelog automation #106

Merged
merged 8 commits into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions .changelog-note.tmpl

This file was deleted.

42 changes: 0 additions & 42 deletions .changelog.tmpl

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/18.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/21.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/22.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/23.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/25.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/29.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/32.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/36.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/37.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/38.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/39.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/40.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/41.txt

This file was deleted.

11 changes: 0 additions & 11 deletions .changelog/42.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/43.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/45.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/55.txt

This file was deleted.

11 changes: 0 additions & 11 deletions .changelog/60.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/61.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/72.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/74.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/77.txt

This file was deleted.

31 changes: 0 additions & 31 deletions .changelog/80.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/83.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/87.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/88.txt

This file was deleted.

97 changes: 97 additions & 0 deletions .changes/0.9.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# 0.9.0 (December 20, 2022)

ENHANCEMENTS:

* listvalidator: Added `UniqueValues` validator ([#88](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/88))
* stringvalidator: Added `UTF8LengthAtLeast`, `UTF8LengthAtMost`, and `UTF8LengthBetween` validators ([#87](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/87))

# 0.8.0 (December 13, 2022)

NOTES:

* all: Support terraform-plugin-framework version 1.0.0 types handling ([#83](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/83))

# 0.7.0 (November 30, 2022)

BREAKING CHANGES:

* all: Migrated implementations to support terraform-plugin-framework version 0.17.0 `datasource/schema`, `provider/schema`, and `resource/schema` packages with type-specific validation ([#80](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/80))
* listvalidator: The `ValuesAre` validator has been removed and split into element type-specific validators in the same package, such as `StringValuesAre` ([#80](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/80))
* mapvalidator: The `ValuesAre` validator has been removed and split into element type-specific validators in the same package, such as `StringValuesAre` ([#80](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/80))
* metavalidator: The `All` and `Any` validators have been removed and split into type-specific packages, such as `stringvalidator.Any` ([#80](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/80))
* schemavalidator: The `AlsoRequires`, `AtLeastOneOf`, `ConflictsWith`, and `ExactlyOneOf` validators have been removed and split into type-specific packages, such as `stringvalidator.ConflictsWith` ([#80](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/80))
* setvalidator: The `ValuesAre` validator has been removed and split into element type-specific validators in the same package, such as `StringValuesAre` ([#80](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/80))

FEATURES:

* boolvalidator: New package which contains boolean type specific validators ([#80](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/80))
* objectvalidator: New package which contains object type specific validators ([#80](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/80))

# 0.6.0 (November 17, 2022)

NOTES:
* all: This Go module has been updated for deprecations in terraform-plugin-framework version 0.15.0 ([#72](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/72))
* all: This Go module has been updated to make it compatible with the breaking changes in terraform-plugin-framework version 0.16.0 ([#77](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/77))

BUG FIXES:
* mapvalidator: Updated `KeysAre()` to return all errors instead of just the first ([#74](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/74))

# 0.5.0 (August 30, 2022)

NOTES:

* This Go module has been updated to Go 1.18 per the [Go support policy](https://golang.org/doc/devel/release.html#policy). Any consumers building on earlier Go versions may experience errors. ([#55](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/55))

FEATURES:

* Introduced `datasourcevalidator` package with `AtLeastOneOf()`, `Conflicting()`, `ExactlyOneOf()`, and `RequiredTogether()` validation functions ([#60](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/60))
* Introduced `providervalidator` package with `AtLeastOneOf()`, `Conflicting()`, `ExactlyOneOf()`, and `RequiredTogether()` validation functions ([#60](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/60))
* Introduced `resourcevalidator` package with `AtLeastOneOf()`, `Conflicting()`, `ExactlyOneOf()`, and `RequiredTogether()` validation functions ([#60](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/60))

BUG FIXES:

* all: Included missing attribute path details in error diagnostics since they are currently not output by Terraform ([#61](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/61))

# 0.4.0 (July 20, 2022)

FEATURES:

* Introduced `metavalidator` package with `Any()`, `AnyWithAllWarnings()`, and `All()` validation functions ([#43](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/43))
* Introduced `schemavalidator` package with 4 new validation functions: `RequiredWith()`, `ConflictsWith()`, `AtLeastOneOf()`, `ExactlyOneOf()` ([#32](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/32))

ENHANCEMENTS:

* int64validator: Added `AtLeastSumOf()`, `AtMostSumOf()` and `EqualToSumOf()` validation functions ([#29](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/29))

# 0.3.0 (June 29, 2022)

FEATURES:

* Introduced `listvalidator` package with `ValuesAre()` validation functions ([#37](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/37))
* Introduced `mapvalidator` package with `KeysAre()` and `ValuesAre()` validation functions ([#38](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/38))
* Introduced `numbervalidator` package with `OneOf()` and `NoneOf()` validation functions ([#42](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/42))
* Introduced `setvalidator` package with `ValuesAre()` validation function ([#36](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/36))

ENHANCEMENTS:

* float64validator: Added `OneOf()` and `NoneOf()` validation functions ([#42](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/42))
* int64validator: Added `OneOf()` and `NoneOf()` validation functions ([#42](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/42))
* listvalidator: Added `SizeAtLeast()`, `SizeAtMost()` and `SizeBetween` validation functions ([#41](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/41))
* mapvalidator: Added `SizeAtLeast()`, `SizeAtMost()` and `SizeBetween` validation functions ([#39](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/39))
* setvalidator: Added `SizeAtLeast()`, `SizeAtMost()` and `SizeBetween` validation functions ([#40](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/40))
* stringvalidator: Added `OneOf()` and `NoneOf()` (case sensitive), and `OneOfCaseInsensitive()` and `NoneOfCaseInsensitive()` (case insensitive) validation functions ([#45](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/45))

# 0.2.0 (June 7, 2022)

BREAKING CHANGES:

* Fixed package naming for `int64validator`: was misnamed `validate` ([#25](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/25))

# 0.1.0 (May 25, 2022)

FEATURES:

* Introduced `float64validator` package with `AtLeast()`, `AtMost()`, and `Between()` validation functions ([#18](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/18))
* Introduced `int64validator` package with `AtLeast()`, `AtMost()`, and `Between()` validation functions ([#21](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/21))
* Introduced `stringvalidator.RegexMatches()` validation function ([#23](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/23))
* Introduced `stringvalidator` package with `LengthAtLeast()`, `LengthAtMost()`, and `LengthBetween()` validation functions ([#22](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/22))
Empty file added .changes/unreleased/.gitkeep
Empty file.
22 changes: 22 additions & 0 deletions .changie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
changesDir: .changes
unreleasedDir: unreleased
changelogPath: CHANGELOG.md
versionExt: md
versionFormat: '## {{.Version}} ({{.Time.Format "January 02, 2006"}})'
kindFormat: '{{.Kind}}:'
changeFormat: '* {{.Body}} ([#{{.Custom.Issue}}](https://github.com/hashicorp/terraform-plugin-framework-validators/issues/{{.Custom.Issue}}))'
custom:
- key: Issue
label: Issue/PR Number
type: int
minInt: 1
kinds:
- label: BREAKING CHANGES
- label: NOTES
- label: FEATURES
- label: ENHANCEMENTS
- label: BUG FIXES
newlines:
afterKind: 1
beforeKind: 1
endOfVersion: 2