diff --git a/CHANGELOG.md b/CHANGELOG.md index a8fb14e2..ae3249a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [v2.1.1](https://github.com/leapfrogtechnology/sync-db/tree/v2.1.1) (2024-05-04) + +[Full Changelog](https://github.com/leapfrogtechnology/sync-db/compare/v2.1.0...v2.1.1) + +**Changes** + +- Update docs to reflect connection id filtering [\#230](https://github.com/leapfrogtechnology/sync-db/pull/230) ([mesaugat](https://github.com/mesaugat)) + ## [v2.1.0](https://github.com/leapfrogtechnology/sync-db/tree/v2.1.0) (2024-05-03) [Full Changelog](https://github.com/leapfrogtechnology/sync-db/compare/v2.0.1...v2.1.0) diff --git a/README.md b/README.md index e0a74710..5169accc 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ $ npm install -g @leapfrogtechnology/sync-db $ sync-db COMMAND running command... $ sync-db (-v|--version|version) -@leapfrogtechnology/sync-db/2.1.0 darwin-arm64 node-v20.5.0 +@leapfrogtechnology/sync-db/2.1.1 linux-x64 node-v20.12.2 $ sync-db --help [COMMAND] USAGE $ sync-db COMMAND @@ -78,7 +78,7 @@ USAGE $ sync-db ``` -_See code: [src/commands/index.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.0/src/commands/index.ts)_ +_See code: [src/commands/index.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.1/src/commands/index.ts)_ ## `sync-db help [COMMAND]` @@ -115,7 +115,7 @@ OPTIONS --object-name=object-name Name of table/view/routine to migrate. ``` -_See code: [src/commands/make.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.0/src/commands/make.ts)_ +_See code: [src/commands/make.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.1/src/commands/make.ts)_ ## `sync-db make-publish` @@ -129,7 +129,7 @@ OPTIONS -c, --config=config Custom configuration file. ``` -_See code: [src/commands/make-publish.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.0/src/commands/make-publish.ts)_ +_See code: [src/commands/make-publish.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.1/src/commands/make-publish.ts)_ ## `sync-db migrate-latest` @@ -143,10 +143,10 @@ OPTIONS -c, --config=config Custom configuration file. --connection-resolver=PATH Path to the connection resolver. --dry-run Dry run migration. - --only=CONNECTION_ID Filter only a single connection. + --only=CONNECTION_ID(s) Filter provided connection(s). Comma separated ids eg: id1,id2 ``` -_See code: [src/commands/migrate-latest.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.0/src/commands/migrate-latest.ts)_ +_See code: [src/commands/migrate-latest.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.1/src/commands/migrate-latest.ts)_ ## `sync-db migrate-list` @@ -159,10 +159,10 @@ USAGE OPTIONS -c, --config=config Custom configuration file. --connection-resolver=PATH Path to the connection resolver. - --only=CONNECTION_ID Filter only a single connection. + --only=CONNECTION_ID(s) Filter provided connection(s). Comma separated ids eg: id1,id2 ``` -_See code: [src/commands/migrate-list.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.0/src/commands/migrate-list.ts)_ +_See code: [src/commands/migrate-list.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.1/src/commands/migrate-list.ts)_ ## `sync-db migrate-rollback` @@ -176,10 +176,10 @@ OPTIONS -c, --config=config Custom configuration file. --connection-resolver=PATH Path to the connection resolver. --dry-run Dry run rollback. - --only=CONNECTION_ID Filter only a single connection. + --only=CONNECTION_ID(s) Filter provided connection(s). Comma separated ids eg: id1,id2 ``` -_See code: [src/commands/migrate-rollback.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.0/src/commands/migrate-rollback.ts)_ +_See code: [src/commands/migrate-rollback.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.1/src/commands/migrate-rollback.ts)_ ## `sync-db prune` @@ -193,10 +193,10 @@ OPTIONS -c, --config=config Custom configuration file. --connection-resolver=PATH Path to the connection resolver. --dry-run Dry run prune. - --only=CONNECTION_ID Filter only a single connection. + --only=CONNECTION_ID(s) Filter provided connection(s). Comma separated ids eg: id1,id2 ``` -_See code: [src/commands/prune.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.0/src/commands/prune.ts)_ +_See code: [src/commands/prune.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.1/src/commands/prune.ts)_ ## `sync-db synchronize` @@ -211,11 +211,11 @@ OPTIONS -f, --force Force synchronization. --connection-resolver=PATH Path to the connection resolver. --dry-run Dry run synchronization. - --only=CONNECTION_ID Filter only a single connection. + --only=CONNECTION_ID(s) Filter provided connection(s). Comma separated ids eg: id1,id2 --skip-migration Skip running migrations. ``` -_See code: [src/commands/synchronize.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.0/src/commands/synchronize.ts)_ +_See code: [src/commands/synchronize.ts](https://github.com/leapfrogtechnology/sync-db/blob/v2.1.1/src/commands/synchronize.ts)_