Commit graph

243 commits

Author SHA1 Message Date
121492b303 fix(cli): sort migrations lexicographically for real 2024-01-22 13:48:09 +01:00
github-actions[bot]
bddb2d6b14 chore(release): version packages 2024-01-22 11:32:48 +01:00
a4da353d5a feat(cli): add graceful process abort
Using an AbortSignal and Promise.race we abandon running migrations that take longer to complete after the process is aborted than the given abortRespite period
2024-01-22 11:30:06 +01:00
ce15648251 feat(types): add type for the onAbort Reporter method 2024-01-22 11:30:06 +01:00
github-actions[bot]
576dfbb124 chore(release): version packages 2024-01-19 13:48:24 +01:00
49d8925778 fix(docs): remove access control from package config 2024-01-19 13:43:59 +01:00
98adcda37e fix(reporters): use better wording in the header in the default reporter
Also show the number of skipped migrations
2024-01-19 13:43:59 +01:00
cbc35bd646 chore: start writing changesets for the documentation 2024-01-19 13:43:59 +01:00
e739e453d7 docs: add Baseline guide 2024-01-19 13:43:59 +01:00
f515c8a854 feat(cli): add --no-execution option to the "up" command
...which can be used to log manually run migrations as successful or for baselining a database.
2024-01-19 13:43:59 +01:00
e71c318ea5 test(up): structure the up tests in a better way 2024-01-19 13:43:59 +01:00
9ef0fa2776 feat(cli): add --from and --to options to limit what migrations to run 2024-01-19 13:43:59 +01:00
02c142e39a feat(up): add --limit option to limit the number of migrations to run 2024-01-19 13:43:59 +01:00
bf4d596980 fix(cli): clarify which options that takes parameters 2024-01-19 13:43:59 +01:00
github-actions[bot]
424d3e9903 chore(release): version packages 2024-01-18 15:25:51 +01:00
73a8a42e5f fix(history): support a migration history with entries without file extensions (.js is assumed in such case) 2024-01-18 15:18:35 +01:00
github-actions[bot]
114979f154 chore(release): version packages 2024-01-18 14:52:48 +01:00
dependabot[bot]
b083e88bac chore(deps): bump cosmiconfig from 8.3.6 to 9.0.0
Bumps [cosmiconfig](https://github.com/cosmiconfig/cosmiconfig) from 8.3.6 to 9.0.0.
- [Release notes](https://github.com/cosmiconfig/cosmiconfig/releases)
- [Changelog](https://github.com/cosmiconfig/cosmiconfig/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmiconfig/cosmiconfig/compare/cosmiconfig-v8.3.6...v9.0.0)

---
updated-dependencies:
- dependency-name: cosmiconfig
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 14:50:14 +01:00
cbc3193626 chore(deps): downgrade Turbo to 1.10.16 as it did work in the CI env 2024-01-18 11:13:28 +01:00
1b8439a530 ci: and does this make any difference? 2024-01-18 11:09:12 +01:00
891402c7d4 ci: does this make the release flow work? 2024-01-18 11:02:07 +01:00
github-actions[bot]
9130af7b12 chore(release): version packages 2024-01-18 10:50:05 +01:00
83dc618c2e fix(cli): remove --enable-source-maps flag 2024-01-18 10:46:04 +01:00
dependabot[bot]
a6e096bcbc chore(deps): bump turbo from 1.10.16 to 1.11.3
Bumps [turbo](https://github.com/vercel/turbo) from 1.10.16 to 1.11.3.
- [Release notes](https://github.com/vercel/turbo/releases)
- [Changelog](https://github.com/vercel/turbo/blob/main/release.md)
- [Commits](https://github.com/vercel/turbo/compare/v1.10.16...v1.11.3)

---
updated-dependencies:
- dependency-name: turbo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 14:06:06 +01:00
dependabot[bot]
9bfd0e44c3 chore(deps): bump typescript from 5.2.2 to 5.3.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 10:21:31 +01:00
dependabot[bot]
af83bf6d7f chore(deps): bump tsx from 4.6.2 to 4.7.0
Bumps [tsx](https://github.com/privatenumber/tsx) from 4.6.2 to 4.7.0.
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/develop/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.6.2...v4.7.0)

---
updated-dependencies:
- dependency-name: tsx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 09:57:03 +01:00
dependabot[bot]
a5264ab3d4 chore(deps): bump lint-staged from 15.1.0 to 15.2.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.1.0 to 15.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.1.0...v15.2.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 09:49:09 +01:00
dependabot[bot]
0cce84743d chore(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 06:44:34 +01:00
a130248687 docs: update loader plugin intro after adding TypeScript support 2024-01-08 11:06:59 +01:00
github-actions[bot]
3c54917c35 chore(release): version packages 2023-12-28 09:20:03 +01:00
9a605a85f1 feat: add support for TypeScript migration files
And add a guide to the documentation on how to set it up for NodeJS
2023-12-20 15:27:03 +01:00
github-actions[bot]
59eb90b8cb chore(release): version packages 2023-12-20 11:24:17 +01:00
9f91bdcfa0 feat(cli): add the --import option for importing modules/packages before commands are run
Can for instance be used to load environment variables using Dotenv
2023-12-20 11:08:27 +01:00
e6e4433018 feat(cli): rename extension short option from -e to -x
BREAKING CHANGE: if you've been using the `-e` short option you should change it to `-x` or use the long option name `--extension`
2023-12-20 09:27:43 +01:00
f9a16d87a1 feat: add color option to CLI and configuration file
The option is used to force enable/disable color output and is passed to the reporter which should respect it
2023-12-20 09:11:01 +01:00
7bae76f496 docs: include Deno usage instructions in the documentation 2023-12-19 15:40:05 +01:00
github-actions[bot]
e8e35215be chore(release): version packages 2023-12-19 14:51:40 +01:00
a6c6e6dc78 fix(types): forgot about the bun key in one package 2023-12-19 14:49:29 +01:00
github-actions[bot]
e67ce0de1e chore(release): version packages 2023-12-19 14:41:04 +01:00
beb6cf7719 chore(deps): upgrade ansis package 2023-12-19 14:34:54 +01:00
3a8b06b3b1 fix: revert usage of bun key in package.json exports 2023-12-19 14:29:42 +01:00
github-actions[bot]
747f9dbddb chore(release): version packages 2023-12-19 14:09:15 +01:00
ce6946cac4 feat: support for Bun 2023-12-19 14:06:00 +01:00
github-actions[bot]
c284cc48d1 chore(release): version packages 2023-12-19 13:33:11 +01:00
17c4723bb8 feat(postgres): implement the first version of the PostgreSQL plugin 2023-12-19 13:27:57 +01:00
3d34b8ba13 chore(deps): remove unused @manypkg/cli package 2023-12-19 10:33:05 +01:00
f8e13f0d66 docs: add some basic documentation for the storage plugin api 2023-12-19 10:29:58 +01:00
ca6834d95f refactor: use a custom Link component to be able to use absolute URLs everywhere
...that supports any `base` property
2023-12-19 09:57:23 +01:00
bdf831b008 docs: use correct hrefs for all link elements 2023-12-18 16:36:05 +01:00
58316ba6f8 docs: and yet another 2023-12-18 16:30:34 +01:00