From 83c81b49c5a53c5ec9092b83607a78b6e4a69768 Mon Sep 17 00:00:00 2001 From: Zach Plata Date: Tue, 26 Apr 2022 08:30:20 -0700 Subject: [PATCH] Maint: Bump rive wasm to include fps counter API and take off major tag --- .github/workflows/publish.yml | 4 ++-- README.md | 5 +++++ package.json | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 46aaec5..1edd0bd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,7 +25,7 @@ jobs: run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} - id: determine_version name: Get Version - run: npm run release -- major --ci --release-version | tail -n 1 > RELEASE_VERSION + run: npm run release -- --ci --release-version | tail -n 1 > RELEASE_VERSION working-directory: ./ env: GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} @@ -72,7 +72,7 @@ jobs: - name: Release rive-react env: GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} - run: npm run release -- major --ci + run: npm run release -- --ci - name: Release @rive-app/react-* variants env: GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} diff --git a/README.md b/README.md index 086e34e..2d85a5e 100644 --- a/README.md +++ b/README.md @@ -200,3 +200,8 @@ In most cases, you may be able to migrate safely. We are mainly enabling the Rea #### Classes, styles, and component props Starting in v2.0, we introduce one breaking change where any non-style props set on the `RiveComponent` (i.e `aria-*`, `role`, etc.) will be set on the inner `` element. Previously, all extra props would be set onto the containing `
` element. Both the `className` and `style` props will continue to be set on the `
` element that wraps the canvas, as this dictates the sizing of the Rive component. + + +### Migrating to 3.0 + +There are no breaking changes here. If you have migrated to v2.x.x, you can safely migrate to 3.0. diff --git a/package.json b/package.json index 91560bc..7dbaea5 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ }, "homepage": "https://github.com/rive-app/rive-react#readme", "dependencies": { - "@rive-app/canvas": "1.0.46", - "@rive-app/webgl": "1.0.43" + "@rive-app/canvas": "1.0.47", + "@rive-app/webgl": "1.0.44" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0"