2024.11.22-b1
Pre-release
Pre-release
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__.p
y. - 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
andname
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.