Skip to content

Drop typelevel-prelude dependency #94

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

Merged
merged 1 commit into from
May 29, 2019
Merged

Conversation

hdgarrood
Copy link
Contributor

We aren't actually using anything provided by typelevel-prelude;
instead, we're only using its re-exports. Dropping the dependency and
importing RLProxy and the Union class from where they are defined means
that we have fewer dependencies to worry about, so version
incompatibilities are less likely to occur.

I'd suggest releasing this as a patch-level change; previously we have
recommended releasing changes in which dependencies have been dropped as
major-level, because it can break downstream libraries if they are
relying on the presence of that dependency, but I have come to believe
that this policy is worse since it results in far too many unnecessary
major version bumps, and downstream libraries depending on a particular
transitive dependency but not declaring that dependency are arguably
broken anyway.

We aren't actually using anything provided by typelevel-prelude;
instead, we're only using its re-exports. Dropping the dependency and
importing RLProxy and the Union class from where they are defined means
that we have fewer dependencies to worry about, so version
incompatibilities are less likely to occur.

I'd suggest releasing this as a patch-level change; previously we have
recommended releasing changes in which dependencies have been dropped as
major-level, because it can break downstream libraries if they are
relying on the presence of that dependency, but I have come to believe
that this policy is worse since it results in far too many unnecessary
major version bumps, and downstream libraries depending on a particular
transitive dependency but not declaring that dependency are arguably
broken anyway.
@hdgarrood hdgarrood requested a review from maddie927 May 29, 2019 15:48
@hdgarrood hdgarrood merged commit 01b5431 into master May 29, 2019
@hdgarrood hdgarrood deleted the drop-typelevel-prelude-dep branch May 29, 2019 17:33
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.

2 participants