6717 Commits

Author SHA1 Message Date
Ivan Kravets 0b82f71e37 Increase the maximum length of dependency version specifications to support long package URLs in project manifests // Resolve #5459 2026-06-23 18:39:29 +03:00
Ivan Kravets 04f351d389 Bump version to 6.2.0a2 2026-06-23 18:29:50 +03:00
Ivan Kravets 694fe1fa4d Resolve the issue with circular import // Resolve #5462 2026-06-23 18:29:19 +03:00
Ivan Kravets 8fb7658eed Added an option to disable the 99-platformio-udev.rules 2026-06-11 15:22:27 +03:00
Dmytro Bagrii 642b56822f Option to disable udev rules check (#5204)
This introduces "disable_udev_rules_check" option in Linux environment.

If set to True, udev rules are not checked. This allows to suppress annoying
warnings when 99-platformio-udev.rules is not installed intentionally.

If set to False (default), udev rules are checked as before.
2026-06-11 15:06:49 +03:00
Ivan Kravets b094d53296 Update changelog 2026-06-11 14:59:39 +03:00
Ivan Kravets bd4244093c Update changelog 2026-06-11 14:56:02 +03:00
Jamie Magee 1cc980fa5c Add PLATFORMIO_DISABLE_UPGRADE_CHECK env var (#5428)
Skips the periodic PyPI version check and core package auto-update
when set. Distro packages and CI typically manage upgrades themselves.

Ref: https://github.com/platformio/platformio-core/issues/5427
2026-06-11 14:47:19 +03:00
Tinyu 53650afbe3 run: add -p/--port shortcut to set upload-port and monitor-port simultaneously. (#5429)
Implement port shortcut for upload and monitor.

Add shortcut option for upload and monitor ports
2026-06-11 14:31:06 +03:00
J. Nick Koston 8898b94af4 Avoid infinite loop when cached mirror redirect keeps failing (#5435)
* Avoid infinite loop when cached mirror redirect keeps failing

The registry mirror iterator caches the HEAD redirect for one hour,
but the cache hit path never advanced _visited_mirrors, and the
cached payload did not include X-PIO-Mirror. When a prior run cached
a redirect to a mirror that now fails (for example an SSL error on
the download), subsequent iterations kept hitting the same cache key
and returning the same failing mirror forever, so tool installs
looped until interrupted.

Store X-PIO-Mirror in the cached payload, and on cache hit only
reuse the entry if it names a mirror not already tried; otherwise
fall through to a fresh HEAD with bypass set. Stale cache entries
written before this change lack X-PIO-Mirror and fall through
naturally, so the fix self heals without a manual cache clear.

* Add unit tests for registry mirror iterator cache handling

Cover the cache hit path advancing _visited_mirrors, stale cache
entries without X-PIO-Mirror falling through to a fresh HEAD, and
new HEAD responses persisting X-PIO-Mirror so later runs can tell
whether the cached redirect still names an untried mirror. Each
test fails against the previous iterator implementation.

* Add type annotations to mirror iterator tests

* Use typing.X annotations for 3.6 compatibility

* Satisfy pylint and black on mirror iterator tests
2026-06-11 14:27:47 +03:00
chunix64 878a31ba40 Update 99-platformio-udev.rules: add 303a:4001 Espressif Systems Espressif Device (#5445)
Thanks for the PR
2026-06-11 14:19:33 +03:00
Ivan Kravets 7bc29315ab Add support for the latest Click 2026-06-11 14:18:09 +03:00
Ivan Kravets f084a47f19 Bump version to 6.2.0a1 2026-06-11 14:06:04 +03:00
Ivan Kravets 6bf706c9b0 Add support for stable Starlette 1.0 // Resolve #5350 , Resolve #5423 2026-06-11 14:05:43 +03:00
Ivan Kravets 782b152bd9 Dropped support for Python 3.6 2026-06-11 13:46:16 +03:00
Ivan Kravets 39592f8c05 Fixed an issue where the test suite status was incorrectly hardcoded as PASSED // Resolve #5183 Resolve #5302 Resolve #5436 2026-04-21 16:24:05 +03:00
Ivan Kravets 4ebf11bdeb Update deps 2026-04-21 16:23:05 +03:00
Ivan Kravets 5234675f5a Remove unused imports 2026-04-14 12:56:22 +03:00
Ivan Kravets f6734e6114 Bump version to 6.1.20b1 2026-04-14 12:52:57 +03:00
Ivan Kravets 3f9ccb669b Resolved an issue with floating-point precision in duration formatting // Resolve #5424 2026-04-14 12:52:24 +03:00
Ivan Kravets 4d4fb00a7e Resolved an issue where Unit Testing failed on Windows due to improper handling of `Serial.end()` // Resolve #5359 2026-04-14 12:50:12 +03:00
Ivan Kravets 91004fbddd Update dependencies 2026-04-14 12:49:30 +03:00
Nguyen Huy Hoang 0f30c31b95 Stop closing Arduino serial port at Unity test completion (#5405)
refactor: stop closing arduino serial port at unity test completion

Signed-off-by: Nguyen Huy Hoang <181364121+huyhoang171106@users.noreply.github.com>
2026-04-14 12:31:28 +03:00
Ivan Kravets 23a19a8c31 Fix library test 2026-03-27 19:54:52 +02:00
Ivan Kravets b5be5816ba Fixed an issue where the library integrity metadata was not invalidated // Resolve #5232 2026-03-27 19:19:16 +02:00
Ivan Kravets e4d2e44ad0 Fixed an issue where the library integrity metadata was not invalidated // Resolve #5232 2026-03-27 19:18:35 +02:00
Ivan Kravets c4e2a87ca1 Fix test 2026-03-27 19:17:18 +02:00
knQzx c4112e2b21 fix integrity.dat not being cleaned on version string typo (#5412)
catch SemanticVersionError when removing unused libdeps so a typo
in the version string doesn't permanently block builds

fixes #5232
2026-03-27 19:06:20 +02:00
Ivan Kravets a11e75b2f6 Sync docs 2026-03-26 17:02:04 +02:00
Ivan Kravets e530145bfa Fix test 2026-03-26 17:01:53 +02:00
Ivan Kravets c23ee27833 Update dependencies 2026-03-26 15:00:59 +02:00
Ivan Kravets 73d9f3dbea Bump version to 6.1.20a2 2026-02-23 14:44:48 +02:00
Ivan Kravets efa710d6b7 Clarify HTTP 429 limits during PlatformIO package downloads 2026-02-23 14:44:27 +02:00
Ivan Kravets 104c872457 Update deps 2026-02-22 11:37:32 +02:00
Ivan Kravets c201425a40 Bump version to 6.1.20a1 2026-02-04 16:20:41 +02:00
Ivan Kravets f8f24ea1f6 Merge tag 'v6.1.19' into develop
Bump version to 6.1.19
2026-02-04 15:25:10 +02:00
Ivan Kravets 15b8859aee Merge branch 'release/v6.1.19' v6.1.19 2026-02-04 15:25:09 +02:00
Ivan Kravets 3f93497e87 Update changelog 2026-02-04 15:24:58 +02:00
Ivan Kravets 30780c8769 Bump version to 6.1.19 2026-02-04 15:23:50 +02:00
Ivan Kravets 603c51522e Update GH actions 2026-02-04 14:39:26 +02:00
Ivan Kravets 8d6025aaea Bump version to 6.1.19rc1 2026-02-03 18:55:04 +02:00
Ivan Kravets ef3f05a327 Extend test for passed/failed suites // Issue #5183 2026-02-03 17:54:35 +02:00
Ivan Kravets 27b0381516 Cast to set lib deps list 2026-02-03 17:50:05 +02:00
Ivan Kravets ef845833f5 Keep unit testing dependencies when cleaning lib_deps 2026-02-03 17:47:29 +02:00
Ivan Kravets a7b3dedfe0 Remove "colorize" filter from CLI // Resolve #4556 2026-02-02 19:37:30 +02:00
Ivan Kravets 4b6a450d73 Fix Import issue 2026-02-02 19:35:59 +02:00
Ivan Kravets eb6db5e347 Enhanced compatibility with the CCLS language server // Resolve #5186 2026-02-02 19:17:21 +02:00
Ivan Kravets fc858c0b30 Improved error messages for package installation // Resolvel #5336 2026-02-02 19:04:59 +02:00
Jay Roy 2cb48ffb9b Improve UnknownPackageError message clarity (#5336)
* Improve UnknownPackageError message clarity

* Add IncompatiblePackageError for architecture-specific tool packages
2026-02-02 19:02:34 +02:00
Ivan Kravets 2fe3ed584f Fixed cleanup of the .pio/libdeps folder // Resolve #5110 2026-02-02 19:00:46 +02:00