Releases: traleor/wagtail-js
Releases · traleor/wagtail-js
Version 1.1.2
Version 1.0.0 - Production Release
Key Features
1. CMSClient Class
- New: Introducing the
CMSClient
class, a powerful tool for fetching content from your Wagtail-based CMS using TypeScript. - Streamlined: Fetch pages, images, and documents effortlessly with dedicated methods.
2. Error Handling
- Enhanced: Improved error handling for smoother response handling, providing more meaningful error messages.
- Improved User Experience: Easily identify and address issues when fetching content.
3. Media Source URL Retrieval
- New Method: Added the
getMediaSrc
method to retrieve the source URL of media items. - Seamless Integration: Display images and documents from your Wagtail CMS with ease.
Tested with Sample Template Website
- Thoroughly Tested: Extensively tested in production to ensure reliability and performance.
- User-Ready: Confidence that the package works seamlessly in real-world scenarios. See Example
Install wagtail-js v1.0.0 for an enhanced experience with your Wagtail-based CMS!
For detailed information, code examples, and documentation, please refer to our official documentation.
We welcome your feedback, questions, and contributions on our GitHub repository.
Introducing Wagtail TypeScript Client
Release Description:
We are excited to introduce version 1.0.0 of the wagtail-js
package! This release brings you a powerful TypeScript client that simplifies the process of fetching content from Wagtail-based Content Management Systems (CMS). With the wagtail-js
package, you can easily retrieve pages, images, and documents from your Wagtail CMS and handle responses and errors seamlessly.
Key Features:
- CMSClient Class: Create an instance of the
CMSClient
class to fetch content from your Wagtail CMS with ease. This class provides methods for fetching pages, images, documents, and more. - Content Fetching: Fetch various types of content, including pages, images, and documents, using intuitive method calls. The package handles response and error cases, making your development process smoother.
- Utility Functions: Use the provided utility functions for fetching content and constructing URLs for media items. These functions help streamline your requests and data handling.
- Types and Interfaces: The package offers a range of types and interfaces to enhance your interaction with CMS content and requests. Work with CMS data in a more structured and efficient manner.