Skip to content

fix(deps): require @imagekit/javascript ^5.5.0 and set up Release Please - #6

Merged
imagekitio merged 4 commits into
mainfrom
chore/release-please-and-javascript-5.5
Sep 17, 2026
Merged

imagekitio merged 4 commits into
mainfrom
chore/release-please-and-javascript-5.5

Conversation

@imagekitio

Copy link
Copy Markdown
Contributor

Summary

Two things, in two commits:

1. fix(deps): require @imagekit/javascript ^5.5.0

@imagekit/javascript 5.5.0 adds the density transformation (dn). Because @imagekit/astro only declared ^5.1.0, a consumer whose lockfile pins an older 5.x would keep it after upgrading this package and the URL builder would silently drop density. Raising the floor forces the resolver to pick up 5.5.0 on the next upgrade. Fresh installs already resolve to 5.5.0 either way.

  • Lockfile regenerated with pnpm 9.5.0 to match the CI --frozen-lockfile install. The test-app dependency is bumped too. Changelog will live at imagekit-astro/CHANGELOG.md since the package is not at the repo root.

2. ci: set up Release Please

Same layout as imagekit-javascript:

  • release-please-config.json and .release-please-manifest.json seeded at the current version 1.0.2
  • .github/workflows/release-please.yml, runs on push to main with the org-level RELEASE_PLEASE_TOKEN (already shared with this repo)
  • .github/workflows/sync-release-as.yml, lets you retitle the release PR to pin a version

Choices worth a look:

  • include-v-in-tag: false, so tags stay 1.0.2-style like the existing releases. Release Please finds the last release by that tag on its first run, so no bootstrap SHA is needed.
  • The existing publish workflow already triggers on release: published, so a Release Please release will publish to npm with no change.

Merge guidance

Squash-merge with the PR title as the commit message, or merge-commit as is. Either way the fix(deps) commit is a releasable change, so Release Please will open a release: 1.0.3 PR right after this lands. Merge that to publish.

🤖 Generated with Claude Code

manu4543 and others added 4 commits September 16, 2026 15:11
Adds release-please-config.json, .release-please-manifest.json (seeded at
1.0.2), the Release Please workflow, and the Release-As sync workflow used
by the other ImageKit SDK repos.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…tion support

Raises the minimum @imagekit/javascript to 5.5.0, which adds the
`density` transformation (serialized as `dn`). Consumers with an older
lockfile pin would otherwise keep 5.4.x and silently drop the parameter.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Same shape as imagekit-javascript's publish workflow:
- id-token: write, no NODE_AUTH_TOKEN, no `npm whoami`
- Node 24 with npm pinned to the 11 line (>= 11.5.1 needed; npm@latest
  is 12 and refuses older Node)
- `npm publish --provenance`
- workflow_dispatch so a failed publish can be re-run from the default
  branch without re-tagging

The trusted publisher on npmjs.com must reference this file's name,
`publish.yml`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Add workflow_dispatch so Release Please can be triggered by hand, e.g.
when GitHub drops the push event for a merge.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@imagekitio
imagekitio merged commit 202f720 into main Sep 17, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants