diff --git a/HISTORY.rst b/HISTORY.rst index c941ba72..975ddbb3 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -6,6 +6,11 @@ Release Notes PlatformIO 4.0 -------------- +4.0.2 (2019-08-23) +~~~~~~~~~~~~~~~~~~ + +* Fixed an issue with a broken `LDF `__ when checking for framework compatibility (`issue #2940 `_) + 4.0.1 (2019-08-22) ~~~~~~~~~~~~~~~~~~ diff --git a/docs b/docs index 29f80d45..3f5d12ca 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 29f80d45f2d7fe14918b507d84ec8badc54fe087 +Subproject commit 3f5d12ca25f4af666871d3d87d191a4deb478937 diff --git a/platformio/__init__.py b/platformio/__init__.py index 7f7b65d0..ee53de46 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -VERSION = (4, 0, 1) +VERSION = (4, 0, 2) __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/builder/tools/piolib.py b/platformio/builder/tools/piolib.py index 1848cbf7..b5ace28c 100644 --- a/platformio/builder/tools/piolib.py +++ b/platformio/builder/tools/piolib.py @@ -755,7 +755,7 @@ class PlatformIOLibBuilder(LibBuilderBase): @property def lib_compat_mode(self): - return self.validate_ldf_mode( + return self.validate_compat_mode( self.env.GetProjectOption( "lib_compat_mode", self._manifest.get("build", {}).get(