diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 37fcefa..8d7e5f1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.0.0" + ".": "1.0.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index d7f13bf..fc8309c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.0.1 (2026-06-03) + +Full Changelog: [v1.0.0...v1.0.1](https://github.com/parallel-web/parallel-sdk-typescript/compare/v1.0.0...v1.0.1) + +### Chores + +* remove undocumented backwards-compat alias shims ([e9bcf03](https://github.com/parallel-web/parallel-sdk-typescript/commit/e9bcf03e2c2d46a7f615e0365688ddc0f2bdeeda)) + ## 1.0.0 (2026-06-02) Full Changelog: [v0.5.0...v1.0.0](https://github.com/parallel-web/parallel-sdk-typescript/compare/v0.5.0...v1.0.0) diff --git a/package.json b/package.json index 4126e31..b198b33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parallel-web", - "version": "1.0.0", + "version": "1.0.1", "description": "The official TypeScript library for the Parallel API", "author": "Parallel ", "types": "dist/index.d.ts", diff --git a/src/resources/beta/findall.ts b/src/resources/beta/findall.ts index 1c0a087..ea10646 100644 --- a/src/resources/beta/findall.ts +++ b/src/resources/beta/findall.ts @@ -979,119 +979,3 @@ export declare namespace FindAll { type FindAllSchemaParams as FindAllSchemaParams, }; } - -/** - * Backwards-compatible aliases (deprecated). - * - * Historically these types/resources were exported as `Findall*` (lowercase "a"). - * The canonical names are now `FindAll*`. - */ -export class Findall extends FindAll {} - -/** @deprecated Use `FindAllCandidateMatchStatusEvent` instead. */ -export type FindallCandidateMatchStatusEvent = FindAllCandidateMatchStatusEvent; -/** @deprecated Use `FindAllEnrichInput` instead. */ -export type FindallEnrichInput = FindAllEnrichInput; -/** @deprecated Use `FindAllExtendInput` instead. */ -export type FindallExtendInput = FindAllExtendInput; -/** @deprecated Use `FindAllRun` instead. */ -export type FindallRun = FindAllRun; -/** @deprecated Use `FindAllRunInput` instead. */ -export type FindallRunInput = FindAllRunInput; -/** @deprecated Use `FindAllRunResult` instead. */ -export type FindallRunResult = FindAllRunResult; -/** @deprecated Use `FindAllRunStatusEvent` instead. */ -export type FindallRunStatusEvent = FindAllRunStatusEvent; -/** @deprecated Use `FindAllSchema` instead. */ -export type FindallSchema = FindAllSchema; -/** @deprecated Use `FindAllSchemaUpdatedEvent` instead. */ -export type FindallSchemaUpdatedEvent = FindAllSchemaUpdatedEvent; -/** @deprecated Use `IngestInput` instead. */ -export type FindallIngestInput = IngestInput; -/** @deprecated Use `FindAllEventsResponse` instead. */ -export type FindallEventsResponse = FindAllEventsResponse; -/** @deprecated Use `FindAllCreateParams` instead. */ -export type FindallCreateParams = FindAllCreateParams; -/** @deprecated Use `FindAllRetrieveParams` instead. */ -export type FindallRetrieveParams = FindAllRetrieveParams; -/** @deprecated Use `FindAllCancelParams` instead. */ -export type FindallCancelParams = FindAllCancelParams; -/** @deprecated Use `FindAllEnrichParams` instead. */ -export type FindallEnrichParams = FindAllEnrichParams; -/** @deprecated Use `FindAllEventsParams` instead. */ -export type FindallEventsParams = FindAllEventsParams; -/** @deprecated Use `FindAllExtendParams` instead. */ -export type FindallExtendParams = FindAllExtendParams; -/** @deprecated Use `FindAllIngestParams` instead. */ -export type FindallIngestParams = FindAllIngestParams; -/** @deprecated Use `FindAllResultParams` instead. */ -export type FindallResultParams = FindAllResultParams; -/** @deprecated Use `FindAllSchemaParams` instead. */ -export type FindallSchemaParams = FindAllSchemaParams; - -export declare namespace Findall { - export { - type FindallCandidateMatchStatusEvent as FindallCandidateMatchStatusEvent, - type FindallEnrichInput as FindallEnrichInput, - type FindallExtendInput as FindallExtendInput, - type FindallRun as FindallRun, - type FindallRunInput as FindallRunInput, - type FindallRunResult as FindallRunResult, - type FindallRunStatusEvent as FindallRunStatusEvent, - type FindallSchema as FindallSchema, - type FindallSchemaUpdatedEvent as FindallSchemaUpdatedEvent, - type FindallIngestInput as FindallIngestInput, - type FindallEventsResponse as FindallEventsResponse, - type FindallCreateParams as FindallCreateParams, - type FindallRetrieveParams as FindallRetrieveParams, - type FindallCancelParams as FindallCancelParams, - type FindallEnrichParams as FindallEnrichParams, - type FindallEventsParams as FindallEventsParams, - type FindallExtendParams as FindallExtendParams, - type FindallIngestParams as FindallIngestParams, - type FindallResultParams as FindallResultParams, - type FindallSchemaParams as FindallSchemaParams, - }; -} - -// Backwards-compat namespace members (deprecated). Previously these types -// existed as nested interfaces under their parent's namespace; they've since -// moved to top-level model types. Declaration merging here preserves the old -// `Parent.Member` import paths. -type _FindAllCandidate = FindAllCandidate; -type _FindAllRunStatus = FindAllRunStatus; -type _FindAllCandidateMetrics = FindAllCandidateMetrics; -type _MatchCondition = MatchCondition; -export namespace FindAllCandidateMatchStatusEvent { - /** @deprecated Use the top-level `FindAllCandidate` instead. */ - export type Data = _FindAllCandidate; -} -export namespace FindAllCreateParams { - /** @deprecated Use the top-level `MatchCondition` instead. */ - export type MatchCondition = _MatchCondition; -} -// FindAllRunInput and FindAllSchema already declare `export namespace`s above; -// these additional `export namespace` blocks merge with them via TS declaration -// merging, augmenting the existing namespaces with the deprecated `MatchCondition` -// member. (`declare module` would not work here — it's for ambient module -// augmentation, not same-file declaration merging.) -export namespace FindAllRunInput { - /** @deprecated Use the top-level `MatchCondition` instead. */ - export type MatchCondition = _MatchCondition; -} -export namespace FindAllSchema { - /** @deprecated Use the top-level `MatchCondition` instead. */ - export type MatchCondition = _MatchCondition; -} -export namespace FindAllRun { - /** @deprecated Use the top-level `FindAllRunStatus` instead. */ - export type Status = _FindAllRunStatus; - export namespace Status { - /** @deprecated Use the top-level `FindAllCandidateMetrics` instead. */ - export type Metrics = _FindAllCandidateMetrics; - } -} -export namespace FindAllRunResult { - /** @deprecated Use the top-level `FindAllCandidate` instead. */ - export type Candidate = _FindAllCandidate; -} diff --git a/src/resources/beta/index.ts b/src/resources/beta/index.ts index 29f951b..80557b6 100644 --- a/src/resources/beta/index.ts +++ b/src/resources/beta/index.ts @@ -3,7 +3,6 @@ export { Beta } from './beta'; export { FindAll, - Findall, type FindAllCandidate, type FindAllCandidateMatchStatusEvent, type FindAllCandidateMetrics, @@ -32,24 +31,4 @@ export { type FindAllIngestParams, type FindAllResultParams, type FindAllSchemaParams, - type FindallCandidateMatchStatusEvent, - type FindallEnrichInput, - type FindallExtendInput, - type FindallRun, - type FindallRunInput, - type FindallRunResult, - type FindallRunStatusEvent, - type FindallSchema, - type FindallSchemaUpdatedEvent, - type FindallIngestInput, - type FindallEventsResponse, - type FindallCreateParams, - type FindallRetrieveParams, - type FindallCancelParams, - type FindallEnrichParams, - type FindallEventsParams, - type FindallExtendParams, - type FindallIngestParams, - type FindallResultParams, - type FindallSchemaParams, } from './findall'; diff --git a/src/resources/task-run.ts b/src/resources/task-run.ts index bd8f52e..e6a8768 100644 --- a/src/resources/task-run.ts +++ b/src/resources/task-run.ts @@ -773,30 +773,3 @@ export declare namespace TaskRun { type TaskRunResultParams as TaskRunResultParams, }; } - -// Backwards-compat namespace members (deprecated). Previously these types -// existed as nested interfaces under the parent type's namespace; they've -// since moved to top-level model types. Declaration merging here preserves -// the old `Parent.Member` import paths. -type _TaskAdvancedSettings = TaskAdvancedSettings; -type _TaskRunProgressMessageEvent = TaskRunProgressMessageEvent; -type _TaskRunProgressStatsEvent = TaskRunProgressStatsEvent; -type _TaskRunSourceStats = TaskRunSourceStats; -export namespace RunInput { - /** @deprecated Use the top-level `TaskAdvancedSettings` instead. */ - export type AdvancedSettings = _TaskAdvancedSettings; -} -export namespace TaskRunCreateParams { - /** @deprecated Use the top-level `TaskAdvancedSettings` instead. */ - export type AdvancedSettings = _TaskAdvancedSettings; -} -export namespace TaskRunEventsResponse { - /** @deprecated Use the top-level `TaskRunProgressMessageEvent` instead. */ - export type TaskRunProgressMessageEvent = _TaskRunProgressMessageEvent; - /** @deprecated Use the top-level `TaskRunProgressStatsEvent` instead. */ - export type TaskRunProgressStatsEvent = _TaskRunProgressStatsEvent; - export namespace TaskRunProgressStatsEvent { - /** @deprecated Use the top-level `TaskRunSourceStats` instead. */ - export type SourceStats = _TaskRunSourceStats; - } -} diff --git a/src/resources/top-level.ts b/src/resources/top-level.ts index e17b0d1..8db99e9 100644 --- a/src/resources/top-level.ts +++ b/src/resources/top-level.ts @@ -382,12 +382,3 @@ export declare namespace TopLevel { type SearchParams as SearchParams, }; } - -// Backwards-compat namespace member (deprecated). `AdvancedExtractSettings.FullContentSettings` -// was previously a nested interface; the shape now lives as the top-level -// `FullContentSettings` model. Declaration merging here preserves the old path. -export namespace AdvancedExtractSettings { - /** @deprecated Use the top-level `FullContentSettings` instead. */ - export type FullContentSettings = TopLevelFullContentSettings; -} -type TopLevelFullContentSettings = FullContentSettings; diff --git a/src/version.ts b/src/version.ts index bea2896..8cd23e5 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '1.0.0'; // x-release-please-version +export const VERSION = '1.0.1'; // x-release-please-version