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 #3996

Merged
merged 1 commit into from
Sep 25, 2023
Merged

Version Packages #3996

merged 1 commit into from
Sep 25, 2023

Conversation

workers-devprod
Copy link
Contributor

@workers-devprod workers-devprod commented Sep 20, 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.3.1

Patch Changes

wrangler@3.9.1

Patch Changes

  • #3992 35564741 Thanks @edevil! - Add AI binding that will be used to interact with the AI project.

    Example wrangler.toml

    name = "ai-worker"
    main = "src/index.ts"
    
    [ai]
    binding = "AI"
    

    Example script:

    import Ai from "@cloudflare/ai"
    
    export default {
        async fetch(request: Request, env: Env): Promise<Response> {
            const ai = new Ai(env.AI);
    
            const story = await ai.run({
                model: 'llama-2',
                input: {
                    prompt: 'Tell me a story about the future of the Cloudflare dev platform'
                }
            });
    
        return new Response(JSON.stringify(story));
        },
    };
    
    export interface Env {
        AI: any;
    }
    
  • #4006 bc8c147a Thanks @rozenmd! - fix: remove warning around using D1's binding, and clean up the epilogue when running D1 commands

  • #4027 9e466599 Thanks @jspspike! - Add WebGPU support through miniflare update

  • #3986 00247a8d Thanks @edevil! - Added AI related CLI commands

@github-actions
Copy link
Contributor

github-actions bot commented Sep 20, 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/6301740438/npm-package-wrangler-3996

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

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

Or you can use npx with this latest build directly:

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

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


wrangler@3.9.1 includes the following runtime dependencies:

Package Constraint Resolved
miniflare 3.20230922.0 3.20230922.0
workerd 1.20230922.0 1.20230922.0
workerd --version 1.20230922.0 2023-09-22

|

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Merging #3996 (d825536) into main (ef94939) will increase coverage by 0.04%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3996      +/-   ##
==========================================
+ Coverage   75.01%   75.05%   +0.04%     
==========================================
  Files         200      200              
  Lines       11665    11665              
  Branches     3058     3058              
==========================================
+ Hits         8750     8755       +5     
+ Misses       2915     2910       -5     

see 3 files with indirect coverage changes

@workers-devprod workers-devprod force-pushed the changeset-release/main branch 2 times, most recently from 135cd2c to c6d9308 Compare September 21, 2023 18:51
@workers-devprod workers-devprod requested a review from a team as a code owner September 21, 2023 18:51
@workers-devprod workers-devprod force-pushed the changeset-release/main branch 3 times, most recently from b103c96 to 9d7a4c6 Compare September 22, 2023 12:36
@workers-devprod workers-devprod force-pushed the changeset-release/main branch 2 times, most recently from 8041c9d to bf53f24 Compare September 23, 2023 19:00
@dario-piotrowicz
Copy link
Member

dario-piotrowicz commented Sep 25, 2023

In the C3 E2E non-quarantined checks only Astro is failing, we can ignore that as by manually testing with:

pnpm dlx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6301740438/npm-package-create-cloudflare-3996 -- --skip-houston --yes --no-install --no-git --template blog --typescript strict

Also none of the e2es failing (quarantined or not) are related to nuxt (at least in the last run) which is the only change being applied to C3

@RamIdeas RamIdeas merged commit 63e937a into main Sep 25, 2023
36 of 40 checks passed
@RamIdeas RamIdeas deleted the changeset-release/main branch September 25, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants