PlatformIO v4.2.0 Release Notes

Release Date: 2020-02-12 // about 4 years ago

    ๐Ÿ“„ PlatformIO Home 3.1:

    • Project Manager

    - Project Configuration UI for "platformio.ini"

    ๐Ÿ“„ PIO Check โ€“ automated code analysis without hassle:

    - Added support for PVS-Studio static code analyzer

    ๐ŸŽ‰ Initial support for Project Manager CLI:

    - Moved platformio init command to platformio project init

    ๐Ÿ“„ Generate compilation database "compile_commands.json" (issue #2990)

    ๐Ÿ— Control debug flags and optimization level with a new debug_build_flags option

    ๐Ÿ“ฆ Install a dev-platform with ALL declared packages using a new --with-all-packages option for pio platform install command (issue #3345)

    โž• Added support for "pythonPackages" in platform.json manifest (PlatformIO Package Manager will install dependent Python packages from PyPi registry automatically when dev-platform is installed)

    ๐Ÿ”ง Handle project configuration (monitor, test, and upload options) for PIO Remote commands (issue #2591)

    โž• Added support for Arduino's library.properties depends field (issue #2781)

    Autodetect monitor port for boards with specified HWIDs (issue #3349)

    โšก๏ธ Updated SCons tool to 3.1.2

    โšก๏ธ Updated Unity tool to 2.5.0

    ๐Ÿ“ฆ Made package ManifestSchema compatible with marshmallow >= 3 (issue #3296)

    Warn about broken library manifest when scanning dependencies (issue #3268)

    Do not overwrite custom items in VSCode's "extensions.json" (issue #3374)

    ๐Ÿ›  Fixed an issue when env.BoardConfig() does not work for custom boards in extra scripts of libraries (issue #3264)

    ๐Ÿ›  Fixed an issue with "start-group/end-group" linker flags on Native development platform (issue #3282)

    ๐Ÿ›  Fixed default PIO Unified Debugger configuration for J-Link probe

    Fixed an issue with LDF when header files not found if "libdeps_dir" is within a subdirectory of "lib_extra_dirs" (issue #3311)

    ๐Ÿ›  Fixed an issue "Import of non-existent variable 'projenv''" when development platform does not call "env.BuildProgram()" (issue #3315)

    ๐Ÿ›  Fixed an issue when invalid CLI command does not return non-zero exit code

    ๐Ÿ›  Fixed an issue when Project Inspector crashes when flash use > 100% (issue #3368)

    ๐Ÿ›  Fixed a "UnicodeDecodeError" when listing built-in libraries on macOS with Python 2.7 (issue #3370)

    ๐Ÿ›  Fixed an issue with improperly handled compiler flags with space symbols in VSCode template (issue #3364)

    ๐Ÿ›  Fixed an issue when no error is raised if referred parameter (interpolation) is missing in a project configuration file (issue #3279)