Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
create-cloudflare@2.27.0
Minor Changes
40ecf47
Thanks @petebacondarwin! - feat: add experimental mode and associated workers + assets templatesPatch Changes
40ecf47
Thanks @petebacondarwin! - fix: do not crash if the chosen framework does not exist@cloudflare/workers-shared@0.5.0
Minor Changes
#6631
59a0072
Thanks @emily-shen! - Add asset config behaviour.Add
html_handling
(e.g. /index.html -> /) with options"auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | "none"
to Asset Worker.Add
not_found_handling
behaviour with options"404-page" | "single-page-application" | "none"
to Asset Worker.wrangler@3.77.0
Minor Changes
#6674
831f892
Thanks @andyjessop! - feat: Added new [[pipelines]] bindings. This creates a new binding that allows sending events tothe specified pipeline.
Example:
[[pipelines]]
binding = "MY_PIPELINE"
pipeline = "my-pipeline"
#6668
88c40be
Thanks @zebp! - feature: add observability setting to wrangler.tomlAdds the
observability
setting which provides your Worker with automatic persistent logs that can be searched, filtered, and queried directly from the Workers dashboard.#6679
2174127
Thanks @jkoe-cf! - feat: adding option to specify a rule within the config to delete (if no rules are specified, all rules get deleted)#6666
4107f57
Thanks @threepointone! - feat: support analytics engine in local/remote devThis adds "support" for analytics engine datasets for
wrangler dev
. Specifically, it simply mocks the AE bindings so that they exist while developing (and don't throw when accessed).This does NOT add support in Pages, though we very well could do so in a similar way in a followup.
#6640
8527675
Thanks @petebacondarwin! - feat: experimental workers assets can be ignored by adding a .assetsignore fileThis file can be added to the root of the assets directory that is to be uploaded alongside the Worker
when using
experimental_assets
.The file follows the
.gitignore
syntax, and any matching paths will not be included in the upload.#6652
648cfdd
Thanks @bthwaites! - feat: Update R2 Get Event Notification response, display, and actions#6625
8dcd456
Thanks @maxwellpeterson! - feature: Add support for placement hintsAdds the
hint
field to smart placement configuration. When set, placement hints will be used to decide where smart-placement-enabled Workers are run.Patch Changes
#6631
59a0072
Thanks @emily-shen! - Add config options 'html_handling' and 'not_found_handling' to experimental_asset field in wrangler.toml#6621
6523db2
Thanks @emily-shen! - fix: Validateroutes
inwrangler dev
andwrangler deploy
for Workers with assetsWe want wrangler to error if users are trying to deploy a Worker with assets, and routes with a path component.
All Workers with assets must have either:
#6687
7bbed63
Thanks @GregBrimble! - fix: Fix asset upload count messaging#6628
33cc0ec
Thanks @GregBrimble! - chore: Improves messaging when uploading assets#6671
48eeff4
Thanks @jkoe-cf! - fix: Update R2 Create Event Notification response#6618
67711c2
Thanks @GregBrimble! - fix: Switch to multipart/form-data upload format for Workers AssetsThis has proven to be much more reliable.
Updated dependencies [
3f5b934
,59a0072
]:miniflare@3.20240909.0
Patch Changes
#6673
3f5b934
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
@cloudflare/pages-shared@0.11.56
Patch Changes
#6680
7579bd8
Thanks @WalshyDev! - fix: fix Pages redirects going to a hash location to be duped. This means if you have a rule like/foo/bar /foo#bar
it will no longer result in/foo#bar#bar
but the correct/foo#bar
.Updated dependencies [
3f5b934
]:@cloudflare/vitest-pool-workers@0.4.31
Patch Changes
#6673
3f5b934
Thanks @dependabot! - fix: Theworkerd
providednode:url
module doesn't support everything Vitest needs. As a short-term fix, inject thenode:url
polyfill into the worker bundle.Updated dependencies [
831f892
,88c40be
,3f5b934
,59a0072
,2174127
,6523db2
,4107f57
,8527675
,648cfdd
,7bbed63
,33cc0ec
,48eeff4
,67711c2
,8dcd456
]: