Update dependency @astrojs/netlify to v3 #2
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/astrojs-netlify-3.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.2.0->3.0.0Release Notes
withastro/astro (@astrojs/netlify)
v3.0.0Compare Source
Major Changes
#8188
d0679a666Thanks @ematipico! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.#8179
6011d52d3Thanks @matthewp! - Astro 3.0 Release Candidate#8188
7511a4980Thanks @ematipico! - When using an adapter that supports neither Squoosh or Sharp, Astro will now automatically use an image service that does not support processing, but still provides the other benefits ofastro:assetssuch as enforcingalt, no CLS etc to users#8188
148e61d24Thanks @ematipico! - Reduced the amount of polyfills provided by Astro. Astro will no longer provide (no-op) polyfills for several web apis such as HTMLElement, Image or Document. If you need access to those APIs on the server, we recommend using more proper polyfills available on npm.#8029
2ee418e06Thanks @matthewp! - Remove the Netlify Edge adapter@astrojs/netlify/functionsnow supports Edge middleware, so a separate adapter for Edge itself (deploying your entire app to the edge) is no longer necessary. Please update your Astro config to reflect this change:This adapter had several known limitations and compatibility issues that prevented many people from using it in production. To reduce maintenance costs and because we have a better story with Serveless + Edge Middleware, we are removing the Edge adapter.
Minor Changes
#8188
cd2d7e769Thanks @ematipico! - Introduced the concept of feature map. A feature map is a list of features that are built-in in Astro, and an Adaptercan tell Astro if it can support it.
#8188
80f1494cdThanks @ematipico! - Thebuild.splitandbuild.excludeMiddlewareconfiguration options are deprecated and have been replaced by options in the adapter config.If your config includes the
build.excludeMiddlewareoption, replace it withedgeMiddlewarein your adapter options:If your config includes the
build.splitoption, replace it withfunctionPerRoutein your adapter options:Patch Changes
d0679a666,db39206cb,adf9fccfd,0c7b42dc6,46c4c0e05,364d861bd,2484dc408,81545197a,6011d52d3,c2c71d90c,cd2d7e769,80f1494cd,e45f30293,c0de7a7b0,65c354969,3c3100851,34cb20021,a824863ab,44f7a2872,1048aca55,be6bbd2c8,9e021a91c,7511a4980,c37632a20,acf652fc1,42785c7b7,8450379db,dbc97b121,7d2f311d4,2540feedb,ea7ff5177,68efd4a8b,7bd1b86f8,036388f66,519a1c4e8,1f58a7a1b,2ae9d37f0,a8f35777e,70f34f5a3,5208a3c8f,84af8ed9d,f003e7364,ffc9e2d3d,732111cdc,0f637c71e,33b8910cf,8a5b0c1f3,148e61d24,e79e3779d,632579dc2,3674584e0,1db4e92c1,e7f872e91,16f09dfff,4477bb41c,55c10d1d5,3e834293d,96beb883a,997a0db8a,80f1494cd,0f0625504,e1ae56e72,f32d093a2,f01eb585e,b76c166bd,a87cbe400,866ed4098,767eb6866,32669cd47]:v2.6.0Compare Source
Minor Changes
f974c95a2Thanks @lilnasy! - If you are using Netlify's On-demand Builders, you can now specify how long your pages should remain cached. By default, all pages will be rendered on first visit and reused on every subsequent visit until a redeploy. To set a custom revalidation time, call theruntime.setBuildersTtl()local in either your frontmatter or middleware.v2.5.2Compare Source
Patch Changes
#7862
1859960d0Thanks @Yan-Thomas! - Fix README GitHub search link#7754
298dbb89fThanks @natemoo-re! - Improve404behavior forserverlessandedgeUpdated dependencies [
298dbb89f,9e2203847,5c5da8d2f,0b8375fe8,89d015db6,ebf7ebbf7]:v2.5.1Compare Source
Patch Changes
#7805
42a21b5daThanks @matthewp! - Prevent building .html file redirects in hybrid modeUpdated dependencies [
31c4031ba,5161cf919,59b556232,267487e63,b063a2d8a,d5f526b33,7dbcbc86b]:v2.5.0Compare Source
Minor Changes
#7700
a77741d25Thanks @delucis! - When a project uses the newbuild.excludeMiddlewareAstro config option, the@astrojs/netlify/functionsadapter will bundle your middleware to run in a Netlify Edge Function.See the Netlify adapter documentation for more details.
Patch Changes
72bbfac97,d401866f9,4f6b5ae2b,06c255716]:v2.4.0Compare Source
Minor Changes
#7615
f21357b69Thanks @ematipico! - The Netlify adapter builds to a single function by default. Astro 2.7 added support for splitting your build into separate entry points per page. If you use this configuration, the Netlify adapter will generate a separate function for each page. This can help reduce the size of each function so they are only bundling code used on that page.Patch Changes
f21357b69,86e19c7cf]:v2.3.0Compare Source
Minor Changes
#7067
57f8d14c0Thanks @matthewp! - Support for experimental redirectsThis adds support for the redirects RFC in the Netlify adapter, including a new
@astrojs/netlify/staticadapter for static sites.No changes are necessary when using SSR. Simply use configured redirects and the adapter will update your
_redirectsfile.Patch Changes
#7260
39403c32fThanks @natemoo-re! - Unflags support foroutput: 'hybrid'mode, which enables pre-rendering by default. The additionalexperimental.hybridOutputflag can be safely removed from your configuration.Updated dependencies [
57f8d14c0,414eb19d2,a7e2b37ff,dd1a6b6c9,d72cfa7ca,144813f73,b5213654b,e3b8c6296,890a2bc98,39403c32f,101f03209]:v2.2.3Compare Source
Patch Changes
#6991
719002ca5Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
Then add
export const prerender = falseto any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
v2.2.2Compare Source
Patch Changes
1e3873c04Thanks @andremralves! - fix: no edge functions deployed to netlifyv2.2.1Compare Source
Patch Changes
#6651
416ceb973Thanks @matthewp! - Use Deno API to set Astro.clientAddress in Netlify EdgeUpdated dependencies [
72fed684a,45bff6fcc,52d7a4a01,9e88e0f23,fa84f1a7d,a98f6f418,7f74326b7]:Configuration
📅 Schedule: Branch creation - "before 3pm on Sunday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: package-lock.json
8513dd2c022645ef36012645ef3601a2eb4e35a8a2eb4e35a8993624dc8bRenovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable
minorandpatchupdates automatically.If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.