Changelog History
Page 1
-
v5.0.3 Changes
November 12, 2020- โ Added an error selector for Sublime Text build runner (issue #3733)
- Generate a working "projectEnvName" for PlatformIO IDE's debugger for VSCode
- ๐ฎ Force VSCode's intelliSenseMode to "gcc-x64" when GCC toolchain is used
- โ Print ignored test suites and environments in the test summary report only in verbose mode (issue #3726)
- ๐ Fixed an issue when the package manager tries to install a built-in library from the registry (issue #3662)
- ๐ Fixed an issue when pio package pack ignores some folders (issue #3730)
-
v5.0.2 Changes
October 30, 2020- ๐ Initialize a new project or update the existing passing working environment name and its options (issue #3686)
- ๐ Automatically build PlatformIO Core extra Python dependencies on a host machine if they are missed in the registry (issue #3700)
- ๐ Improved "core.call" RPC for PlatformIO Home (issue #3671)
- ๐ Fixed a "PermissionError: [WinError 5]" on Windows when an external repository is used with lib_deps option (issue #3664)
- ๐ Fixed a "KeyError: 'versions'" when dependency does not exist in the registry (issue #3666)
- ๐ Fixed an issue with GCC linker when "native" dev-platform is used in pair with library dependencies (issue #3669)
- Fixed an "AssertionError: ensure_dir_exists" when checking library updates from simultaneous subprocesses (issue #3677)
- ๐ Fixed an issue when pio package publish command removes original archive after submitting to the registry (issue #3716)
- Fixed an issue when multiple pio lib install command with the same local library results in duplicates in
lib_deps
(issue #3715) - ๐ Fixed an issue with a "wrong" timestamp in device monitor output using "time" filter (issue #3712)
-
v5.0.1 Changes
September 10, 2020- โ Added support for "owner" requirement when declaring
dependencies
using library.json - ๐ฆ Fixed an issue when using a custom git/ssh package with platform_packages option (issue #3624)
- Fixed an issue with "ImportError: cannot import name '_get_backend' from 'cryptography.hazmat.backends'" when using Remote Development on RaspberryPi device (issue #3652)
- ๐ Fixed an issue when pio package unpublish command crashes (issue #3660)
- ๐ Fixed an issue when the package manager tries to install a built-in library from the registry (issue #3662)
- ๐ Fixed an issue with incorrect value for C++ language standard in IDE projects when an in-progress language standard is used (issue #3653)
- ๐ Fixed an issue with "Invalid simple block (semantic_version)" from library dependency that refs to an external source (repository, ZIP/Tar archives) (issue #3658)
- ๐ Fixed an issue when can not remove update or remove external dev-platform using PlatformIO Home (issue #3663)
- โ Added support for "owner" requirement when declaring
-
v5.0.0 Changes
September 03, 2020Professional collaborative platform for embedded development
๐ Release Notes
Integration with the new PlatformIO Trusted Registry
๐ฆ Enterprise-grade package storage with high availability (multi replicas)
Secure, fast, and reliable global content delivery network (CDN)
๐ฆ Universal support for all packages:
- Libraries - Development platforms - Toolchains
Built-in fine-grained access control (role-based, teams, organizations)
๐ New CLI commands:
- [pio package](https://docs.platformio.org/page/core/userguide/package/index.html) โ manage packages in the registry - [pio access](https://docs.platformio.org/page/core/userguide/access/index.html) โ manage package access for users, teams, and maintainers
Integration with the new Account Management System
- Manage teams and team memberships
๐ฆ New Package Management System
- Integrated PlatformIO Core with the new PlatformIO Registry
- Support for owner-based dependency declaration (resolves name conflicts) (issue #1824)
- Automatically save dependencies to "platformio.ini" when installing using PlatformIO CLI (issue #2964)
- Follow SemVer complaint version constraints when checking library updates issue #1281)
- Dropped support for "packageRepositories" section in "platform.json" manifest (please publish packages directly to the registry)
๐ท Build System
โฌ๏ธ Upgraded build engine to the SCons 4.0 - a next-generation software construction tool
- [Configuration files are Python scripts](https://docs.platformio.org/page/projectconf/advanced_scripting.html) โ use the power of a real programming language to solve build problems - Built-in reliable and automatic dependency analysis - Improved support for parallel builds - Ability to [share built files in a cache](https://docs.platformio.org/page/projectconf/section_platformio.html#projectconf-pio-build-cache-dir) to speed up multiple builds
๐ New Custom Targets
- Pre/Post processing based on dependent sources (another target, source file, etc.) - Command launcher with own arguments - Launch command with custom options declared in ["platformio.ini"](https://docs.platformio.org/page/projectconf.html) - Python callback as a target (use the power of Python interpreter and PlatformIO Build API) - List available project targets (including dev-platform specific and custom targets) with a new [pio run --list-targets](https://docs.platformio.org/page/core/userguide/cmd_run.html#cmdoption-platformio-run-list-targets) command ([issue #3544](https://github.com/platformio/platformio-core/issues/3544))
Enable "cyclic reference" for GCC linker only for the embedded dev-platforms (issue #3570)
๐ Automatically enable LDF dependency chain+ mode (evaluates C/C++ Preprocessor conditional syntax) for Arduino library when "library.property" has "depends" field (issue #3607)
๐ Fixed an issue with improper processing of source files added via multiple Build Middlewares (issue #3531)
๐ Fixed an issue with the
clean
target on Windows when project and build directories are located on different logical drives (issue #3542)Project Management
- Added support for "globstar/
**
" (recursive) pattern for the different commands and configuration options (pio ci, src_filter, check_patterns, library.json > srcFilter). Python 3.5+ is required - Added a new
-e, --environment
option to pio project init command that helps to update a PlatformIO project using the existing environment - Dump build system data intended for IDE extensions/plugins using a new pio project data command
- Do not generate ".travis.yml" for a new project, let the user have a choice
โ Unit Testing
- Updated PIO Unit Testing support for Mbed framework and added compatibility with Mbed OS 6
- Fixed an issue when running multiple test environments (issue #3523)
- Fixed an issue when Unit Testing engine fails with a custom project configuration file (issue #3583)
Static Code Analysis
โก๏ธ Updated analysis tools:
- [Cppcheck](https://docs.platformio.org/page/plus/check-tools/cppcheck.html) v2.1 with a new "soundy" analysis option and improved code parser - [PVS-Studio](https://docs.platformio.org/page/plus/check-tools/pvs-studio.html) v7.09 with a new file list analysis mode and an extended list of analysis diagnostics
โ Added Cppcheck package for ARM-based single-board computers (issue #3559)
๐ Fixed an issue with PIO Check when a defect with a multiline error message is not reported in verbose mode (issue #3631)
Miscellaneous
- Display system-wide information using a new pio system info command (issue #3521)
- Remove unused data using a new pio system prune command (issue #3522)
- Show ignored project environments only in the verbose mode (issue #3641)
- Do not escape compiler arguments in VSCode template on Windows.
-
v4.3.4 Changes
May 23, 2020- โ Added PlatformIO CLI Shell Completion for Fish, Zsh, Bash, and PowerShell (issue #3435)
- ๐ Automatically build
contrib-pysite
package on a target machine when pre-built package is not compatible (issue #3482) - ๐ Fixed an issue on Windows when installing a library dependency from Git repository (issue #2844, issue #3328)
-
v4.3.3 Changes
April 28, 2020- ๐ Fixed "UnicodeDecodeError: 'utf-8' codec can't decode byte" when non-Latin chars are used in project path (issue #3481)
-
v4.3.2 Changes
April 28, 2020- ๐ New Account Management System (preview)
- ๐ Open source PIO Remote client
- ๐ Improved PIO Check with more accurate project processing
- Echo what is typed when
send_on_enter
device monitor filter is used (issue #3452) - ๐ Fixed PIO Unit Testing for Zephyr RTOS
- ๐ Fixed UnicodeDecodeError on Windows when network drive (NAS) is used (issue #3417)
- ๐ Fixed an issue when saving libraries in new project results in error "No option 'lib_deps' in section" (issue #3442)
- ๐ Fixed an incorrect node path used for pattern matching when processing middleware nodes
- Fixed an issue with missing
lib_extra_dirs
option in SRC_LIST for CLion (issue #3460)
-
v4.3.1 Changes
March 20, 2020- ๐ Fixed a SyntaxError "'return' with argument inside generator" for PIO Unified Debugger when Python 2.7 is used
- ๐ Fixed an issue when
lib_archive = no
was not honored in "platformio.ini" - ๐ Fixed a TypeError "super(type, obj): obj must be an instance or subtype of type" when device monitor is used with a custom dev-platform filter (issue #3431)
-
v4.3.0 Changes
March 19, 2020๐ Initial support for an official PlatformIO for CLion IDE plugin:
- Smart C and C++ editor
- Code refactoring
- On-the-fly code analysis
- "New PlatformIO Project" wizard
- Building, Uploading, Testing
- Integrated debugger (inline variable view, conditional breakpoints, expressions, watchpoints, peripheral registers, multi-thread support, etc.)
๐ Device Monitor 2.0
- Added PlatformIO Device Monitor Filter API (dev-platforms can extend base device monitor with a custom functionality, such as exception decoding) (pull #3383)
- Configure project device monitor with monitor_filters option
- Capture device monitor output to a file with
log2file
filter (issue #670) - Show a timestamp for each new line with
time
filter (issue #981) - Send a text to device on ENTER with
send_on_enter
filter (issue #926)
- Show a hexadecimal representation of the data (code point of each character) with
hexlify
filter๐ New standalone (1-script) PlatformIO Core Installer
๐ Initial support for Renode simulation framework (issue #3401)
โ Added support for Arm Mbed "module.json"
dependencies
field (issue #3400)๐ Improved support for Arduino "library.properties"
depends
field๐ Fixed an issue when quitting from PlatformIO IDE does not shutdown PIO Home server
๐ Fixed an issue "the JSON object must be str, not 'bytes'" when PIO Home is used with Python 3.5 (issue #3396)
๐ Fixed an issue when Python 2 does not keep encoding when converting ".ino" (issue #3393)
๐ Fixed an issue when
"libArchive": false
in "library.json" does not work (issue #3403)๐ Fixed an issue when not all commands in compilation database "compile_commands.json" use absolute paths (pull #3415)
๐ Fixed an issue when unknown transport is used for PIO Unit Testing engine (issue #3422)
-
v4.2.1 Changes
February 17, 2020- ๐ Improved VSCode template with special
forceInclude
field for direct includes via-include
flag (issue #3379) - ๐ Improved support of PIO Home on card-sized PC (Raspberry Pi, etc.) (issue #3313)
- Froze "marshmallow" dependency to 2.X for Python 2 (issue #3380)
- ๐ Fixed "TypeError: unsupported operand type(s)" when system environment variable is used by project configuration parser (issue #3377)
- ๐ Fixed an issue when Library Dependency Finder (LDF) ignores custom "libLDFMode" and "libCompatMode" options in library.json
- ๐ Fixed an issue when generating of compilation database "compile_commands.json" does not work with Python 2.7 (issue #3378)
- ๐ Improved VSCode template with special