Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support standard version 3.0.0 and drop support for older versions #634

Merged
merged 2 commits into from
Oct 12, 2018

Conversation

Gabriella439
Copy link
Collaborator

See the discussion in dhall-lang/dhall-lang#242
and the corresponding change the standard in
dhall-lang/dhall-lang#243 for more context.

At some point we want to extend support for older versions of the standard
as far back as possible, but in order to do this correctly we need to
provide a way to systematically thread the standard version to everything
that we standardize, including:

  • type-checking
  • β-normalization
  • α-normalization
  • import resolution
  • binary encoding/decoding

... and that entails a significant refactor to the API.

Given that we need to cut a new release soon, I've decided to drop support for
older releases for now. We may eventually add them back as a matter of
principle to exercise backwards compatibility, albeit I expect that people are
unlikely to use them again once we drop support for them once.

This also changes ProtocolVersion to StandardVersion everywhere in the API
and the command line for consistency with the change to the standard, since
there is no longer a protocol version now that we use the standard version to
version everything.

Once this is merged I will begin the process of cutting the next release.

See the discussion in dhall-lang/dhall-lang#242
and the corresponding change the standard in
dhall-lang/dhall-lang#243 for more context.

At some point we want to extend support for older versions of the standard
as far back as possible, but in order to do this correctly we need to
provide a way to systematically thread the standard version to everything
that we standardize, including:

* type-checking
* β-normalization
* α-normalization
* import resolution
* binary encoding/decoding

... and that entails a significant refactor to the API.

Given that we need to cut a new release soon, I've decided to drop support for
older releases for now.  We may eventually add them back as a matter of
principle to exercise backwards compatibility, albeit I expect that people are
unlikely to use them again once we drop support for them once.

This also changes `ProtocolVersion` to `StandardVersion` everywhere in the API
and the command line for consistency with the change to the standard, since
there is no longer a protocol version now that we use the standard version to
version everything.
@Gabriella439 Gabriella439 merged commit d9713ca into master Oct 12, 2018
@Gabriella439 Gabriella439 deleted the gabriel/versioning branch October 12, 2018 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant