Skip to content

Sort migration output by filename and bump version to 0.11.2#4

Merged
jalexw merged 2 commits into
mainfrom
claude/wonderful-cerf-7u25qp
Jun 19, 2026
Merged

Sort migration output by filename and bump version to 0.11.2#4
jalexw merged 2 commits into
mainfrom
claude/wonderful-cerf-7u25qp

Conversation

@jalexw

@jalexw jalexw commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

This release sorts the migration summary output by filename to match the order in which migrations are applied, and bumps the package version to 0.11.2.

Changes

  • Migration output sorting: Modified buildDbMigrations to sort the printed migration summary by filename (using basename and localeCompare). This ensures the console output reflects the actual order migrations are applied in, improving clarity for users.
  • Version bump: Updated package version from 0.11.1 to 0.11.2 in package.json and corresponding Docker image reference in README.md.

Implementation Details

The migration outputs are now sorted before printing by creating a shallow copy of migrationsResult.outputs and sorting it by the basename of each migration's path. This preserves the original array order while displaying migrations in the order they execute.

https://claude.ai/code/session_012Y2mvzwhEWcWZxiHMTsrW8

claude added 2 commits June 19, 2026 18:15
The build-db-migrations command printed the built migrations in Bun's
bundler output order, which is not guaranteed to be sorted. Since
migrations apply in lexicographic filename order, the unsorted summary
could misrepresent the actual apply order. Sort a copy of the build
outputs by filename before printing so the summary is deterministic and
reflects apply order.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012Y2mvzwhEWcWZxiHMTsrW8
Bump the package version following the addition of sorted CLI migration
output, and update the README body copy so the documented npm package /
ws-proxy image version matches package.json.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012Y2mvzwhEWcWZxiHMTsrW8
@jalexw jalexw self-assigned this Jun 19, 2026
@jalexw jalexw merged commit 6ad26a9 into main Jun 19, 2026
9 checks passed
@jalexw jalexw deleted the claude/wonderful-cerf-7u25qp branch June 19, 2026 18:31
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