Skip to content

Commit 0b82f71

Browse files
committed
Increase the maximum length of dependency version specifications to support long package URLs in project manifests // Resolve #5459
1 parent 04f351d commit 0b82f71

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

HISTORY.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ test-driven methodologies, and modern toolchains for unrivaled success.
2626
* Added a new ``-p, --port`` option to the `pio run <https://docs.platformio.org/en/latest/core/userguide/cmd_run.html#cmdoption-pio-run-p>`__ command, allowing users to set both ``upload_port`` and ``monitor_port`` simultaneously for a more streamlined workflow (`pull #5429 <https://github.com/platformio/platformio-core/pull/5429>`_)
2727
* Added an option to `disable the 99-platformio-udev.rules <https://docs.platformio.org/en/latest/core/userguide/cmd_settings.html#disable_udev_rules_check>`__ check, providing greater flexibility in environments where system-level udev configuration is not required (`pull #5204 <https://github.com/platformio/platformio-core/pull/5204>`_)
2828
* Introduced the `PLATFORMIO_DISABLE_UPGRADE_CHECK <https://docs.platformio.org/en/latest/envvars.html#envvar-PLATFORMIO_DISABLE_UPGRADE_CHECK>`__ environment variable, allowing users to disable upgrade availability checks when needed (`pull #5428 <https://github.com/platformio/platformio-core/pull/5428>`_)
29+
* Increased the maximum length of dependency version specifications to support long package URLs in project manifests (`issue #5459 <https://github.com/platformio/platformio-core/issues/5459>`_)
2930
* Fixed an issue that could cause an infinite retry loop when a cached package mirror redirect repeatedly failed (`pull #5435 <https://github.com/platformio/platformio-core/pull/5435>`_)
3031
* Fixed an issue where the library integrity metadata was not invalidated after correcting invalid version requirements (`issue #5232 <https://github.com/platformio/platformio-core/issues/5232>`_)
3132
* Fixed an issue where |UNITTESTING| failed on Windows due to improper handling of ``Serial.end()`` (`issue #5359 <https://github.com/platformio/platformio-core/issues/5359>`_)

platformio/package/manifest/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class RepositorySchema(StrictSchema):
8888
class DependencySchema(StrictSchema):
8989
owner = fields.Str(validate=validate.Length(min=1, max=100))
9090
name = fields.Str(required=True, validate=validate.Length(min=1, max=100))
91-
version = fields.Str(validate=validate.Length(min=1, max=100))
91+
version = fields.Str(validate=validate.Length(min=1, max=255))
9292
authors = StrictListField(fields.Str(validate=validate.Length(min=1, max=50)))
9393
platforms = StrictListField(
9494
fields.Str(

0 commit comments

Comments
 (0)