Skip to content

Commit 452cb4d

Browse files
authored
Merge pull request #121 from authzed/fix-changelog-gen
docs(release): update goreleaser and CHANGELOG configs
2 parents cb3a250 + 85fe675 commit 452cb4d

File tree

3 files changed

+31
-9
lines changed

3 files changed

+31
-9
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Run GoReleaser
3636
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
3737
with:
38-
args: release --clean
38+
args: release --clean --release-notes=CHANGELOG.md
3939
env:
4040
# GitHub sets the GITHUB_TOKEN secret automatically.
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ changelog:
6767
- '^Merge remote-tracking'
6868
groups:
6969
- title: Features
70-
regexp: "^.*feat[(\\w)]*:+.*$|^.*add[(\\w)]*:+.*$"
70+
regexp: "^feat(\\([^)]+\\))?:|^add(\\([^)]+\\))?:"
7171
order: 0
7272
- title: Bug Fixes
73-
regexp: "^.*fix[(\\w)]*:+.*$"
73+
regexp: "^fix(\\([^)]+\\))?:"
7474
order: 1
7575
- title: Documentation
76-
regexp: "^.*docs[(\\w)]*:+.*$"
76+
regexp: "^docs(\\([^)]+\\))?:"
7777
order: 2
7878
- title: Other Changes
7979
order: 999

CHANGELOG.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
- **Concurrency testing suite** - Performance benchmarking (15-75 resources), concurrent creation tests, and eventual consistency validation
12+
- **DeleteLanes infrastructure** - Conflict resolution system for resource deletion with intelligent retry logic
13+
- **Per-Permission System serialization lanes (PSLanes)** - Concurrent operations across different permission systems while preventing FGAM conflicts
14+
- **Enhanced troubleshooting documentation** - Performance guidance with resource count thresholds and parallelism recommendations
15+
16+
### Changed
17+
- **Client architecture refactor** - Improved retry mechanisms, exponential backoff, and enhanced context handling
18+
- **Performance optimizations** - Intelligent serialization, wait logic for eventual consistency, and significantly reduced execution time
19+
- **Resource creation flow** - Better context handling to prevent timeout and deadline exceeded errors
20+
- **Performance recommendations** - Default parallelism for ≤8 resources; use `parallelism=1` for >8 mixed resources, >5 service accounts, or >50 total resources
21+
- **HTTP compression disabled by default** - Ensures ETag visibility behind proxies
22+
- **Updated dependencies** - golang.org/x/sync v0.17.0, terraform-plugin-framework v1.16.0, terraform-plugin-framework-timeouts v0.6.0
23+
1024
### Fixed
11-
- Resolved plan modifier inconsistencies introduced with FGAM field additions in v0.4.0
12-
- Fixed "Provider produced inconsistent result after apply" errors by correctly configuring UseStateForUnknown() plan modifiers for immutable vs mutable computed fields
13-
- Immutable fields (id, created_at, creator) now use UseStateForUnknown() to prevent "(known after apply)" noise
14-
- Mutable FGAM fields (updated_at, updater) correctly omit UseStateForUnknown() to display actual API values
25+
- **FGAM field drift** - Resolved `updated_at`/`updater` drift with proper UseStateForUnknown plan modifiers
26+
- **Context deadline errors** - Fixed timeout issues in policy/role creation
27+
- **Resource deletion conflicts** - Enhanced conflict handling with DeleteLanes
28+
- **Service account state consistency** - Resolved disappearing resources due to eventual consistency
29+
- **FGAM conflicts** - PSLanes prevent 409 errors within same Permission System
30+
- **Plan modifier inconsistencies** - Fixed "Provider produced inconsistent result after apply" errors
31+
- **ETag header extraction** - Fixed issues with compressed responses
32+
- **Test suite stability** - Removed merge conflict markers breaking CI
33+
34+
### Removed
35+
- **Obsolete FGAM serialization configuration** - Removed deprecated `fgam_serialization` provider option and related documentation (replaced by more sophisticated PSLanes system)
36+
- **Legacy API implementation** - Cleaned up unused internal/api code after client optimizations and refactoring
1537

1638
## [0.4.1] - 2025-01-08 [YANKED]
1739

@@ -53,4 +75,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5375
- Documentation and examples
5476

5577
[Unreleased]: https://github.com/authzed/terraform-provider-cloudapi/compare/v0.1.0...HEAD
56-
[0.1.0]: https://github.com/authzed/terraform-provider-cloudapi/releases/tag/v0.1.0
78+
[0.1.0]: https://github.com/authzed/terraform-provider-cloudapi/releases/tag/v0.1.0

0 commit comments

Comments
 (0)