Skip to content

2024.11.22-b1

Pre-release
Pre-release
Compare
Choose a tag to compare
@beecho01 beecho01 released this 22 Nov 12:01

Release Notes

What's Changed

  • Updated README.md to include new icon count.
  • Bumped icons to match Iconify material-symbols.json released on 2024-11-22.
  • Imported os module functions: path, walk to __init__.py.
  • Imported json module to __init__.py, for handling JSON serialization.
  • Improved the ListingView Class.
  • Set requires_auth = False to allow unauthenticated access to icon lists.
  • Initialized the class with unique url and name attributes for each icon set
  • Implemented the get method to handle HTTP GET requests and return a JSON response with the list of icons.
  • Replaced string slicing with os.path.relpath to compute relative paths.
  • Used os.path.join and replaced OS-specific path separators with '/' to standardize URLs.
  • Utilised async_add_executor_job to offload blocking I/O operations to a separate thread, preventing event loop blocking.
  • Revised async_setup function to ensured that the JavaScript loader and icon sets are properly registered as static paths and iterated over iconset_prefixes to set up each icon set individually.

Notes

This update maintains compatibility with existing configurations but improves overall stability.

Full Changelog

main...2024.11.22-b1