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

Migration to Experimental #248

Open
parsonsmatt opened this issue May 7, 2021 · 2 comments
Open

Migration to Experimental #248

parsonsmatt opened this issue May 7, 2021 · 2 comments
Milestone

Comments

@parsonsmatt
Copy link
Collaborator

parsonsmatt commented May 7, 2021

This should occur in multiple phases:

esqueleto-3.5

#249. Introduce Database.Esqueleto.Legacy, warn on Database.Esqueleto, and point folks to Experimental syntax as new default.

esqueleto-3.6

This release ended up having enough going on that I want to do another breaking change, so I am delaying the default changing to 3.7.

esqueleto-3.7

#250. Database.Esqueleto officially points to experimental syntax. Database.Esqueleto.Legacy and Database.Esqueleto.Experimental get warnings, noting that they'll be deleted in the next version.

esqueleto-4.0

Legacy syntax is completely deleted.

@Philonous
Copy link
Contributor

Is there a plan how to deal with legacy code that relies on the old syntax? I have inherited a significant code base written in the old style and it's hardly feasible to rewrite it all.

@parsonsmatt
Copy link
Collaborator Author

I've laid out the planned version releases here. If you need the old syntax, then you'll want to depend on esqueleto < 4.

I can create a branch at esqueleto-3.6 that someone else can use for backporting fixes if they want to continue to maintain the legacy style.

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

No branches or pull requests

2 participants