From 60e8a4af4a61f07ffb0bdc6dd45bc3fcb9feb6b8 Mon Sep 17 00:00:00 2001 From: Mariano Goldman Date: Sat, 13 Jun 2026 10:06:16 -0300 Subject: [PATCH] Backfill v5.0.0 changelog and push via admin PAT The v5.0.0 release workflow generated the changelog correctly but the push to master was rejected by branch protection (GITHUB_TOKEN cannot satisfy the required status checks on a direct push), so CHANGELOG.md was never updated. - Backfill the v5.0.0 entry manually (one-off) and point the Unreleased compare link at v5.0.0. - Update update-changelog.yml to check out master with an admin PAT (secrets.RELEASE_TOKEN) so future releases can push the changelog commit; this requires enforce_admins to be disabled on master. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/update-changelog.yml | 4 ++++ CHANGELOG.md | 24 +++++++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 52e2201..4eb60fb 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -18,6 +18,10 @@ jobs: uses: actions/checkout@v5 with: ref: master + # Admin PAT so the changelog commit can be pushed to the protected + # master branch (the default GITHUB_TOKEN is rejected by branch + # protection). Requires enforce_admins to be disabled on master. + token: ${{ secrets.RELEASE_TOKEN }} persist-credentials: true - name: Update CHANGELOG diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a833ad..50158d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,28 @@ range of changes on `master` that have not been released yet. ## [Unreleased] +## v5.0.0 - 2026-06-13 + +### 🛡️ Security + +- Harden scheduling against unbounded ranges and invalid input (#27). + **BREAKING:** date ranges are now capped (default 366 days, `DateRangeTooLargeException`) + and schedule times must be a strict time of day (`HH:MM`/`HH:MM:SS`); previously + accepted values such as non-padded hours (`8:00`) or relative strings (`now`) are + rejected. + +### 🧰 Maintenance & Dependencies + +- Support Laravel 13, drop Laravel 12, and update dependencies (#25). + +### 📚 Documentation + +- Add a README usage guide and `AGENTS.md` (#26). + +### Other Changes + +- Automate changelog updates from GitHub releases (#28). + ## v4.1.2 - 2026-03-07 - Update dependencies (#24). @@ -94,4 +116,4 @@ range of changes on `master` that have not been released yet. - Initial release. -[Unreleased]: https://github.com/puntodev/bookables/compare/v4.1.2...HEAD +[Unreleased]: https://github.com/puntodev/bookables/compare/v5.0.0...HEAD