Merged
Conversation
00fd2bd to
e988759
Compare
e988759 to
bbe0674
Compare
bbe0674 to
758c9a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
wrangler@0.0.8
Patch Changes
#231
18f8f65Thanks @threepointone! - refactor: proxy/preview serverThis PR refactors how we setup the proxy server between the developer and the edge preview service during
wrangler dev. Of note, we start the server immediately. We also buffer requests/streams and hold on to them, when starting/refreshing the token. This means a developer should never seeERR_CONNECTION_REFUSEDerror page, or have an older worker respond after making a change to the code. And when the token does get refreshed, we flush said streams/requests with the newer values, making the iteration process a lot smoother and predictable.#239
0431093Thanks @Warfields! - Added prompt for users to select an account.#225
b901bf7Thanks @GregBrimble! - Fix the--watchcommand forwrangler pages functions build.#208
fe4b099Thanks @petebacondarwin! - Remove explicitanytypes from the codebaseThis change removes all use of
anyfrom the code and updates theno-explicit-anyeslint rule to be an error.#223
a979d55Thanks @GregBrimble! - Add ability to compile a directory other thanfunctionsforwrangler pages functions build.#216
e1c615fThanks @GregBrimble! - Ignore non-JS files when compiling Pages Functions#217
777f4d5Thanks @GregBrimble! - Reverse execution order of Pages Functions middlewares#221
8ff5537Thanks @mrbbot! - Upgrademiniflareto2.0.0#196
fc112d7Thanks @jgentes! - allow specifying only "index" without extension or nothing at all for "wrangler dev" and "wrangler publish"#211
3bbfd4fThanks @GregBrimble! - Silently fail to auto-open the browser inwrangler pages devcommand when that errors out.#189
2f7e1b2Thanks @petebacondarwin! - Refactor raw value extraction from Cloudflare APIsMost API responses are JSON of the form:
where the
resultcontains the actual response value.But some API responses only contain the result value.
This change refactors the client-side fetch API to allow callers to specify what kind of response they expect.
#202
e26781fThanks @threepointone! - Disable @typescript-lint/no-explicit-any eslint rule in pages code#214
79d0f2dThanks @threepointone! - rename--publicas--experimental-public#215
41d4c3eThanks @threepointone! - Add--compatibility-date,--compatibility-flags,--latestcli arguments todevandpublish.--compatibility_date 2022-01-05--latestthat setscompatibility_dateto today's date. Usage of this flag logs a warning.latestis NOT a config field inwrangler.toml.dev, when a compatibility date is not available in eitherwrangler.tomlor as a cli arg, then we default to--latest.publishwe error if a compatibility date is not available in eitherwrangler.tomlor as a cli arg. Usage of--latestlogs a warning.--compatibility-flags formdata_parser_supports_files#210
d381fedThanks @GregBrimble! - Exposewrangler pages functions buildcommand, which takes thefunctionsfolder and compiles it into a single Worker.This was already done in
wrangler pages dev, so this change just exposes this build command for use in our build image, or for people who want to do it themselves.#213
5e1222aThanks @GregBrimble! - Adds support for building a Worker from a folder of functions which isn't tied to the Pages platform.This lets developers use the same file-based routing system an simplified syntax when developing their own Workers!
#199
d9ecb70Thanks @threepointone! - Refactor inspection/debugging code -#189
2f7e1b2Thanks @petebacondarwin! - Fix pagination handling of list requests to the Cloudflare APIWhen doing a list request to the API, the server may respond with only a single page of results.
In this case, it will also provide a
cursorvalue in theresult_infopart of the response, which can be used to request the next page.This change implements this on the client-side so that we get all the results by requesting further pages when there is a cursor.
#220
6fc2276Thanks @GregBrimble! - Add--live-reloadoption towrangler pages devwhich automatically reloads HTML pages when a change is detected#223
a979d55Thanks @GregBrimble! - Add--output-config-pathoption towrangler pages functions buildwhich writes a config file describing thefunctionsfolder.