|
1 | 1 | # @opensaas/stack-cli |
2 | 2 |
|
| 3 | +## 0.19.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [#342](https://github.com/OpenSaasAU/stack/pull/342) [`94b0df6`](https://github.com/OpenSaasAU/stack/commit/94b0df65c860348441200d914dbf37bda3bd25cf) Thanks [@borisno2](https://github.com/borisno2)! - Improve KeystoneJS migration agent with side-by-side examples and targeted update guidance |
| 8 | + |
| 9 | + The Keystone migration wizard and agent now produce a targeted migration guide instead of |
| 10 | + regenerating the entire config. Since Keystone and OpenSaaS Stack share the same |
| 11 | + `list()`/field/hook/access API, only imports, the database adapter config, and auth setup |
| 12 | + need to change. |
| 13 | + |
| 14 | + Key improvements: |
| 15 | + - The migration agent prompt now includes side-by-side Keystone vs OpenSaaS examples for |
| 16 | + config structure, imports, access control, hooks, auth, and many-to-many join tables |
| 17 | + - The wizard uses a minimal fast-path for Keystone projects (just 3 questions: db provider, |
| 18 | + auth, auth methods) instead of the full question flow |
| 19 | + - The generator produces a diff-style migration guide for Keystone showing exactly what to |
| 20 | + change, rather than regenerating list definitions the user already has |
| 21 | + - Many-to-many join table naming is now surfaced automatically when M2M relations are |
| 22 | + detected, with `joinTableNaming: 'keystone'` guidance to preserve existing data |
| 23 | + |
| 24 | +### Patch Changes |
| 25 | + |
| 26 | +- [#345](https://github.com/OpenSaasAU/stack/pull/345) [`c815d2f`](https://github.com/OpenSaasAU/stack/commit/c815d2f02a81b16189e8eea0e635ea1aa0a1d6ec) Thanks [@borisno2](https://github.com/borisno2)! - Fix `migrate --with-ai` generating `path` instead of `repo` in Claude marketplace settings |
| 27 | + |
| 28 | +- [#345](https://github.com/OpenSaasAU/stack/pull/345) [`c815d2f`](https://github.com/OpenSaasAU/stack/commit/c815d2f02a81b16189e8eea0e635ea1aa0a1d6ec) Thanks [@borisno2](https://github.com/borisno2)! - Fix broken migration guide URL in `migrate` console output (missing `/docs` prefix) |
| 29 | + |
| 30 | +- [#344](https://github.com/OpenSaasAU/stack/pull/344) [`c259030`](https://github.com/OpenSaasAU/stack/commit/c259030dab3cdc641a9f40dd21746a1bd46fb76d) Thanks [@borisno2](https://github.com/borisno2)! - Fix updatedAt field to include @default(now()) in generated Prisma schema to prevent migration failures on databases with existing data |
| 31 | + |
| 32 | +- Updated dependencies []: |
| 33 | + - @opensaas/stack-core@0.19.0 |
| 34 | + |
3 | 35 | ## 0.18.2 |
4 | 36 |
|
5 | 37 | ### Patch Changes |
|
0 commit comments