|
1 | 1 | # @transcend-io/cli |
2 | 2 |
|
| 3 | +## 10.2.2 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- Updated dependencies [f252484] |
| 8 | + - @transcend-io/internationalization@4.0.1 |
| 9 | + - @transcend-io/type-utils@3.0.1 |
| 10 | + - @transcend-io/privacy-types@5.1.2 |
| 11 | + - @transcend-io/sdk@1.0.2 |
| 12 | + - @transcend-io/utils@0.1.2 |
| 13 | + |
| 14 | +## 10.2.1 |
| 15 | + |
| 16 | +### Patch Changes |
| 17 | + |
| 18 | +- ebc2e91: Migrate `@transcend-io/internationalization` into the tools monorepo and align it with the |
| 19 | + shared package conventions. |
| 20 | + |
| 21 | + Material changes: |
| 22 | + - the package is now built, tested, versioned, and released from the tools monorepo |
| 23 | + - the top-level API stays compatible, but the published filesystem layout now follows the |
| 24 | + monorepo's `dist/` plus `exports` structure instead of the legacy `build/` output |
| 25 | + - CLI, SDK, and privacy-types now consume the package from the local workspace |
| 26 | + |
| 27 | +- 8984fb5: Migrate `@transcend-io/type-utils` into the tools monorepo as a first-party workspace package. The package now uses the monorepo's standard build, test, and export conventions while preserving the existing utility and `io-ts` helper surface for internal consumers. |
| 28 | + |
| 29 | + Update the dependent workspace packages to consume the monorepo-managed `@transcend-io/type-utils` package instead of the previously external dependency reference. |
| 30 | + |
| 31 | +- Updated dependencies [ebc2e91] |
| 32 | +- Updated dependencies [8984fb5] |
| 33 | + - @transcend-io/internationalization@4.0.0 |
| 34 | + - @transcend-io/privacy-types@5.1.1 |
| 35 | + - @transcend-io/sdk@1.0.1 |
| 36 | + - @transcend-io/type-utils@3.0.0 |
| 37 | + - @transcend-io/utils@0.1.1 |
| 38 | + |
| 39 | +## 10.2.0 |
| 40 | + |
| 41 | +### Minor Changes |
| 42 | + |
| 43 | +- f7a5c54: Move enricher functions from CLI to SDK + standardize function signatures |
| 44 | + - Add `dsr-automation/` module to SDK: `fetchAllRequestEnrichers`, `retryRequestEnricher`, `fetchAllEnrichers`, `syncEnricher` |
| 45 | + - Migrate GQL definitions: `ENRICHERS`, `CREATE_ENRICHER`, `UPDATE_ENRICHER`, `INITIALIZER`, `REQUEST_ENRICHERS`, `RETRY_REQUEST_ENRICHER`, `SKIP_REQUEST_ENRICHER` |
| 46 | + - **BREAKING**: Standardize all new SDK function signatures to the `(client, options)` convention |
| 47 | + - `fetchAllRequestEnrichers`: `(client, filterOptions, opts)` → `(client, { filterBy, logger? })` |
| 48 | + - `fetchAllEnrichers`: `(client, { title?, logger })` → `(client, { filterBy?: { title? }, logger? })` |
| 49 | + - `retryRequestEnricher`: `(client, id, opts)` → `(client, { id, logger? })` |
| 50 | + - `syncEnricher`: `(client, syncOptions, opts)` → `(client, { input, identifierByName, dataSubjectsByName, logger? })` |
| 51 | + - Make `logger` optional across every SDK function; default to `NOOP_LOGGER` |
| 52 | + - All CLI imports updated to use `@transcend-io/sdk` directly |
| 53 | + |
| 54 | +- 00b9d23: Move identifier & data subject functions from CLI to SDK + standardize signatures |
| 55 | + - Add `dsr-automation/` module to SDK: `fetchAllRequestIdentifiers`, `fetchAllRequestIdentifierMetadata`, `fetchDataSubjects`, `syncDataSubject`, `fetchIdentifiers`, `syncIdentifier` |
| 56 | + - **Standardize all new SDK function signatures** to the `(client, options)` convention |
| 57 | + - Make `logger` optional across every new SDK function; use `NOOP_LOGGER` default |
| 58 | + - Filters nested under `filterBy`; create/update data nested under `input` |
| 59 | + - All imports updated to use `@transcend-io/sdk` directly |
| 60 | + |
| 61 | +- 896364c: Standardize SDK function signatures to follow `(client, options)` convention |
| 62 | + |
| 63 | + BREAKING CHANGES: |
| 64 | + - `fetchRequestDataSilosCount`, `fetchRequestDataSilos`, `fetchRequestDataSilo`: collapse separate filter + options params into single `options: { logger, filterBy? }` |
| 65 | + - `fetchRequestFilesForRequest`: collapse 4 positional params into `(client, options: { logger, pageSize?, filterBy })` |
| 66 | + - `fetchAllCookies`, `fetchAllDataFlows`: move `status` param into `options.filterBy.status` |
| 67 | + - `updateDataFlows`, `createDataFlows`, `syncDataFlows`: move `classifyService` boolean into options object |
| 68 | + - `loginUser`, `assumeRole`: separate logger from domain data into `(client, credentials, { logger })` |
| 69 | + - `fetchAllTemplates`: move `title` filter into `options.filterBy.title` |
| 70 | + - `fetchPromptsWithVariables`: move `promptTitles`/`promptIds` into `options.filterBy.titles`/`options.filterBy.ids` |
| 71 | + - `fetchAllApiKeys`: move `titles` filter into `options.filterBy.titles` |
| 72 | + - `fetchApiKeys`: move `client` to first param, collapse `apiKeyInputs`/`fetchAll` into options |
| 73 | + |
| 74 | +### Patch Changes |
| 75 | + |
| 76 | +- a15fed8: Bump `@transcend-io/internationalization` from ^2.3.2 to ^3.0.0. |
| 77 | +- 6f2a059: feat(sdk): move data silo & datapoint GraphQL helpers to SDK |
| 78 | + - Move `fetchAllDataSilos`, `fetchAllDataPoints`, `fetchAllSubDataPoints`, `fetchEnrichedDataSilos` from CLI to SDK `data-inventory/` module |
| 79 | + - Move `syncDataSiloDependencies` from CLI to SDK `data-inventory/` module |
| 80 | + - Move data silo and datapoint GQL queries (`DATA_SILOS`, `DATA_SILO_EXPORT`, `DATA_SILOS_ENRICHED`, `CREATE_DATA_SILOS`, `UPDATE_DATA_SILOS`, `DATA_POINTS`, `DATA_POINT_COUNT`, `SUB_DATA_POINTS`, `SUB_DATA_POINTS_COUNT`, `SUB_DATA_POINTS_WITH_GUESSES`, `UPDATE_OR_CREATE_DATA_POINT`, `DATAPOINT_EXPORT`) from CLI to SDK |
| 81 | + - Move types (`DataSilo`, `DataSiloEnriched`, `DataSiloAttributeValue`, `SubDataPoint`, `DataPoint`, `DataPointWithSubDataPoint`) to SDK |
| 82 | + - Standardize all new SDK function signatures to `(client, options)` convention with optional `logger` |
| 83 | + - Delete `cli/src/lib/graphql/gqls/dataSilo.ts` and `cli/src/lib/graphql/gqls/dataPoint.ts` |
| 84 | + - CLI re-exports moved symbols from `@transcend-io/sdk` for backward compatibility |
| 85 | + |
| 86 | +- Updated dependencies [a15fed8] |
| 87 | +- Updated dependencies [8185679] |
| 88 | +- Updated dependencies [d3f8140] |
| 89 | +- Updated dependencies [29868af] |
| 90 | +- Updated dependencies [6f2a059] |
| 91 | +- Updated dependencies [f7a5c54] |
| 92 | +- Updated dependencies [00b9d23] |
| 93 | +- Updated dependencies [896364c] |
| 94 | + - @transcend-io/sdk@1.0.0 |
| 95 | + - @transcend-io/privacy-types@5.1.0 |
| 96 | + |
3 | 97 | ## 10.1.0 |
4 | 98 |
|
5 | 99 | ### Minor Changes |
|
0 commit comments