parser: fix deprecations
encoder: fix deprecations
decoder: fix deprecations
mix: bump version and Elixir requirement