Skip to content

Releases: rryam/GhostingKit

0.5.0

17 Oct 08:24
Compare
Choose a tag to compare

PhantomKit 0.5.0 Release Notes

Content Retrieval

  • Added support for fetching pages with getPages() method
  • Implemented tag retrieval functionality with getTags() method
  • Added author fetching capabilities with getAuthors() method

Improved Single Item Retrieval

  • New methods for fetching specific posts by ID: getPost(id:include:)
  • Added functionality to fetch pages by slug: getPageBySlug(slug:include:)

New Model Support

  • Introduced GhostContent struct to represent both posts and pages
  • Added GhostAuthor and GhostTag models
  • Implemented support for including related data (e.g., "authors,tags") in API calls
  • Added pagination support across all list retrieval methods

Breaking Changes

  • The GhostPost model has been replaced by the GhostContent struct

Getting Started

Check out our updated README for installation instructions and new usage examples.

Upgrading from 0.1.0

To upgrade from the previous version:

  1. Update your package dependency to "0.5.0"
  2. Replace any usage of GhostPost with GhostContent
  3. Explore the new methods for fetching pages, tags, and authors

Feedback

Please report any issues or feature requests on the GitHub issues page.

Thank you for using PhantomKit!

0.1.0

15 Oct 18:49
Compare
Choose a tag to compare

PhantomKit 0.1.0 Release Notes

The initial release of PhantomKit, an unofficial Swift SDK for the Ghost Content API!

What's New

  • Initial implementation of PhantomKit actor for interacting with the Ghost Content API
  • Support for fetching blog posts with customizable parameters
  • Asynchronous API calls using Swift concurrency
  • Comprehensive GhostPost model representing blog post data

Getting Started

Check out our README for installation instructions and basic usage examples.

Feedback

This is the initial release, and I welcome your feedback! Please report any issues or feature requests on the GitHub issues page.

Thank you for trying PhantomKit!