-
Notifications
You must be signed in to change notification settings - Fork 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
chore: upgrade to blobs v8 #2595
Conversation
📊 Package size report 0.01%↑
Unchanged files
🤖 This report was automatically generated by pkg-size-action |
3272a0b
to
f07d8ec
Compare
fetch: fetchBeforeNextPatchedIt, | ||
experimentalRegion: | ||
process.env.USE_REGIONAL_BLOBS?.toUpperCase() === 'TRUE' ? 'context' : undefined, | ||
region: process.env.USE_REGIONAL_BLOBS?.toUpperCase() === 'TRUE' ? undefined : 'us-east-2', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
context
is now the default, us-east-2
is the old default
@@ -153,10 +153,6 @@ export class PluginContext { | |||
} | |||
|
|||
get useRegionalBlobs(): boolean { | |||
if (!(this.featureFlags || {})['next-runtime-regional-blobs']) { | |||
return false | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flag has been fully rolled out
|
||
const fetchBeforeNextPatchedIt = globalThis.fetch | ||
|
||
export const getRegionalBlobStore = (args: Parameters<typeof getDeployStore>[0] = {}): Store => { | ||
const options = typeof args === 'string' ? { name: args } : args | ||
export const getRegionalBlobStore = (args: GetWithMetadataOptions = {}): Store => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a nice type to use for this 👍
179aaa4
to
7307012
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Description
Upgrade to latest version of the blobs package and fixed up package references.
experimentalRegion: context
is now the default option for edge deploys and it was removed from the interface.Documentation
Blobs v8 upgrade:
netlify/blobs#183
Link to feature flag:
https://app.devcycle.com/o/org_dhCAK5hN1u5tXdf9/p/shared/features/6644def9bfcb11f2def7d11a
Replaces:
#2528
Tests
cli-before-regional-blobs-support
is failing, but it may be possible to remove this test now due to the new defaults