Skip to content

Releases: espressif/idf-component-manager

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

v2.0.0.dev1

20 Jun 10:45
Compare
Choose a tag to compare
v2.0.0.dev1 Pre-release
Pre-release

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

18 Jun 10:32
f07a0a6
Compare
Choose a tag to compare

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+

v2.0.0.dev0

20 Jun 10:46
Compare
Choose a tag to compare
v2.0.0.dev0 Pre-release
Pre-release

v2.0.0-dev0 (2024-05-17)

Feat

  • add esp32c61 to the list of known targets
  • Drop support of Python 2.7

Fix

  • Handle missing files/broken symlinks when calculating hash
  • fix the order of managed_components

Refactor

  • rewrite with pydantic
  • Change comment types to regular ones
  • Replace format() with f-strings

v1.5.2

23 Feb 14:26
Compare
Choose a tag to compare

v1.5.2 (2024-02-23)

Fix

  • wrongly terminate the version solver when versions not been found at the first round
  • support boolean type for require field

v1.5.1

14 Feb 13:28
Compare
Choose a tag to compare

v1.5.1 (2024-02-14)

Fix

  • Handle git compatible version with revision in CLI

https://pypi.org/project/idf-component-manager/1.5.1

v1.5.0

14 Feb 13:27
Compare
Choose a tag to compare

v1.5.0 (2024-02-13)

Feat

  • add sync command to synchronize local mirror
  • used callback to deprecate msg
  • add alias for default_namespace and registry_url
  • Support overriding components according to the component types
  • Included the use of include/exclude filters from the manifest that is used for calculating the component hash.
  • Added a user-friendly message to handle a 413 HTTP error triggered by sending large component archive.
  • Add esp32c5 target
  • Add URL and status code to network error messages
  • Added --repository and --commit-sha parameters for packing and uploading component
  • Added aliases for '--default_namespace' as '--default-namespace' and '--registry_url' as '--registry-url'. The previous versions have been marked as deprecated.
  • Added CLI command compote registry sync to download components and synchronize a local mirror
  • Add environment variable to disable TLS verification
  • add repository_info block to the manifest
  • add commitizen for changelog management

Fix

  • optimize import list in .py files, drop unused imports
  • fix packing and uploading of the components with lightweight tags
  • cli: create test for updated login flags
  • Delete log typo
  • add missing commitizen config to pyproject.toml
  • add missing commitizen config to pyproject.toml
  • filter versions when api_client getting versions
  • local components should override dependencies with same short name
  • move tqdm progress_bar from api_client.py to core.py
  • project_components priority should be higher than project_extra_components
  • rename component_type to component_source
  • Fixed message formatting and progress bar displays during user component upload
  • Fixed a problem when the local source created by the override_path parameter doesn't support web_service source keys
  • Only expand environment variables in the manifest files during CMake execution
  • Manifest dumping with non-expanded environment variables

https://pypi.org/project/idf-component-manager/1.5.0

v1.4.2

02 Feb 14:22
Compare
Choose a tag to compare

[1.4.2] - 2024-02-02

Fixed

  • Filter yanked versions while getting the list of versions for a component
  • Limit "requests-file" version to <2 to avoid incompatibility with older python versions

https://pypi.org/project/idf-component-manager/1.4.2/

v1.4.1

02 Oct 13:01
Compare
Choose a tag to compare

[1.4.1] - 2023-10-02

Fixed

  • Fix typo in GitLab CI user agent
  • Fix issue with creating a profile in idf_component_manager.yml if it does not exist, when executing compote registry login command with --service-profile specified
  • Remove warnings of the unknown root keys in the manifest files
  • Fix schema validation of idf_component_manager.yml, for an empty profile name value
  • Fix manifest schema validation message for an empty field value
  • Fix processing of rules and matches for components from the registry
  • Fix processing handling of require field for components from the registry

v1.4.0

15 Sep 12:14
Compare
Choose a tag to compare

https://pypi.org/project/idf-component-manager/1.4.0/

[1.4.0] - 2023-09-15

Added

  • Add CI environment information to the component manager requests user agent
  • if-clause supported boolean operator &&, ||, with nested parentheses
  • support set version besides if-clause, to override the default dependency version
  • support matches for declaring optional dependencies. The first if-clause that matches the condition will be used
  • Support license field in the manifest files
  • Allow unknown fields in the idf_component_manager.yml config file
  • More descriptive manifest validation error messages
  • Add default_namespace, registry_url parameters to compote registry login command
  • Create a profile in idf_component_manager.yml if it does not exist when executing compote registry login command

Fixed

  • Don't require token for --dry-run of compote component upload command
  • Fix incorrect message suggestion to check upload status if non-default profile is used
  • Add support for non-default registries to compote project create-from-example command through the --service-profile option
  • Fix issue with dependencies on local components without a version set
  • Skip solving solved component requirements. Speed up version solving
  • Support revision in git tags by replacing ~ with . in the version, i.e. 1.0.0.1
  • Components under components/ will be treated with higher priority while solving dependencies
  • Add component property REQUIRED_IDF_TARGET if the component supports specific targets
  • Fixed issue where compote component upload command ignored default_namespace parameter from the profile
  • The component manager no longer accesses the API to get the storage URL for the default registry URL