Skip to content

Releases: PhilDL/ts-ghost

fix(admin-api): lexical output for pages

03 Jul 05:59
76dcbdc
Compare
Choose a tag to compare

What's Changed

  • fix(admin-api): lexical output for pages by @acvigue in #243

New Contributors

Full Changelog: https://github.com/PhilDL/ts-ghost/compare/@ts-ghost/[email protected]...@ts-ghost/[email protected]

@ts-ghost/[email protected]

06 Jun 13:44
fb0b9bc
Compare
Choose a tag to compare

What's Changed

  • upgrade zod and make changes accordingly by @PhilDL in #237

@ts-ghost/[email protected]

06 Jun 13:44
fb0b9bc
Compare
Choose a tag to compare

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]

06 Jun 13:45
fb0b9bc
Compare
Choose a tag to compare

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]

07 May 18:21
bc5643b
Compare
Choose a tag to compare

Patch Changes

@ts-ghost/[email protected]

24 Feb 07:47
f229dec
Compare
Choose a tag to compare

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]

24 Feb 07:47
f229dec
Compare
Choose a tag to compare

Patch Changes

@ts-ghost/[email protected]

24 Feb 07:47
f229dec
Compare
Choose a tag to compare

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

@ts-ghost/[email protected]

02 Dec 03:14
21428f4
Compare
Choose a tag to compare

Patch Changes

@ts-ghost/[email protected]

02 Dec 03:15
21428f4
Compare
Choose a tag to compare

Patch Changes

  • 53d86aa: Upgrade jose dep and admin-api minor fix for post email publishing