Releases: espressif/idf-component-manager
Releases · espressif/idf-component-manager
v2.1.1
v2.1.0 - yanked
YANKED due "component upload" is not able to return successfully in most cases
v2.1.0 (2024-12-05)
Feat
- cli: add validations for CLI options
- Get all information about Forbidden error from the server
- set local_storage_url as breaking change from 1.x to 2.x
- support
compote registry sync --resolution [all,latest]
- Add in-memory cache for API and storage requests
- add debug logging for HTTP requests
- add esp32h21 to known target list
- Add ruamel.yaml dependency
- Improve add-dependency output and help
- Add an option to specify registry url when using add-dependency
- Add git source to add-dependency command
- increase HTTP timeouts, use custom timeout for uploads
- Add support of
.gitignore
file while uploading / packaging component - Add
use_gitignore
option to the manifest - validate manifest of examples when uploading a component
Fix
- hash value of ComponentRequirement for register_url
- compote registry sync keep same folder structure as the registry
- Fix caching during uploading of components
- default storage url without fetching from registry
- only show debug hints when version solver failed
- unify 1.x 2.x generated parital sync metatdata file
- accept registry_url from api
- Use utf-8 encoding for all text file operations
- recreate lock file when missing env var
- drop current solution if requirement source is different
- ignore local storage urls when generating partial mirror
Refactor
- rewrite partial mirror sync
- use logging module instead of warnings
v2.0.4
v2.0.4 (2024-10-01)
Fix
- accept registry_url from api
- increase HTTP timeouts, use custom timeout for uploads
- recreate lock file when missing env var
- drop current solution if requirement source is different
- ignore local storage urls when generating partial mirror
- Use utf-8 encoding for all text file operations
v2.0.3
v2.0.3 (2024-08-26)
Fix
- get_storage_client includes component registry_url
- wrong root_managed_components_lock_path
- Fix applying include / exclude lists in GitSource versions method
- Exclude custom dest_dir from component archive
Refactor
- Refactor core.py, change os.path to pathlib.Path
v2.0.2
v2.0.1
v2.0.0
v2.0.0 (2024-08-12)
https://pypi.org/project/idf-component-manager/2.0.0/
Some noticeable changes:
- Major refactoring of parsers of
idf_component.yml
anddependencies.lock
files. Error messages are more precise and helpful now. - Better support for environment variables. You can use conditions in
if
rules - Hash sum of the component is checked only when component is downloaded. The old strict behavior can be enabled with IDF_COMPONENT_STRICT_CHECKSUM env variable.
- All environment variables now have prefix
IDF_COMPONENT_
- Drop support of python 2.7 and IDF 4.*
Feat
- drop support of root level
commit_sha
in the manifest file - Add more descriptive error message for authentication
- compare .component_hash by default, support optionally strict checksum
- Make environment variables in if rules required to have a value
- Revoke token on logout CLI command
- Use compote CLI when executed as module
- support debug mode by setting env var IDF_COMPONENT_MANAGER_DEBUG_MODE
- use current solution while changing target or idf version if it works
- Drop support of Python 2.7
- remove redundant option --namespace from component pack CLI
Fix
- pack and upload components without manifests
- Fix login command with non-existing directory
- union of constraints of unequal clauses
- Wrong version returned by
compote version
- Add upload mode to the pack_component
- optional dependencies always skipped when "version" undefined
- skip optional dependencies while solving dependencies
- api response string could be empty
- revert name slug re changes
- correct error message when manifest file is not a dict
- docs: fix render of '--'
- support env var in git source fields
git
,path
- support env var in local source fields
path
,override_path
- assume false when exceptions raised in if clause
- reset version solver states when the old solution not working
- test_check_for_newer_component_versions wrong component_hash
- store download_url only in storage client
- cleanup dependencies, lift version restrictions
- Consistent naming convention for ESP Component Registry
- local components in lock file not exist
- re-trigger version solver when optional dependency now meet conditions
- skip the optional dependencies while version solving
- Fix 'default' profile not loading from the config file
- Invalid component name on upload
- Handle missing files/broken symlinks when calculating hash
Refactor
- unify env var with pydantic-settings
- rename service_url to registry_url in manifest files
- remove api cache with file
- remove poetry and do project cleanup
- rewrite with pydantic
- Change comment types to regular ones
- Replace format() with f-strings
v2.0.0rc2
Fix
- manifest dump always adds empty fields
- remove redundant option --namespace from component pack CLI
- pack and upload components without manifests
- Fix login command with non-existing directory
- union of constraints of unequal clauses
- Wrong version returned by
compote version
- Add upload mode to the pack_component
v2.0.0rc1
v2.0.0rc0
Feat
- Add more descriptive error message for authentication
- compare .component_hash by default, support optionally strict checksum
- Make environment variables in if rules required to have a value
- store images on dockerhub
Fix
- optional dependencies always skipped when "version" undefined
- skip optional dependencies while solving dependencies
- api response string could be empty
- revert name slug re changes
- correct error message when manifest file is not a dict
- docs: fix render of '--'
- support env var in git source fields
git
,path
- support env var in local source fields
path
,override_path
- assume false when exceptions raised in if clause