bitemyapp / esqueleto

New home of Esqueleto, please file issues so we can get things caught up!
BSD 3-Clause "New" or "Revised" License
372 stars 107 forks source link

Migration to Experimental #248

Open parsonsmatt opened 3 years ago

parsonsmatt commented 3 years ago

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

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 commented 1 year ago

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 commented 1 year ago

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.