✨ New features
⚡ Enhancements
- #2392 Add last_fetched to RepositoryData @ludeeus
- #2410 Add test_registration story @ludeeus
- #2413 Clear queue and store data on unload @ludeeus
- #2414 Raise with specific message if core or add-on repo @ludeeus
- #2416 Add queue_manager tests @ludeeus
- #2417 Add more sensor tests @ludeeus
- #2418 Add missing tests for HACSStore @ludeeus
- #2421 Always run store_hacs_data task @ludeeus
- #2422 Add exception_handler to handle common exceptions @ludeeus
- #2423 Set running stage earlier @ludeeus
- #2424 Handle HacsRepositoryArchivedException during registration @ludeeus
- #2427 Add raise_exception arg to async_github_api_method @ludeeus
♻️ Refactor
- #2327 Limit version compare for can_install @ludeeus
- #2329 Implement generic async_github_api_method @ludeeus
- #2330 Change log messages in tasks @ludeeus
- #2332 Use 1h for ratelimit check @ludeeus
- #2337 Add HacsRepositories dataclass @ludeeus
- #2338 Remove HacsFrontend @ludeeus
- #2340 Remove HacsSetupTask @ludeeus
- #2342 Add hint to restore in log message @ludeeus
- #2348 Move handling of default repositories to HacsRepositories @ludeeus
- #2354 Use AwesomeVersion for hacs.core.ha_version @ludeeus
- #2355 Ignore identical disabled_reason @ludeeus
- #2356 Move setup to init @ludeeus
- #2357 Remove is_safe_to_remove helper @ludeeus
- #2358 Replace version_to_install with utils.version.version_to_download @ludeeus
- #2359 Remove unused async_reinstall_if_needed @ludeeus
- #2360 Remove async_get_list_from_default @ludeeus
- #2362 Remvoe RepositoryHelperProperties @ludeeus
- #2363 Move RemovedRepository to HacsRepositories @ludeeus
- #2365 Cleanup validation @ludeeus
- #2366 Move prosess_queue to tasks @ludeeus
- #2368 Remove HacsTaskFactory @ludeeus
- #2369 Move backup class @ludeeus
- #2370 Move HacsFrontendDev to setup task @ludeeus
- #2371 Move Validate class to utils @ludeeus
- #2372 Remove RepositoryMethodRegistration helper class @ludeeus
- #2373 Remove RepositoryHelperMethods class @ludeeus
- #2374 Move filters to utils @ludeeus
- #2376 Remove helpers.misc @ludeeus
- #2375 Move template to utils @ludeeus
- #2377 Move Repository base class @ludeeus
- #2378 Move store to utils @ludeeus
- #2379 Move rest of helpers to utils @ludeeus
- #2380 Imports cleanup @ludeeus
- #2381 Remove get_hacs @ludeeus
- #2382 Remove share @ludeeus
- #2386 Remove mixin module @ludeeus
- #2387 Cleanup unused constants @ludeeus
- #2388 Move register_repository to HacsBase @ludeeus
- #2389 Move get_repository to HacsRepository as async_get_legacy_repository_object @ludeeus
- #2390 Move clear to load repos @ludeeus
- #2393 Use new API structure to get hacs.json @ludeeus
- #2394 Move common_validate to HacsRepository @ludeeus
- #2395 Move async_download_file to HacsBase @ludeeus
- #2396 Move get_info_md_content to HacsRepository @ludeeus
- #2397 download_content cleanup @ludeeus
- #2398 Move find_file_name to HacsRepository @ludeeus
- #2399 Rename getLogger to get_hacs_logger @ludeeus
- #2400 Reuse dummy_repository_base in repository fixture @ludeeus
- #2401 Better coverage of logger and version utils @ludeeus
- #2403 Use new API for integration manifest @ludeeus
- #2404 Move get_tree to HacsRepository @ludeeus
- #2405 Move get_releases to HacsRepository @ludeeus
- #2406 Move common_update_data to HacsRepository @ludeeus
- #2407 Move download utils to HacsRepository @ludeeus
- #2408 Remove async_semaphore_wrapper @ludeeus
- #2409 Remove information and versions from HacsRepository @ludeeus
- #2411 Disable reports @ludeeus
- #2412 Reuse clientsession @ludeeus
- #2425 Refacor common exception handling @ludeeus
- #2426 Use info for ratelimit log @ludeeus
🐛 Bug Fixes
- #2319 Fix typo in error messages @ludeeus
- #2326 Clear data of double renamed repositories @ludeeus
- #2334 Fix version compare @ludeeus
- #2335 Fix typing for generic API method @ludeeus
- #2349 Don't duplicate archived_repositories @ludeeus
- #2364 Fix updating removed repo attributes @ludeeus
- #2367 Fix execute time logs @ludeeus
- #2429 Restore local path @ludeeus
⬆️ Dependency Updates
- #2321 Bump pre-commit from 2.15.0 to 2.16.0 @dependabot
- #2353 Bump pytest-socket from 0.4.1 to 0.5.0 @dependabot
- #2415 Bump attrs from 21.2.0 to 21.3.0 @dependabot
- #2419 Bump attrs from 21.3.0 to 21.4.0 @dependabot
- #2431 Bump requests from 2.26.0 to 2.27.0 @dependabot
- #2432 Bump requests from 2.27.0 to 2.27.1 @dependabot
🎨 Frontend updates
- hacs/frontend#545 Update dependencies @ludeeus
- hacs/frontend#546 Fix ignored languages @ludeeus
- hacs/frontend#548 use mainWindow instead of top to open links @eglia
- hacs/frontend#496 Fix entrypoint script tag fallback @gregod
- hacs/frontend#549 Call repositorySetVersion when selecting version to download @ludeeus
- hacs/frontend#550 Update dependencies @ludeeus