Weird "shards outdated" output (Crystal 1.0.0)

I see it as a bug: https://github.com/crystal-lang/shards/issues/413
but actually this check was added intentionally, so it probably won’t be changed.

The short story is that there was an implicit mandate for developers to explicitly specify that their library works with 1.0.0, or else it will break as shown here.

To just move on with your life:

  • For users:

    • Permanently (I definitely recommend):
      Add into your ~/.bashrc or similar:

      export SHARDS_OPTS=--ignore-crystal-version
      
    • Temporarily: Run shards --ignore-crystal-version instead.

  • For library developers, so your users don’t need to see this:

    • Specify crystal: '>= 0.35.0' in shard.yml if previously you had crystal: 0.35.0.