URGENT: TinyGPSPlus PlatformIO loads wrong version

PlatformIO shows TinyGPSPlus version 1.0.0 in the repository.
But when i install this lib i get the (very old and buggy) version 0.92, as proved in the header file:

#define _GPS_VERSION "0.92" // software version of this library

My GPS related code was not running with the library installed by platformIO library manager. It
took me several hours to understand what’s wrong, because i assumed some error in my code.

After replacing

lib_deps =
  TinyGPSPlus

by

lib_deps =
  https://github.com/mikalhart/TinyGPSPlus.git

suddenly everything worked… :frowning:

You are right, I can reproduce this…

$ pio lib  show TinyGPSPlus
TinyGPSPlus
===========
#ID: 1655
A new, customizable Arduino NMEA parsing library

Version: 1.0.0, released 10/05/17 19:06:39
Manifest: https://raw.githubusercontent.com/mikalhart/TinyGPSPlus/master/library.json
Repository: https://github.com/mikalhart/TinyGPSPlus.git

The newest file on the repo is not 5th October 2017 but 4th April 2018… But then again, the library.json was last updated at the 6th October 2017. I don’t know much about PIOs library repository, but it may just be possible that the Author updated the library code but did not update the version number, and thus PIO didn’t grab the newest version?

There are two issues:

PIO shows version lib 1.0.0, but the code in the repository
https://github.com/mikalhart/TinyGPSPlus.git
is actually 1.0.2.
This is because the author did not update library.json.
There is already a pull request to correct this:

But this is only what is displayed, does not affect on the code.

When i install the library by using PIO install, i do not get code version 1.0.0 / 1.0.2, but the initial version 0.92 !

And this is catastrophical, since this version is not working properly.

I’ve just switched this library to PR Update version to 1.0.2 by ivankravets · Pull Request #40 · mikalhart/TinyGPSPlus · GitHub

Library should be updated soon at PlatformIO Registry