Skip to content
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

Version Packages #3653

Merged
merged 1 commit into from
Jul 27, 2023
Merged

Version Packages #3653

merged 1 commit into from
Jul 27, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 21, 2023

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.1.0

Minor Changes

  • #3604 c3ff1c2b Thanks @dario-piotrowicz! - Add the option to add the eslint-plugin-next-on-pages eslint plugin
    to developers creating a new Next.js app with eslint enabled

@cloudflare/pages-shared@0.8.0

Minor Changes

wrangler@3.4.0

Minor Changes

  • #3649 e2234bbc Thanks @JacobMGEvans! - Feature: 'stdin' support for 'secret:bulk'
    Added functionality that allows for files and strings to be piped in, or other means of standard input. This will allow for a broader variety of use cases and improved DX.
    This implementation is also fully backward compatible with the previous input method of file path to JSON.

    # Example of piping in a file
    > cat ./my-file.json | wrangler secret:bulk
    
    # Example of piping in a string
    > echo '{"key":"value"}' | wrangler secret:bulk
    
    # Example of redirecting input from a file
    > wrangler secret:bulk < ./my-file.json
  • #3675 f753f3af Thanks @1000hz! - chore: upgrade miniflare to 3.20230724.0

Patch Changes

  • #3610 bfbe49d0 Thanks @Skye-31! - Wrangler Capnp Compilation

    This PR replaces logfwdr's schema property with a new unsafe.capnp object. This object accepts either a compiled_schema property, or a base_path and array of source_schemas to get Wrangler to compile the capnp schema for you.

  • #3579 d4450b0a Thanks @rozenmd! - fix: remove --experimental-backend from wrangler d1 migrations apply

    This PR removes the need to pass a --experimental-backend flag when running migrations against an experimental D1 db.

    Closes 🚀 Feature Request: D1 migrations apply shouldn't need --experimental-backend any more #3596

  • #3623 99baf58b Thanks @RamIdeas! - when running wrangler init -y ..., the -y flag is now passed to npx when delegating to C3

  • #3668 99032c1e Thanks @rozenmd! - chore: make D1's experimental backend the default

    This PR makes D1's experimental backend turned on by default.

  • #3579 d4450b0a Thanks @rozenmd! - feat: implement time travel for experimental d1 dbs

    This PR adds two commands under wrangler d1 time-travel:

    Use Time Travel to restore, fork or copy a database at a specific point-in-time.
    
    Commands:
    
    wrangler d1 time-travel info <database>     Retrieve information about a database at a specific point-in-time using Time Travel.
    Options:
          --timestamp  accepts a Unix (seconds from epoch) or RFC3339 timestamp (e.g. 2023-07-13T08:46:42.228Z) to retrieve a bookmark for  [string]
          --json       return output as clean JSON  [boolean] [default: false]
    
    wrangler d1 time-travel restore <database>  Restore a database back to a specific point-in-time.
    Options:
          --bookmark   Bookmark to use for time travel  [string]
          --timestamp  accepts a Unix (seconds from epoch) or RFC3339 timestamp (e.g. 2023-07-13T08:46:42.228Z) to retrieve a bookmark for  [string]
          --json       return output as clean JSON  [boolean] [default: false]
    

    Closes 🚀 Feature Request: D1 Time Travel #3577

  • #3592 89cd086b Thanks @penalosa! - fix: Only log dev registry connection errors once

  • #3384 ccc19d57 Thanks @Peter-Sparksuite! - feature: add wrangler deploy option: --old-asset-ttl [seconds]

    wrangler deploy immediately deletes assets that are no longer current, which has a side-effect for existing progressive web app users of seeing 404 errors as the app tries to access assets that no longer exist.

    This new feature:

    • does not change the default behavior of immediately deleting no-longer needed assets.
    • allows users to opt-in to expiring newly obsoleted assets after the provided number of seconds hence, so that current users will have a time buffer before seeing 404 errors.
    • is similar in concept to what was introduced in Wrangler 1.x with fix: expire unused assets on site upload wrangler-legacy#2221.
    • is careful to avoid extension of existing expiration targets on already expiring old assets, which may have contributed to unexpectedly large KV storage accumulations (perhaps why, in Wrangler 1.x, the reversion revert sites expiry stuff wrangler-legacy#2228 happened).
    • no breaking changes for users relying on the default behavior, but some output changes exist when the new option is used, to indicate the change in behavior.
  • #3678 17780b27 Thanks @1000hz! - Refined the type of CfVars from Record<string, unknown> to Record<string, string | Json>

@github-actions github-actions bot requested review from a team as code owners July 21, 2023 11:10
@github-actions github-actions bot force-pushed the changeset-release/main branch 9 times, most recently from 70f2d45 to f9bc4f6 Compare July 26, 2023 22:34
@1000hz 1000hz closed this Jul 27, 2023
@1000hz 1000hz reopened this Jul 27, 2023
@github-actions
Copy link
Contributor Author

github-actions bot commented Jul 27, 2023

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/5684000273/npm-package-wrangler-3653

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5684000273/npm-package-wrangler-3653

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/5684000273/npm-package-wrangler-3653 dev path/to/script.js
Additional artifacts:
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/5684000273/npm-package-cloudflare-pages-shared-3653

Note that these links will no longer work once the GitHub Actions artifact expires.

@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Merging #3653 (7f15b4c) into main (bfbe49d) will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3653      +/-   ##
==========================================
+ Coverage   75.04%   75.08%   +0.04%     
==========================================
  Files         195      195              
  Lines       11351    11351              
  Branches     2999     2999              
==========================================
+ Hits         8518     8523       +5     
+ Misses       2833     2828       -5     

see 3 files with indirect coverage changes

@lrapoport-cf lrapoport-cf merged commit 060ecaa into main Jul 27, 2023
20 checks passed
@lrapoport-cf lrapoport-cf deleted the changeset-release/main branch July 27, 2023 18:35
lrapoport-cf pushed a commit that referenced this pull request Aug 11, 2023
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants