Skip to content

Releases: espressif/idf-component-manager

v2.1.1

06 Dec 17:38
Compare
Choose a tag to compare

v2.1.1 (2024-12-06)

Fix

  • Do not expand environment variables when validating example manifests
  • Disable caching of task status endpoint

v2.1.0 - yanked

06 Dec 15:38
Compare
Choose a tag to compare

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

02 Oct 09:38
d2d902d
Compare
Choose a tag to compare

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

26 Aug 11:42
48586bd
Compare
Choose a tag to compare

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

22 Aug 09:51
Compare
Choose a tag to compare

v2.0.2 (2024-08-21)

Fix

  • dependency with registry_url unrecognized correctly

v2.0.1

20 Aug 14:52
Compare
Choose a tag to compare

v2.0.1 (2024-08-15)

Fix

  • Fix filtering of files with default exclude filter patterns
  • filterwarning "Running in an environment without IDF" while uploading

v2.0.0

12 Aug 14:41
Compare
Choose a tag to compare

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 and dependencies.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

12 Aug 08:10
Compare
Choose a tag to compare
v2.0.0rc2 Pre-release
Pre-release

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

09 Aug 09:37
Compare
Choose a tag to compare
v2.0.0rc1 Pre-release
Pre-release

Feat

  • drop support of root level commit_sha in the manifest file

Fix

  • pass CLI arguments while uploading packed components
  • calculate manifest hash based on set values

Refactor

  • remove unused attr component_hash_required

v2.0.0rc0

09 Aug 09:37
Compare
Choose a tag to compare
v2.0.0rc0 Pre-release
Pre-release

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