diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml new file mode 100644 index 00000000..9e5ffea8 --- /dev/null +++ b/.github/workflows/update-changelog.yml @@ -0,0 +1,60 @@ +# Regenerates the root CHANGELOG.md from git tags after a release. +# +# This runs AFTER the "Manual Package Publish" workflow finishes successfully +# (via workflow_run) so it is fully decoupled from the publish job — a changelog +# failure can never crash a release. It can also be triggered manually. +# It rebuilds the changelog from git tags + commit messages by following the +# process documented in .claude/commands/update-changelog.md. +name: Update Changelog + +on: + workflow_run: + workflows: ["Manual Package Publish"] + types: [completed] + workflow_dispatch: + +permissions: + contents: write + +jobs: + update-changelog: + if: github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' + runs-on: ubuntu-latest + steps: + - name: Generate a token + id: generate-token + uses: actions/create-github-app-token@v2 + with: + app-id: ${{ vars.BASE44_GITHUB_ACTIONS_APP_ID }} + private-key: ${{ secrets.BASE44_GITHUB_ACTIONS_APP_PRIVATE_KEY }} + owner: base44 + + - name: Checkout code + uses: actions/checkout@v4 + with: + ref: main + fetch-depth: 0 + fetch-tags: true + token: ${{ steps.generate-token.outputs.token }} + + - name: Update changelog + uses: anthropics/claude-code-action@v1 + with: + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + prompt: | + Update the root CHANGELOG.md file by following the process documented in + .claude/commands/update-changelog.md. Add entries for every git version tag + that is not yet documented, newest-first, matching the style of the existing + entries exactly. Only edit CHANGELOG.md. + claude_args: | + --model claude-haiku-4-5 + --allowedTools "Bash(git tag:*),Bash(git log:*),Read,Edit(CHANGELOG.md)" + + - name: Commit and push changelog + env: + GH_TOKEN: ${{ steps.generate-token.outputs.token }} + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git add CHANGELOG.md + git diff --staged --quiet || (git commit -m "docs: update changelog" && git push origin HEAD:main) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc39a156..6a52961f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,77 @@ # Changelog +## [0.1.1] - 2026-06-29 + +### Added + +- `--env` flag on `logs` to fetch preview, prod, or all logs (#551) + +## [0.1.0] - 2026-06-28 + +### Added + +- Remote-dev commands with sandbox and projectless connector support (#547) + +## [0.0.57] - 2026-06-28 + +### Added + +- `logs --format json` output and relative `--since`/`--until` shortcuts (#552) + +### Fixed + +- Normalize Deno Deploy `warn` level to `warning` in logs (#549) + +## [0.0.56] - 2026-06-17 + +### Added + +- Run the frontend dev server from `base44 dev` (#545) +- Support projectless app id commands (#541) + +### Changed + +- Introduce app context lifecycle (#540) + +## [0.0.55] - 2026-06-10 + +### Added + +- Seed `auth.json` from env-supplied credentials (#537) + +### Changed + +- Extract shared scaffold logic into `scaffold-shared` (#536) + +## [0.0.54] - 2026-06-07 + +### Fixed + +- Write `VITE_BASE44_APP_BASE_URL` instead of `VITE_BASE44_BACKEND_URL` in `.env.local` (#534) + +## [0.0.53] - 2026-06-07 + +### Added + +- Write `.env.local` on first run of `base44 dev` (#517) + +### Fixed + +- Inject service role token for unauthenticated function calls in the dev server (#516) +- Patch `Deno.serve` via `defineProperty` for Deno 2.8 compatibility (#533) + +## [0.0.52] - 2026-05-17 + +### Added + +- Plugins support (#503) +- `auth sso` command for SSO provider configuration (#484) +- Row-level security (RLS) support (#481) + +### Fixed + +- Return a non-zero exit code when a function deploy fails (#504) + ## [0.0.51] - 2026-04-28 ### Added