Releases: rryam/GhostingKit
Releases · rryam/GhostingKit
0.5.0
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
andGhostTag
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 theGhostContent
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:
- Update your package dependency to
"0.5.0"
- Replace any usage of
GhostPost
withGhostContent
- 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
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!