feat(apiclient): Add native Admin & Content API clients, JWT generator, and tag visibility features; remove external @tryghost deps and update docs
This commit is contained in:
11
changelog.md
11
changelog.md
@@ -1,5 +1,16 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-10-10 - 2.2.0 - feat(apiclient)
|
||||
Add native Admin & Content API clients, JWT generator, and tag visibility features; remove external @tryghost deps and update docs
|
||||
|
||||
- Add native GhostAdminAPI and GhostContentAPI implementations (ts/apiclient/*) using global fetch with support for browse/read/add/edit/delete, webhooks, and image upload.
|
||||
- Add generateToken JWT implementation compatible with Ghost Admin API (ts/apiclient/ghost.jwt.ts) with Web Crypto and Node fallbacks.
|
||||
- Switch Ghost class to use built-in apiclient implementations and bump default API version to v6.0.
|
||||
- Use Admin API to fetch ALL tags (including zero-count) and add visibility filtering and minimatch filtering in getTags; add convenience methods getPublicTags and getInternalTags.
|
||||
- Add Tag methods getVisibility(), isInternal(), and isPublic() to expose visibility information.
|
||||
- Replace imports of @tryghost/* with local apiclient implementations in ts/ghost.plugins.ts and remove @tryghost dependencies from package.json.
|
||||
- Update README to document tag visibility, new tag-related APIs/examples, and other notes about using Admin API for tags.
|
||||
|
||||
## 2025-10-08 - 2.1.0 - feat(syncedinstance)
|
||||
Add SyncedInstance for multi-instance content synchronization, export it, add tests, and expand README
|
||||
|
||||
|
Reference in New Issue
Block a user