Releases: espressif/idf-component-manager
Releases · espressif/idf-component-manager
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
v2.0.0.dev1
v2.0.0.dev1 (2024-06-19)
https://pypi.org/project/idf-component-manager/2.0.0.dev1/
Feat
- 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
- support reuse local existing versions while version solving
- Set COMPONENT_VERSION in CMake from manifests in requirements file
- use current solution while changing target or idf version if it works
Fix
- 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
compote registry login
url- cleanup dependencies, lift version restrictions
- Consistent naming convention for ESP Component Registry
- local components in lock file not exist
- local dep with '__' can be treated as namespace separator correctly
- 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
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
v1.5.3
v1.5.3 (2024-06-18)
https://pypi.org/project/idf-component-manager/1.5.3/
While a bigger 2.0.0 release is on its way, there are some bug fixes for v1.5
Feat
- support reuse local existing versions while version solving
- Set COMPONENT_VERSION in CMake from manifests in requirements file
- add esp32c61 to the list of known targets
Fix
- use build_name for component while running idf_component_set_property
compote registry login
url- local dep with '__' can be treated as namespace separator correctly
- fix the order of managed_components
- package schema 0.7.7 supports python 3.6+