VSCode PlatformIO and Git versions of Arduino Core for ESP8266 don't match


PlatformIO says something like this:

PlatformIO will install the latest Arduino Core for ESP8266 from GitHub - esp8266/Arduino: ESP8266 core for Arduino.

GitHub says that the newest version of Arduino Core for ESP8266 is 2.4.0-rc2. In the meantime PlatformIO manager says that i have version 1.4.0 and that this is the latest version.
Also other libraries are out of date or even with broken version number. For example we can find that SoftwareSerial is on ESP Core GIT page with version 3.3.0 (3,3.1 on GIT specific for SoftwareSerial library), and version shown in manager is… 0.0.0.

Why is that? Is there a way to easily install actual latest versions?

You see “stable” release of ESP8266 dev/platform. If you are looking for staging version, see