Skip to content

Commit 40c91b0

Browse files
committed
chore: update changelog for v2.0.0 release
Added entries for v2.0.0, including Go generics support, unified authentication, enhanced documentation, CI improvements, dependency updates, and breaking changes. Credits contributors and links to the full changelog.
1 parent 4ad10bf commit 40c91b0

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v2.0.0] - 2025-08-16
9+
10+
### Added
11+
12+
- **Go Generics Support**: Introduced generic constraint `Identifier` interface supporting both `int64` App IDs and `string` Client IDs in a single `NewApplicationTokenSource` function
13+
- **Type-Safe Authentication**: Automatic type inference eliminates the need for separate functions while maintaining type safety
14+
- **Enhanced Documentation**: Official GitHub API references and JWT technical details while maintaining godoc compliance
15+
16+
### Changed
17+
18+
- **BREAKING**: Unified `NewApplicationTokenSource` function now uses Go generics to support both int64 App IDs and string Client IDs
19+
- **BREAKING**: Go version requirement bumped to 1.21+ (required for generics support)
20+
- Updated Go version to 1.25 in CI workflows and documentation
21+
- Improved CI workflow configurations with updated GitHub Actions
22+
23+
### Fixed
24+
25+
- Eliminated code duplication between App ID and Client ID authentication flows
26+
- Fixed go version usage from go.mod in GitHub Actions build (#12)
27+
28+
### Dependencies
29+
30+
- Added Dependabot configuration to keep dependencies up to date (#13)
31+
- Bumped `styfle/cancel-workflow-action` from 0.10.0 to 0.12.1 (#15)
32+
- Bumped `actions/checkout` from 4 to 5 (#18)
33+
- Bumped `codecov/codecov-action` from 4 to 5 (#19)
34+
35+
**Contributors**: @jferrl, @grinish21
36+
37+
**Full Changelog**: <https://github.com/jferrl/go-githubauth/compare/v1.2.1...v2.0.0>
38+
839
## [v1.2.1] - 2025-08-08
940

1041
### Fixed

0 commit comments

Comments
 (0)