#Where can we see new versions that affect compatibility_date?

14 messages Β· Page 1 of 1 (latest)

clear marlin
#

Hi! I understood that compatibility_date is just a date we can define without limits, and it will pick up changes until that date, right?

I was trying to find the list of versions, but at https://developers.cloudflare.com/workers/configuration/compatibility-dates/#change-history it only mentions certain changes.

Actual changes are releases in the workerd repository? https://github.com/cloudflare/workerd/releases

If so, I couldn't find for example the version 2023-12-01, which is described at https://developers.cloudflare.com/workers/configuration/compatibility-dates/#webcrypto-preserve-publicexponent-field, so it wouldn't really match 😦

Just asking because I would like to automate updating my dates whenever there is a new version with renovatebot, so that I could use this repository releases.

strange kestrel
#

Just asking because I would like to automate updating my dates whenever there is a new version with renovatebot, so that I could use this repository releases.
I don't think that's really what you want to do though, or necessarily a smart idea. Compat date is made to prevent breaking changes from bothering you. Unless you want a new feature, there's no reason to update it

clear marlin
#

Thanks for answering @strange kestrel ! πŸ™‚

I am checking and that file you mention does reflect the same versions as the GitHub releases

clear marlin
strange kestrel
#

If you just want a specific latest feature, you can always opt into just that one via compat flags

#

For every change, there is a flag to enable and a flag to disable

strange kestrel
#

For example, there's been none in 2024 so far

clear marlin
#

Mmm, so instead of defining dates, this could all work just with features to enable/disable πŸ€”

strange kestrel
#

The whole point of compat dates is so you don't have to work to constantly update your workers to keep them working

clear marlin
#

Okay! Got it! Thanks a lot @strange kestrel ! πŸ˜„

strange kestrel
#

yea imo you'd just be creating more work for yourself then is necessary/worth it. Most of the compat date gated changes were just weird behavior/things that would require potentially changing code, I don't think any being necessarily worth it to go through the trouble of constantly updating for unless you wanted a feature, and you can follow the change log and such if you are curious about ones coming out. That's just my opinion at least, and from what I've seen most people I know follow the same logic.