Skip to content

Bump wrangler from 2.0.27 to 2.1.15#29

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/wrangler-2.1.15
Closed

Bump wrangler from 2.0.27 to 2.1.15#29
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/wrangler-2.1.15

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 5, 2022

Bumps wrangler from 2.0.27 to 2.1.15.

Release notes

Sourced from wrangler's releases.

wrangler@2.1.15

Patch Changes

  • #2103 f1fd62a1 Thanks @​GregBrimble! - fix: Don't upload functions/ directory as part of wrangler pages publish

    If the root directory of a project was the same as the build output directory, we were previously uploading the functions/ directory as static assets. This PR now ensures that the functions/ files are only used to create Pages Functions and are no longer uploaded as static assets.

    Additionally, we also now do upload _worker.js, _headers, _redirects and _routes.json if they aren't immediate children of the build output directory. Previously, we'd ignore all files with this name regardless of location. For example, if you have a public/blog/how-to-use-pages/_headers file (where public is your build output directory), we will now upload the _headers file as a static asset.

  • #2111 ab52f771 Thanks @​GregBrimble! - feat: Add a passThroughOnException() handler in Pages Functions

    This passThroughOnException() handler is not as good as the built-in for Workers. We're just adding it now as a stop-gap until we can do the behind-the-scenes plumbing required to make the built-in function work properly.

    We wrap your Pages Functions code in a try/catch and on failure, if you call passThroughOnException() we defer to the static assets of your project.

    For example:

    export const onRequest = ({ passThroughOnException }) => {
    	passThroughOnException();
    x; // Would ordinarily throw an error, but instead, static assets are served.
    
    };

  • #2117 aa08ff7c Thanks @​nprogers! - Added error logging for pages upload

wrangler@2.1.14

Patch Changes

  • #2074 b08ab1e5 Thanks @​JacobMGEvans! - The type command aggregates bindings and custom module rules from config, then generates a DTS file for both service workers' declare global { ... } or module workers' interface Env { ... }

    Custom module rules generate declare modules based on the module type (Text, Data or CompiledWasm). Module Example Outputs:

    CompiledWasm

    declare module "**/*.wasm" {
    	const value: WebAssembly.Module;
    	export default value;
    }

    Data

    declare module "**/*.webp" {

... (truncated)

Changelog

Sourced from wrangler's changelog.

2.1.15

Patch Changes

  • #2103 f1fd62a1 Thanks @​GregBrimble! - fix: Don't upload functions/ directory as part of wrangler pages publish

    If the root directory of a project was the same as the build output directory, we were previously uploading the functions/ directory as static assets. This PR now ensures that the functions/ files are only used to create Pages Functions and are no longer uploaded as static assets.

    Additionally, we also now do upload _worker.js, _headers, _redirects and _routes.json if they aren't immediate children of the build output directory. Previously, we'd ignore all files with this name regardless of location. For example, if you have a public/blog/how-to-use-pages/_headers file (where public is your build output directory), we will now upload the _headers file as a static asset.

  • #2111 ab52f771 Thanks @​GregBrimble! - feat: Add a passThroughOnException() handler in Pages Functions

    This passThroughOnException() handler is not as good as the built-in for Workers. We're just adding it now as a stop-gap until we can do the behind-the-scenes plumbing required to make the built-in function work properly.

    We wrap your Pages Functions code in a try/catch and on failure, if you call passThroughOnException() we defer to the static assets of your project.

    For example:

    export const onRequest = ({ passThroughOnException }) => {
    	passThroughOnException();
    x; // Would ordinarily throw an error, but instead, static assets are served.
    
    };

2.1.14

Patch Changes

  • #2074 b08ab1e5 Thanks @​JacobMGEvans! - The type command aggregates bindings and custom module rules from config, then generates a DTS file for both service workers' declare global { ... } or module workers' interface Env { ... }

    Custom module rules generate declare modules based on the module type (Text, Data or CompiledWasm). Module Example Outputs:

    CompiledWasm

    declare module "**/*.wasm" {
    	const value: WebAssembly.Module;
    	export default value;
    }

    Data

    declare module "**/*.webp" {

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by wrangler-publisher, a new releaser for wrangler since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [wrangler](https://github.com/cloudflare/wrangler2/tree/HEAD/packages/wrangler) from 2.0.27 to 2.1.15.
- [Release notes](https://github.com/cloudflare/wrangler2/releases)
- [Changelog](https://github.com/cloudflare/wrangler2/blob/main/packages/wrangler/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/wrangler2/commits/wrangler@2.1.15/packages/wrangler)

---
updated-dependencies:
- dependency-name: wrangler
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 5, 2022
@dependabot dependabot Bot requested a review from Victrid November 5, 2022 04:01
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Nov 12, 2022

Superseded by #30.

@dependabot dependabot Bot closed this Nov 12, 2022
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/wrangler-2.1.15 branch November 12, 2022 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants