Skip to content

Releases: espressif/idf-component-manager

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

v1.3.2

05 Jul 06:37
Compare
Choose a tag to compare

[1.3.2] - 2023-07-05

Fixed

  • Keep original if statement in the IfClause object
  • Git source dependencies with version field work again

v1.3.1

03 Jul 18:13
Compare
Choose a tag to compare

[1.3.1] - 2023-07-03

Fixed

  • Fetch the same version as the lock file does while checking solved dependencies

v1.3.0

29 Jun 21:51
Compare
Choose a tag to compare

[1.3.0] - 2023-06-30

Changed

  • Extend the behavior of compote manifest create and compote manifest add-dependency to create a manifest file based on the context of the current working directory (context of a project or a component)
  • Disable API cache by default
  • Updated error message if override_path is not a folder

Added

  • Add documentation for compote CLI
  • Add a check for the existence of a dependency in the registry when using the compote manifest add-dependency command
  • Add -W | --warnings-as-errors flag to compote to treat warnings as errors
  • Add -p | --path flag to compote manifest create and compote manifest add-dependency to specify the path to the manifest file
  • Add compote manifest schema to generate the json schema file of the idf_component.yml
  • Add compote cache clear to drop system-wide cache of components and API cache
  • Make file cache path configurable via IDF_COMPONENT_CACHE_PATH environment variable
  • Add compote cache path command to print the path to the cache directory
  • Add compote cache size command to print the size of the cached data
  • Add compote version command to print the version of the component manager
  • Add IDF_COMPONENT_OVERWRITE_MANAGED_COMPONENTS environment variable to allow overwrite files in the managed_component directory, even if they have been modified by the user
  • Add documentation project for the component manager and Espressif component registry
  • Treat local source dependency priority higher
  • Add --install flag to compote autocomplete to create the completion files and append the sourcing code into the rc files. By default, print the completion functions to the console.
  • Add --dry-run flag to compote autocomplete --install to simulate the install script.
  • Add --dry-run flag to compote component upload to simulate the upload process
  • Print message with the reason why the component manager desided to solve dependencies again
  • Add update-dependencies command to idf.py for updating dependencies of the project
  • Add manifest format reference to the documentation
  • Add compote component yank CLI command to yank version of the component from the registry
  • Show warnings from the component registry during uploading components
  • Add config for ReadTheDocs
  • Add dest-dir option to compote component pack command to specify the destination directory for the archive
  • Add compote registry login CLI command to login to the component registry and store the token in the config file

Fixed

  • Fix deprecation warnings not showing up in the terminal
  • Fix regular expression for repository URL validation
  • Stop injecting shell config files by default in compote autocomplete
  • Prevent possible DNS spoof when dependencies.lock file exists and no need to be updated.
  • Always add idf as a dependency to dependencies.lock file even without explict declaration.
  • Fix git submodule update error when using submodule exists in the path field specified in the corresponding git dependency
  • Fixed a bug where dependencies of the component weren't updating when local component changed
  • Fix mixed slashes in paths on Windows
  • Make different error messages for non-existing Version and Component
  • Fixed a bug where it was required to set IDF version and target for non-IDF dependent actions
  • Fix checks for targets in manifest validator, to make sure newer targets don't cause errors on older ESP-IDF versions

Full Changelog: v1.2.1...v1.3.0