c151031d41
chore(deps): upgrade Turbo and opt out from telemetry
2024-06-27 16:05:45 +02:00
dependabot[bot]
48181d88b7
chore(deps): bump turbo from 1.10.16 to 2.0.5
...
Bumps [turbo](https://github.com/vercel/turbo ) from 1.10.16 to 2.0.5.
- [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...v2.0.5 )
---
updated-dependencies:
- dependency-name: turbo
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-27 16:05:45 +02:00
d779286084
chore(deps): upgrade TypeScript to v5.5 and enable isolatedDeclarations
2024-06-27 15:38:50 +02:00
ef848a0553
chore(deps): re-add the specific PNPM version for the deploy workflow
2024-06-27 13:27:34 +02:00
4d12402595
chore(deps): make sure the correct PNPM version is used (everywhere)
2024-06-27 11:55:33 +02:00
be5c4d28b6
chore(deps): make sure the correct PNPM version is used
2024-06-27 11:47:40 +02:00
2cefa2508b
chore(deps): upgrade PNPM to v9.4.0
2024-06-27 11:12:21 +02:00
0ff9f60d59
chore(deps): upgrade all action dependencies
...
Closes #70 , #128 , #135 , #145
2024-06-27 10:59:47 +02:00
github-actions[bot]
31693ddb3c
chore(release): version packages
2024-06-25 09:21:37 +02:00
57498db248
fix(mysql): close database connections gracefully when using Bun
2024-06-25 08:22:56 +02:00
github-actions[bot]
cf620a191d
chore(release): version packages
2024-05-30 10:16:07 +02:00
ca154fadeb
fix: exclude tsbuildinfo files from published packages for smaller bundles
2024-05-30 10:12:37 +02:00
github-actions[bot]
f300f147fa
chore(release): version packages
2024-05-29 16:23:49 +02:00
44426042cf
feat(mysql,postgres): automatically create the database if it doesn't exist ( fixes #147 )
2024-05-29 16:19:32 +02:00
aef2d7c861
fix(mysql): handle table initialization better in clustered database environments
...
The CREATE TABLE IF NOT EXISTS yields more locks than checking if the table exists using a SELECT first before running CREATE TABLE.
This makes more sense as the table usually already exists, so we optimize for the happy path.
2024-05-29 15:10:59 +02:00
github-actions[bot]
e396266f3d
chore(release): version packages
2024-04-04 14:46:54 +02:00
081ab34cb4
fix(reporter-pino): make sure the Pino reporter outputs logs in Bun environments
2024-04-04 14:43:38 +02:00
dependabot[bot]
520fdd94ef
chore(deps): bump changesets/action from 1.4.5 to 1.4.6
...
Bumps [changesets/action](https://github.com/changesets/action ) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/changesets/action/releases )
- [Changelog](https://github.com/changesets/action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/changesets/action/compare/v1.4.5...v1.4.6 )
---
updated-dependencies:
- dependency-name: changesets/action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 10:23:19 +01:00
github-actions[bot]
d1bd8fc74f
chore(release): version packages
2024-03-15 09:40:25 +01:00
41522094dd
fix(cli): handle the case where the config is returned as an object with a nested default property
2024-02-19 10:59:02 +01:00
dependabot[bot]
6763f338ce
chore(deps): bump the commitlint group with 2 updates
...
Bumps the commitlint group with 2 updates: [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli ) and [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional ).
Updates `@commitlint/cli` from 18.4.3 to 18.6.1
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.6.1/@commitlint/cli )
Updates `@commitlint/config-conventional` from 18.4.3 to 18.6.1
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v18.6.1/@commitlint/config-conventional )
---
updated-dependencies:
- dependency-name: "@commitlint/cli"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: commitlint
- dependency-name: "@commitlint/config-conventional"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: commitlint
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 11:55:46 +01:00
github-actions[bot]
6c4e441eff
chore(release): version packages
2024-02-13 13:00:15 +01:00
57a099169e
fix(cli): cleanup AbortSignal event listeners to avoid MaxListenersExceededWarning
2024-02-12 20:59:26 +01:00
github-actions[bot]
ae9e8b1b04
chore(release): version packages
2024-02-12 13:56:28 +01:00
1065322435
fix(pino): show correct statuses for the "list" and "new" commands
2024-02-12 13:47:55 +01:00
17feb2d2c2
fix(mysql): only unreference connections in a Bun environment as it has problems with Node for some reason
2024-02-12 13:35:18 +01:00
dependabot[bot]
98e3ed5c1b
chore(deps): bump pnpm/action-setup from 2.4.0 to 3.0.0
...
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup ) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/pnpm/action-setup/releases )
- [Commits](https://github.com/pnpm/action-setup/compare/v2.4.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: pnpm/action-setup
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 09:05:01 +01:00
1d33d65135
docs(cli): change URL path from /commands/ to /cli/
2024-02-09 14:48:51 +01:00
0c597fd7a8
docs(cli): add a main page for Emigrate's CLI
2024-02-09 14:48:51 +01:00
github-actions[bot]
0360d0b82f
chore(release): version packages
2024-02-09 14:05:35 +01:00
c838ffb7f3
fix(typescript): load config written in TypeScript without the typescript package when using Bun, Deno or tsx
2024-02-09 14:00:24 +01:00
198aa545eb
fix(mysql): unreference all connections so that the process can exit cleanly
...
In a NodeJS environment it will just work as before, but in a Bun environment it will make the "forced exit" error message disappear and remove the 10 s waiting period when migrations are done.
2024-02-09 13:13:27 +01:00
e7ec75d9e1
docs(faq): add note on using Emigrate for existing databases
2024-02-06 09:29:53 +01:00
b62c692846
docs(reporters): add "json" reporter and rename "default" to "pretty"
2024-02-06 09:22:35 +01:00
18382ce961
feat(reporters): add built-in "json" reporter and rename "default" to "pretty"
2024-02-06 09:22:35 +01:00
github-actions[bot]
4e8ac5294d
chore(release): version packages
2024-02-05 15:51:38 +01:00
61cbcbd691
fix(cli): force exiting after 10 seconds should not change the exit code
...
If all migrations have been run successfully we want the exit code to be 0 even though we had to force exit the process.
This is because on some platforms (e.g. Bun) all handles are not cleaned up the same as in NodeJS, so lets be forgiving.
2024-02-05 15:48:55 +01:00
github-actions[bot]
f720aae83d
chore(release): version packages
2024-02-05 15:14:33 +01:00
543b7f6f77
fix(bun): import setTimeout/setInterval from "node:timers" for .unref() to correctly work
2024-02-05 15:12:30 +01:00
db656c2310
chore: enable NPM provenance
2024-02-05 15:08:47 +01:00
github-actions[bot]
ff89dd4f86
chore(release): version packages
2024-02-05 14:54:05 +01:00
f8a5cc728d
fix(storage): make sure the storage initialization crashes when db connection can't be established
2024-02-05 14:50:17 +01:00
f6761fe434
chore: add missing docs changeset
2024-02-05 14:29:30 +01:00
ef45be9233
fix(reporters): show number of skipped migrations correctly in command output
2024-02-05 14:17:30 +01:00
69bd88afdb
chore: allow many parameters in test files
2024-01-26 16:09:49 +01:00
0faebbe647
docs(cli): document the relative file path support for the "remove" command
2024-01-26 16:09:49 +01:00
2f6b4d23e0
fix(reporter-default): don't dim decimal points in durations in the default reporter
2024-01-26 16:09:49 +01:00
1f139fd975
feat(remove): rework the "remove" command to be more similar to "up" and "list"
...
The old reporter methods related to the "remove" command is not used anymore and instead the shared `onMigrationStart`, `onMigrationSuccess` and `onMigrationError` methods are used.
Some preparation has also been made to support for removing multiple migrations at once in the future, similar to how the `--from` and `--to` CLI options work for the "up" command.
2024-01-26 16:09:49 +01:00
86e0d52e5c
feat(reporter-pino): adapt to the new Reporter interface
2024-01-26 16:09:49 +01:00
94ad9feae9
feat(types): simplify the EmigrateReporter interface by removing the "remove" specific methods
2024-01-26 16:09:49 +01:00