Releases: PhilDL/ts-ghost
Releases · PhilDL/ts-ghost
fix(admin-api): lexical output for pages
What's Changed
New Contributors
Full Changelog: https://github.com/PhilDL/ts-ghost/compare/@ts-ghost/[email protected]...@ts-ghost/[email protected]
@ts-ghost/[email protected]
@ts-ghost/[email protected]
What's Changed
- chore(deps): update pnpm/action-setup action to v4 by @renovate in #235
- upgrade zod and make changes accordingly by @PhilDL in #237
- chore(deps): update all non-major dependencies by @renovate in #232
- 236 bug postauthors has slightly different type than author by @PhilDL in #238
- Version Packages by @github-actions in #239
Full Changelog: https://github.com/PhilDL/ts-ghost/compare/@ts-ghost/[email protected]...@ts-ghost/[email protected]
@ts-ghost/[email protected]
What's Changed
- chore(deps): update pnpm/action-setup action to v4 by @renovate in #235
- upgrade zod and make changes accordingly by @PhilDL in #237
- chore(deps): update all non-major dependencies by @renovate in #232
- 236 bug postauthors has slightly different type than author by @PhilDL in #238
- Version Packages by @github-actions in #239
Full Changelog: https://github.com/PhilDL/ts-ghost/compare/@ts-ghost/[email protected]...@ts-ghost/[email protected]
@ts-ghost/[email protected]
Patch Changes
- f71ff87: fix connection to ghost instances deployed on custom ports. Thanks @giacomocerquone !
@ts-ghost/[email protected]
Major Changes
-
5544e8a: API Composer now require an HTTPClientFactory instead of a HTTPClient.
Passing directly an instanciated HTTPClient was creating a lot of issues with the HttpClient lifecycle. Now, you need to pass a factory that will be used to create a new HttpClient for each request.
The HTTPClientFactory takes the same parameters as the HttpClient constructor, so you can pass the same configuration.
export type HTTPClientOptions = { key: string; version: APICredentials["version"]; url: APICredentials["url"]; endpoint: "content" | "admin"; }; export interface IHTTPClientFactory { create(config: HTTPClientOptions): HTTPClient; } export class HTTPClientFactory implements IHTTPClientFactory { constructor(private config: HTTPClientOptions) {} public create() { return new HTTPClient(this.config); } }
Minor Changes
- 5544e8a: Internals change of the API Composer instantiation to use the new HTTPClientFactory instead of direct instances.
There is no user-level change required.
@ts-ghost/[email protected]
Patch Changes
- Updated dependencies [5544e8a]
- Updated dependencies [5544e8a]
- @ts-ghost/[email protected]
@ts-ghost/[email protected]
Minor Changes
- 5544e8a: Internals change of the API Composer instantiation to use the new HTTPClientFactory instead of direct instances.
There is no user-level change required.
Patch Changes
- Updated dependencies [5544e8a]
- Updated dependencies [5544e8a]
- @ts-ghost/[email protected]
@ts-ghost/[email protected]
Patch Changes
- 53d86aa: Upgrade jose dep and admin-api minor fix for post email publishing
- Updated dependencies [53d86aa]
- @ts-ghost/[email protected]
- @ts-ghost/[email protected]
@ts-ghost/[email protected]
Patch Changes
- 53d86aa: Upgrade jose dep and admin-api minor fix for post email publishing