Skip to content

v0.0.7

Compare
Choose a tag to compare
@Seishin Seishin released this 29 Apr 14:42
· 7 commits to master since this release

Version 0.0.6 Release Notes

New Features

  • Replace Cookie PNG with SVG: Replaced cookie PNG with SVG for improved scalability and resolution independence. (Commit: 69ae876)

  • Use Roboto Font: Updated font usage to Roboto for a more modern and consistent appearance. (Commit: 8f36bc8)

  • Create Shadow Root for BiteConsent: Modified the useBiteConsent hook to create a shadow root for the BiteConsent component, providing encapsulation and isolation for the component's DOM structure. (Commit: 3a672a2)

  • Add useBiteConsent Hook: Added the useBiteConsent hook, providing functionality for managing cookie consent in React applications. Users can configure various settings such as privacy policy URL, visibility, position, cookie configuration, and onAccept callback. (Commit: ab64af5)

  • Support Custom Cookie Configuration: Extended the BiteConsent component to support custom cookie configuration, allowing users to specify additional settings for consent cookies. Enhances flexibility and compliance with cookie consent requirements. (Commit: 6945ff5)

Fixes and Enhancements

  • Fix Issue with Double Render: Resolved issue where the view was rendered twice, ensuring proper rendering behavior. (Commit: 70e52d3)

  • Fix Document Not Found Error: Resolved issue where the document was not found when executing the component in background environments like Next.js apps. Accessing the document once available prevents errors. (Commit: 2ab152b)

  • Fix for Document Issue: Additional fix for the document issue, ensuring consistent behavior across environments. (Commit: 6c83121)