Skip to content

Commit

Permalink
Version Packages (#1195)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 27, 2022
1 parent 33b887c commit 65c188f
Show file tree
Hide file tree
Showing 16 changed files with 88 additions and 65 deletions.
8 changes: 0 additions & 8 deletions .changeset/fast-fireants-help.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/itchy-mayflies-care.md

This file was deleted.

38 changes: 0 additions & 38 deletions .changeset/weak-stingrays-raise.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "$_ run build"
},
"dependencies": {
"@aws-amplify/ui-react": "^2.1.10",
"@aws-amplify/ui-react": "^2.2.0",
"@aws-amplify/ui-react-v1": "npm:@aws-amplify/ui-react",
"@codesandbox/sandpack-react": "0.1.9",
"@cucumber/gherkin": "^19.0.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@angular/platform-browser": "~11.2.14",
"@angular/platform-browser-dynamic": "~11.2.14",
"@angular/router": "~11.2.14",
"@aws-amplify/ui-angular": "^2.0.9",
"@aws-amplify/ui-angular": "^2.0.10",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@aws-amplify/ui-react": "^2.1.10",
"@aws-amplify/ui-react": "^2.2.0",
"@types/node": "^15.12.4",
"@types/react": "^17.0.11",
"next": "^11.1.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite preview --port 3000"
},
"dependencies": {
"@aws-amplify/ui-vue": "^2.0.9",
"@aws-amplify/ui-vue": "^2.0.10",
"aws-amplify": "^4.1.3",
"vue": "^3.0.5",
"vue-router": "4"
Expand Down
11 changes: 11 additions & 0 deletions packages/angular/projects/ui-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @aws-amplify/ui-angular

## 2.0.10

### Patch Changes

- [#1153](https://github.com/aws-amplify/amplify-ui/pull/1153) [`3afdc1fc9`](https://github.com/aws-amplify/amplify-ui/commit/3afdc1fc9a876a17403ccfc607b922ec352fd1cf) Thanks [@wlee221](https://github.com/wlee221)! - Listen to Auth Hub events

* [#1176](https://github.com/aws-amplify/amplify-ui/pull/1176) [`f7f77237e`](https://github.com/aws-amplify/amplify-ui/commit/f7f77237e69272f1d1d878620946e2914354b503) Thanks [@ErikCH](https://github.com/ErikCH)! - Added new force new password fields component. Also auto detect required attributes on force new password page.

* Updated dependencies [[`3afdc1fc9`](https://github.com/aws-amplify/amplify-ui/commit/3afdc1fc9a876a17403ccfc607b922ec352fd1cf)]:
- @aws-amplify/ui@3.0.10

## 2.0.9

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/angular/projects/ui-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/ui-angular",
"version": "2.0.9",
"version": "2.0.10",
"scripts": {
"build": "yarn --cwd ../../ build",
"dev": "yarn --cwd ../../ dev",
Expand All @@ -14,7 +14,7 @@
},
"dependencies": {
"@aws-amplify/ui-components": "^1.7.0",
"@aws-amplify/ui": "3.0.9",
"@aws-amplify/ui": "3.0.10",
"@stencil/core": "2.8.0",
"nanoid": "^3.1.31",
"qrcode": "^1.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"stepDefinitions": "features"
},
"devDependencies": {
"@aws-amplify/ui": "^3.0.9",
"@aws-amplify/ui": "^3.0.10",
"@testing-library/cypress": "^7.0.6",
"@types/cypress-cucumber-preprocessor": "^4.0.0",
"cypress": "^8.5.0",
Expand Down
48 changes: 48 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# @aws-amplify/ui-react

## 2.2.0

### Minor Changes

- [#1168](https://github.com/aws-amplify/amplify-ui/pull/1168) [`b32dd86bf`](https://github.com/aws-amplify/amplify-ui/commit/b32dd86bf4e26011f8b17e59b98fed3430f8fe50) Thanks [@wlee221](https://github.com/wlee221)! - This enables `useAuthenticator` usage outside <Authenticator /> to access commonly requested authenticator context like `user` and `route`.

First wrap your App with `Authenticator.Provider`:

```tsx
const App = (
<Authenticator.Provider>
<MyApp />
</Authenticator.Provider>
);
```

To avoid repeated re-renders, you can pass a function that takes in Authenticator context and returns an array of desired context values. This hook will only trigger re-render if any of the array value changes.

```tsx
const Home = () => {
const { user, signOut } = useAuthenticator((context) => [context.user]);

return (
<>
<h2>Welcome, {user.username}!</h2>
<button onClick={signOut}>Sign Out</button>
</>
);
};

const Login = () => <Authenticator />;

function MyApp() {
const { route } = useAuthenticator((context) => [context.route]);

return route === 'authenticated' ? <Home /> : <Login />;
}
```

### Patch Changes

- [#1153](https://github.com/aws-amplify/amplify-ui/pull/1153) [`3afdc1fc9`](https://github.com/aws-amplify/amplify-ui/commit/3afdc1fc9a876a17403ccfc607b922ec352fd1cf) Thanks [@wlee221](https://github.com/wlee221)! - Listen to Auth Hub events

* [#1176](https://github.com/aws-amplify/amplify-ui/pull/1176) [`f7f77237e`](https://github.com/aws-amplify/amplify-ui/commit/f7f77237e69272f1d1d878620946e2914354b503) Thanks [@ErikCH](https://github.com/ErikCH)! - Added new force new password fields component. Also auto detect required attributes on force new password page.

* Updated dependencies [[`3afdc1fc9`](https://github.com/aws-amplify/amplify-ui/commit/3afdc1fc9a876a17403ccfc607b922ec352fd1cf)]:
- @aws-amplify/ui@3.0.10

## 2.1.10

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/ui-react",
"version": "2.1.10",
"version": "2.2.0",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down Expand Up @@ -49,7 +49,7 @@
"test:unit:watch": "jest --watch"
},
"dependencies": {
"@aws-amplify/ui": "3.0.9",
"@aws-amplify/ui": "3.0.10",
"@aws-amplify/ui-react-v1": "npm:@aws-amplify/[email protected]",
"@radix-ui/react-accordion": "0.1.1",
"@radix-ui/react-dropdown-menu": "0.1.1",
Expand Down
6 changes: 6 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @aws-amplify/ui

## 3.0.10

### Patch Changes

- [#1153](https://github.com/aws-amplify/amplify-ui/pull/1153) [`3afdc1fc9`](https://github.com/aws-amplify/amplify-ui/commit/3afdc1fc9a876a17403ccfc607b922ec352fd1cf) Thanks [@wlee221](https://github.com/wlee221)! - Listen to Auth Hub events

## 3.0.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/ui",
"version": "3.0.9",
"version": "3.0.10",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"exports": {
Expand Down
11 changes: 11 additions & 0 deletions packages/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @aws-amplify/ui-vue

## 2.0.10

### Patch Changes

- [#1153](https://github.com/aws-amplify/amplify-ui/pull/1153) [`3afdc1fc9`](https://github.com/aws-amplify/amplify-ui/commit/3afdc1fc9a876a17403ccfc607b922ec352fd1cf) Thanks [@wlee221](https://github.com/wlee221)! - Listen to Auth Hub events

* [#1176](https://github.com/aws-amplify/amplify-ui/pull/1176) [`f7f77237e`](https://github.com/aws-amplify/amplify-ui/commit/f7f77237e69272f1d1d878620946e2914354b503) Thanks [@ErikCH](https://github.com/ErikCH)! - Added new force new password fields component. Also auto detect required attributes on force new password page.

* Updated dependencies [[`3afdc1fc9`](https://github.com/aws-amplify/amplify-ui/commit/3afdc1fc9a876a17403ccfc607b922ec352fd1cf)]:
- @aws-amplify/ui@3.0.10

## 2.0.9

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/ui-vue",
"version": "2.0.9",
"version": "2.0.10",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
"test:unit:watch": "jest --watch"
},
"dependencies": {
"@aws-amplify/ui": "3.0.9",
"@aws-amplify/ui": "3.0.10",
"@vueuse/core": "^7.4.1",
"@xstate/vue": "^0.8.0",
"qrcode": "^1.4.4"
Expand Down

0 comments on commit 65c188f

Please sign in to comment.