-
Notifications
You must be signed in to change notification settings - Fork 86
Use new default functions directory #87
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
Conversation
hey @eduardoboucas ! will this be backwards compatible by chance? i.e. if build releases first and the plugin tries to run on a site before the plugin can release aka while the plugin still has the old const defined. coordinating releases might be tricky though shouldnt be too risky if we're in sync enough :) |
Hey @lindsaylevine! As far as I know, there are no plans of making this backwards-compatible (i.e. to still honour the I think we could make this backwards-compatible, but it would add some complexity, so perhaps let's discuss how best to sync the release process to avoid it? Thanks! 🙌🏻 |
@eduardoboucas gotcha ok sounds good! just occurred to me as well that some people may have the plugin installed/locked at a specific version in which case their builds will still have |
Good point @lindsaylevine! This PR requires The initial idea was to release
It seems to me the only solution to this would be keep supporting A separate potential problem: the new value |
Good point indeed, I didn't consider that.
I agree. I'm happy to handle that. |
jeez i hope not 😂 i think our unit tests would have caught this though, right? |
Do you think we could set an "end of support" date for the plugin versions that require |
Sorry @verythorough, I missed your comment somehow. I created an issue for this at netlify/build#2252, since removing the backwards-compatibility would happen on the Build side. |
With netlify/build#2188, the default functions directory will be
netlify/functions
. This PR updates the plugin accordingly.