Skip to content

6.0.4

Latest
Compare
Choose a tag to compare
@SrGobi SrGobi released this 02 Dec 20:25
· 1 commit to main since this release

Canvacard Version 6.0.4 Update 🎉

Release Date: December 2, 2024
Maintainer: SrGobi

This is a minor update that focuses on refining functionality, enhancing documentation, and improving user experience. Below is a summary of the changes included in version 6.0.4:


🚀 New Features and Enhancements

Font Registration

  • Added a registerFont function:
    • Enables registering custom fonts using the @napi-rs/canvas library.
    • Now available in both CommonJS and TypeScript with added typings.
    • Example usage for CommonJS, ESModule, and TypeScript included in the documentation.

📚 Documentation Updates

  • Improved README.md:
    • Added comprehensive examples showcasing how to use the registerFont function in CommonJS and TypeScript.
    • Clarified usage for registering fonts with paths and aliases.

🛠️ Code Improvements

  • Logging Removal:
    • Removed unnecessary console logs when registering fonts, ensuring cleaner output.
  • Dependency Updates:
    • Updated dependencies in package.json to the latest stable versions for improved performance and security.

💡 General Notes

This update is a quality-of-life improvement designed to make it easier for developers to work with Canvacard, especially when customizing fonts for their projects. We encourage feedback to continue refining the package.

Author: SrGobi
Version: 6.0.4

Happy coding! 🚀