From 7c6d55b456f589289d5b6e0dd5cb7676981fe494 Mon Sep 17 00:00:00 2001 From: ashika112 <155593080+ashika112@users.noreply.github.com> Date: Thu, 6 Jun 2024 15:28:54 -0700 Subject: [PATCH 1/3] release(required): Parsing custom oAuth in amplify_outputs (#13474) * update parseAmplify logic * revert custom oAuth from gen1 config * update bundle size --- packages/aws-amplify/package.json | 8 ++++---- .../__mocks__/configMocks/amplify_outputs.json | 2 +- .../configMocks/amplifyconfiguration.json | 18 ++++++------------ .../core/__tests__/parseAWSExports.test.ts | 18 +++++++++++++++--- packages/core/src/parseAmplifyOutputs.ts | 8 +++++++- 5 files changed, 33 insertions(+), 21 deletions(-) diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index 088c00feae9..7c9b045870b 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -293,7 +293,7 @@ "name": "[Analytics] record (Pinpoint)", "path": "./dist/esm/analytics/index.mjs", "import": "{ record }", - "limit": "17.08 kB" + "limit": "17.09 kB" }, { "name": "[Analytics] record (Kinesis)", @@ -317,7 +317,7 @@ "name": "[Analytics] identifyUser (Pinpoint)", "path": "./dist/esm/analytics/index.mjs", "import": "{ identifyUser }", - "limit": "15.57 kB" + "limit": "15.59 kB" }, { "name": "[Analytics] enable", @@ -383,7 +383,7 @@ "name": "[Auth] confirmSignIn (Cognito)", "path": "./dist/esm/auth/index.mjs", "import": "{ confirmSignIn }", - "limit": "28.26 kB" + "limit": "28.27 kB" }, { "name": "[Auth] updateMFAPreference (Cognito)", @@ -401,7 +401,7 @@ "name": "[Auth] verifyTOTPSetup (Cognito)", "path": "./dist/esm/auth/index.mjs", "import": "{ verifyTOTPSetup }", - "limit": "12.59 kB" + "limit": "12.6 kB" }, { "name": "[Auth] updatePassword (Cognito)", diff --git a/packages/core/__mocks__/configMocks/amplify_outputs.json b/packages/core/__mocks__/configMocks/amplify_outputs.json index 432a6247e91..54269112f17 100644 --- a/packages/core/__mocks__/configMocks/amplify_outputs.json +++ b/packages/core/__mocks__/configMocks/amplify_outputs.json @@ -7,7 +7,7 @@ "user_pool_client_id": "mock-cup-client-id", "identity_pool_id": "mock-idp-id", "oauth": { - "identity_providers": ["FACEBOOK", "SIGN_IN_WITH_APPLE", "GOOGLE"], + "identity_providers": ["FACEBOOK", "SIGN_IN_WITH_APPLE", "GOOGLE", "Auth0"], "domain": "mock-oauth-domain", "scopes": ["phone"], "redirect_sign_in_uri": ["mock-sign-in-uri"], diff --git a/packages/core/__mocks__/configMocks/amplifyconfiguration.json b/packages/core/__mocks__/configMocks/amplifyconfiguration.json index 452ab0c64f0..d32597e9bc5 100644 --- a/packages/core/__mocks__/configMocks/amplifyconfiguration.json +++ b/packages/core/__mocks__/configMocks/amplifyconfiguration.json @@ -29,31 +29,25 @@ "aws_user_files_s3_bucket_region": "us-west-2", "aws_user_pools_id": "mock-cup-id", "aws_user_pools_web_client_id": "mock-cup-client-id", - "geo": { + "geo": { "amazon_location_service": { "search_indices": { - "items": [ - "mock-geo-search-item", - "mock-geo-search-item-alt" - ], + "items": ["mock-geo-search-item", "mock-geo-search-item-alt"], "default": "mock-geo-search-item" }, "geofenceCollections": { - "items": [ - "mock-geo-fence-item", - "mock-geo-fence-item-alt" - ], + "items": ["mock-geo-fence-item", "mock-geo-fence-item-alt"], "default": "mock-geo-fence-item" }, "region": "us-west-2" - } + } }, "aws_appsync_graphqlEndpoint": "mock-data-url", "aws_appsync_apiKey": "mock-data-api-key", "aws_appsync_region": "us-west-2", "aws_appsync_authenticationType": "API_KEY", "Notifications": { - "InAppMessaging": { + "InAppMessaging": { "AWSPinpoint": { "appId": "mock-pinpoint-app-id", "region": "us-west-2" @@ -66,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/core/__tests__/parseAWSExports.test.ts b/packages/core/__tests__/parseAWSExports.test.ts index 1ad4520f7d5..d021792bd2f 100644 --- a/packages/core/__tests__/parseAWSExports.test.ts +++ b/packages/core/__tests__/parseAWSExports.test.ts @@ -1,5 +1,5 @@ import { parseAWSExports } from '../src/parseAWSExports'; -import { OAuthScope } from '../src/singleton/Auth/types'; +import { OAuthProvider, OAuthScope } from '../src/singleton/Auth/types'; import { ResourcesConfig } from '../src/singleton/types'; // TODO: Add API category tests @@ -91,7 +91,13 @@ describe('parseAWSExports', () => { email: false, oauth: { domain: oAuthDomain, - providers: ['Google', 'Apple', 'Facebook', 'Amazon'], + providers: [ + 'Google', + 'Apple', + 'Facebook', + 'Amazon', + 'Auth0', + ] as OAuthProvider[], redirectSignIn: [oAuthSigninUrl], redirectSignOut: [oAuthSignoutUrl], responseType: oAuthResponseType, @@ -172,7 +178,13 @@ describe('parseAWSExports', () => { responseType: oAuthResponseType, }, aws_cognito_verification_mechanisms: ['EMAIL'], - aws_cognito_social_providers: ['GOOGLE', 'APPLE', 'FACEBOOK', 'AMAZON'], + aws_cognito_social_providers: [ + 'GOOGLE', + 'APPLE', + 'FACEBOOK', + 'AMAZON', + 'Auth0', + ], aws_mandatory_sign_in: 'enable', aws_mobile_analytics_app_id: appId, aws_mobile_analytics_app_region: region, diff --git a/packages/core/src/parseAmplifyOutputs.ts b/packages/core/src/parseAmplifyOutputs.ts index fcabd1aac06..ed742189266 100644 --- a/packages/core/src/parseAmplifyOutputs.ts +++ b/packages/core/src/parseAmplifyOutputs.ts @@ -316,7 +316,13 @@ const providerNames: Record = { }; function getOAuthProviders(providers: string[] = []): OAuthProvider[] { - return providers.map(provider => providerNames[provider]); + return providers.reduce((oAuthProviders, provider) => { + if (providerNames[provider] !== undefined) { + oAuthProviders.push(providerNames[provider]); + } + + return oAuthProviders; + }, []); } function getMfaStatus( From bb69ba78eba8e5be04f4945d4ef9ba1b525232bb Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Fri, 7 Jun 2024 00:16:36 +0000 Subject: [PATCH 2/3] chore(release): Publish [skip release] - @aws-amplify/adapter-nextjs@1.2.3 - @aws-amplify/analytics@7.0.35 - @aws-amplify/api@6.0.37 - @aws-amplify/api-graphql@4.1.6 - @aws-amplify/api-rest@4.0.35 - @aws-amplify/auth@6.3.5 - aws-amplify@6.3.6 - @aws-amplify/core@6.3.2 - @aws-amplify/datastore@5.0.37 - @aws-amplify/datastore-storage-adapter@2.1.37 - @aws-amplify/geo@3.0.35 - @aws-amplify/interactions@6.0.34 - @aws-amplify/notifications@2.0.35 - @aws-amplify/predictions@6.1.10 - @aws-amplify/pubsub@6.1.9 - @aws-amplify/storage@6.4.6 - tsc-compliance-test@0.1.39 --- packages/adapter-nextjs/CHANGELOG.md | 4 ++++ packages/adapter-nextjs/package.json | 4 ++-- packages/analytics/CHANGELOG.md | 4 ++++ packages/analytics/package.json | 4 ++-- packages/api-graphql/CHANGELOG.md | 4 ++++ packages/api-graphql/package.json | 6 +++--- packages/api-rest/CHANGELOG.md | 4 ++++ packages/api-rest/package.json | 4 ++-- packages/api/CHANGELOG.md | 4 ++++ packages/api/package.json | 6 +++--- packages/auth/CHANGELOG.md | 4 ++++ packages/auth/package.json | 4 ++-- packages/aws-amplify/CHANGELOG.md | 4 ++++ packages/aws-amplify/package.json | 16 ++++++++-------- packages/core/CHANGELOG.md | 4 ++++ packages/core/package.json | 2 +- packages/datastore-storage-adapter/CHANGELOG.md | 4 ++++ packages/datastore-storage-adapter/package.json | 6 +++--- packages/datastore/CHANGELOG.md | 4 ++++ packages/datastore/package.json | 6 +++--- packages/geo/CHANGELOG.md | 4 ++++ packages/geo/package.json | 4 ++-- packages/interactions/CHANGELOG.md | 4 ++++ packages/interactions/package.json | 4 ++-- packages/notifications/CHANGELOG.md | 4 ++++ packages/notifications/package.json | 4 ++-- packages/predictions/CHANGELOG.md | 4 ++++ packages/predictions/package.json | 6 +++--- packages/pubsub/CHANGELOG.md | 4 ++++ packages/pubsub/package.json | 6 +++--- packages/storage/CHANGELOG.md | 4 ++++ packages/storage/package.json | 4 ++-- scripts/tsc-compliance-test/CHANGELOG.md | 4 ++++ scripts/tsc-compliance-test/package.json | 4 ++-- 34 files changed, 113 insertions(+), 45 deletions(-) diff --git a/packages/adapter-nextjs/CHANGELOG.md b/packages/adapter-nextjs/CHANGELOG.md index 697fe57f670..6926211af83 100644 --- a/packages/adapter-nextjs/CHANGELOG.md +++ b/packages/adapter-nextjs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/adapter-nextjs@1.2.2...@aws-amplify/adapter-nextjs@1.2.3) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/adapter-nextjs + ## [1.2.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/adapter-nextjs@1.2.1...@aws-amplify/adapter-nextjs@1.2.2) (2024-06-04) **Note:** Version bump only for package @aws-amplify/adapter-nextjs diff --git a/packages/adapter-nextjs/package.json b/packages/adapter-nextjs/package.json index 60992a73f7c..eff0c1113f6 100644 --- a/packages/adapter-nextjs/package.json +++ b/packages/adapter-nextjs/package.json @@ -1,7 +1,7 @@ { "author": "Amazon Web Services", "name": "@aws-amplify/adapter-nextjs", - "version": "1.2.2", + "version": "1.2.3", "description": "The adapter for the supporting of using Amplify APIs in Next.js.", "peerDependencies": { "aws-amplify": "^6.0.7", @@ -16,7 +16,7 @@ "@types/node": "^20.3.1", "@types/react": "^18.2.13", "@types/react-dom": "^18.2.6", - "aws-amplify": "6.3.5", + "aws-amplify": "6.3.6", "jest-fetch-mock": "3.0.3", "next": ">= 13.5.0 < 15.0.0", "typescript": "5.0.2" diff --git a/packages/analytics/CHANGELOG.md b/packages/analytics/CHANGELOG.md index ccb96ae1680..2581738efb7 100644 --- a/packages/analytics/CHANGELOG.md +++ b/packages/analytics/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.0.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@7.0.34...@aws-amplify/analytics@7.0.35) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/analytics + ## [7.0.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@7.0.33...@aws-amplify/analytics@7.0.34) (2024-06-04) **Note:** Version bump only for package @aws-amplify/analytics diff --git a/packages/analytics/package.json b/packages/analytics/package.json index f473bd81819..d9abe077155 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/analytics", - "version": "7.0.34", + "version": "7.0.35", "description": "Analytics category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -103,7 +103,7 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "@aws-amplify/react-native": "1.1.1", "@aws-sdk/types": "3.398.0", "typescript": "5.0.2" diff --git a/packages/api-graphql/CHANGELOG.md b/packages/api-graphql/CHANGELOG.md index c42fbb70648..123719d7bd6 100644 --- a/packages/api-graphql/CHANGELOG.md +++ b/packages/api-graphql/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.1.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@4.1.5...@aws-amplify/api-graphql@4.1.6) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/api-graphql + ## [4.1.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@4.1.4...@aws-amplify/api-graphql@4.1.5) (2024-06-04) **Note:** Version bump only for package @aws-amplify/api-graphql diff --git a/packages/api-graphql/package.json b/packages/api-graphql/package.json index 2df9e837e92..8b225a92e49 100644 --- a/packages/api-graphql/package.json +++ b/packages/api-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-graphql", - "version": "4.1.5", + "version": "4.1.6", "description": "Api-graphql category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -84,8 +84,8 @@ "server" ], "dependencies": { - "@aws-amplify/api-rest": "4.0.34", - "@aws-amplify/core": "6.3.1", + "@aws-amplify/api-rest": "4.0.35", + "@aws-amplify/core": "6.3.2", "@aws-amplify/data-schema": "^1.0.0", "@aws-sdk/types": "3.387.0", "graphql": "15.8.0", diff --git a/packages/api-rest/CHANGELOG.md b/packages/api-rest/CHANGELOG.md index d29aece3370..6201cb6d06e 100644 --- a/packages/api-rest/CHANGELOG.md +++ b/packages/api-rest/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@4.0.34...@aws-amplify/api-rest@4.0.35) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/api-rest + ## [4.0.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@4.0.33...@aws-amplify/api-rest@4.0.34) (2024-06-04) **Note:** Version bump only for package @aws-amplify/api-rest diff --git a/packages/api-rest/package.json b/packages/api-rest/package.json index 933cb212408..470aca7ecf6 100644 --- a/packages/api-rest/package.json +++ b/packages/api-rest/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/api-rest", "private": false, - "version": "4.0.34", + "version": "4.0.35", "description": "Api-rest category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -87,7 +87,7 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "@aws-amplify/react-native": "1.1.1", "typescript": "5.0.2" }, diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index a822fb8525b..27fa15b9548 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.37](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@6.0.36...@aws-amplify/api@6.0.37) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/api + ## [6.0.36](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@6.0.35...@aws-amplify/api@6.0.36) (2024-06-04) **Note:** Version bump only for package @aws-amplify/api diff --git a/packages/api/package.json b/packages/api/package.json index d0e08aaf1ee..6aa55513f11 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api", - "version": "6.0.36", + "version": "6.0.37", "description": "Api category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -79,8 +79,8 @@ "server" ], "dependencies": { - "@aws-amplify/api-graphql": "4.1.5", - "@aws-amplify/api-rest": "4.0.34", + "@aws-amplify/api-graphql": "4.1.6", + "@aws-amplify/api-rest": "4.0.35", "tslib": "^2.5.0" } } diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index dcb376d0a7c..87fdf81fcbc 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.3.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@6.3.4...@aws-amplify/auth@6.3.5) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/auth + ## [6.3.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@6.3.3...@aws-amplify/auth@6.3.4) (2024-05-23) **Note:** Version bump only for package @aws-amplify/auth diff --git a/packages/auth/package.json b/packages/auth/package.json index baa4d781006..de95b0653f2 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/auth", - "version": "6.3.4", + "version": "6.3.5", "description": "Auth category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -97,7 +97,7 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "@aws-amplify/react-native": "1.1.1", "@jest/test-sequencer": "^29.7.0", "typescript": "5.0.2" diff --git a/packages/aws-amplify/CHANGELOG.md b/packages/aws-amplify/CHANGELOG.md index 8af708e40c0..9ea9429d19f 100644 --- a/packages/aws-amplify/CHANGELOG.md +++ b/packages/aws-amplify/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.3.6](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@6.3.5...aws-amplify@6.3.6) (2024-06-07) + +**Note:** Version bump only for package aws-amplify + ## [6.3.5](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@6.3.4...aws-amplify@6.3.5) (2024-06-04) **Note:** Version bump only for package aws-amplify diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index 7c9b045870b..a3c44a89861 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify", - "version": "6.3.5", + "version": "6.3.6", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -276,13 +276,13 @@ "utils" ], "dependencies": { - "@aws-amplify/analytics": "7.0.34", - "@aws-amplify/api": "6.0.36", - "@aws-amplify/auth": "6.3.4", - "@aws-amplify/core": "6.3.1", - "@aws-amplify/datastore": "5.0.36", - "@aws-amplify/notifications": "2.0.34", - "@aws-amplify/storage": "6.4.5", + "@aws-amplify/analytics": "7.0.35", + "@aws-amplify/api": "6.0.37", + "@aws-amplify/auth": "6.3.5", + "@aws-amplify/core": "6.3.2", + "@aws-amplify/datastore": "5.0.37", + "@aws-amplify/notifications": "2.0.35", + "@aws-amplify/storage": "6.4.6", "tslib": "^2.5.0" }, "devDependencies": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 0cbcb99a260..79488956493 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.3.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@6.3.1...@aws-amplify/core@6.3.2) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/core + ## [6.3.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@6.3.0...@aws-amplify/core@6.3.1) (2024-05-23) **Note:** Version bump only for package @aws-amplify/core diff --git a/packages/core/package.json b/packages/core/package.json index c3ee2ff4a42..4621c987898 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/core", - "version": "6.3.1", + "version": "6.3.2", "description": "Core category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", diff --git a/packages/datastore-storage-adapter/CHANGELOG.md b/packages/datastore-storage-adapter/CHANGELOG.md index d17588fcd4c..f7b35dc7a30 100644 --- a/packages/datastore-storage-adapter/CHANGELOG.md +++ b/packages/datastore-storage-adapter/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.1.37](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@2.1.36...@aws-amplify/datastore-storage-adapter@2.1.37) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/datastore-storage-adapter + ## [2.1.36](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@2.1.35...@aws-amplify/datastore-storage-adapter@2.1.36) (2024-06-04) **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter diff --git a/packages/datastore-storage-adapter/package.json b/packages/datastore-storage-adapter/package.json index 8cbfaa22d80..507876a97bc 100644 --- a/packages/datastore-storage-adapter/package.json +++ b/packages/datastore-storage-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/datastore-storage-adapter", - "version": "2.1.36", + "version": "2.1.37", "description": "SQLite storage adapter for Amplify DataStore ", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -36,8 +36,8 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", - "@aws-amplify/datastore": "5.0.36", + "@aws-amplify/core": "6.3.2", + "@aws-amplify/datastore": "5.0.37", "@types/react-native-sqlite-storage": "5.0.1", "expo-file-system": "13.1.4", "expo-sqlite": "10.1.0", diff --git a/packages/datastore/CHANGELOG.md b/packages/datastore/CHANGELOG.md index 2ab57e74df8..94b2fc06ee8 100644 --- a/packages/datastore/CHANGELOG.md +++ b/packages/datastore/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.37](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@5.0.36...@aws-amplify/datastore@5.0.37) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/datastore + ## [5.0.36](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@5.0.35...@aws-amplify/datastore@5.0.36) (2024-06-04) **Note:** Version bump only for package @aws-amplify/datastore diff --git a/packages/datastore/package.json b/packages/datastore/package.json index 7c5ad0eb9af..d8deb5d9a60 100644 --- a/packages/datastore/package.json +++ b/packages/datastore/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/datastore", - "version": "5.0.36", + "version": "5.0.37", "description": "AppSyncLocal support for aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -44,7 +44,7 @@ "src" ], "dependencies": { - "@aws-amplify/api": "6.0.36", + "@aws-amplify/api": "6.0.37", "buffer": "4.9.2", "idb": "5.0.6", "immer": "9.0.6", @@ -55,7 +55,7 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "@aws-amplify/react-native": "1.1.1", "@types/uuid-validate": "^0.0.1", "dexie": "3.2.2", diff --git a/packages/geo/CHANGELOG.md b/packages/geo/CHANGELOG.md index 566f54f26c8..21ce83c6457 100644 --- a/packages/geo/CHANGELOG.md +++ b/packages/geo/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/geo@3.0.34...@aws-amplify/geo@3.0.35) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/geo + ## [3.0.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/geo@3.0.33...@aws-amplify/geo@3.0.34) (2024-06-04) **Note:** Version bump only for package @aws-amplify/geo diff --git a/packages/geo/package.json b/packages/geo/package.json index c1fa991bbb6..ad9c3a3e583 100644 --- a/packages/geo/package.json +++ b/packages/geo/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/geo", - "version": "3.0.34", + "version": "3.0.35", "description": "Geo category for aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -76,7 +76,7 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "typescript": "5.0.2" }, "size-limit": [ diff --git a/packages/interactions/CHANGELOG.md b/packages/interactions/CHANGELOG.md index 3ae645bcbb5..4b1374637cd 100644 --- a/packages/interactions/CHANGELOG.md +++ b/packages/interactions/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@6.0.33...@aws-amplify/interactions@6.0.34) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/interactions + ## [6.0.33](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@6.0.32...@aws-amplify/interactions@6.0.33) (2024-05-23) **Note:** Version bump only for package @aws-amplify/interactions diff --git a/packages/interactions/package.json b/packages/interactions/package.json index 62fd955fc1a..faebbd94fae 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/interactions", - "version": "6.0.33", + "version": "6.0.34", "description": "Interactions category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -81,7 +81,7 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "typescript": "^5.0.2" }, "size-limit": [ diff --git a/packages/notifications/CHANGELOG.md b/packages/notifications/CHANGELOG.md index 1874c2f26d9..f131a4fd4e0 100644 --- a/packages/notifications/CHANGELOG.md +++ b/packages/notifications/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/notifications@2.0.34...@aws-amplify/notifications@2.0.35) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/notifications + ## [2.0.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/notifications@2.0.33...@aws-amplify/notifications@2.0.34) (2024-06-04) **Note:** Version bump only for package @aws-amplify/notifications diff --git a/packages/notifications/package.json b/packages/notifications/package.json index b400ee1c704..4b97a5acd46 100644 --- a/packages/notifications/package.json +++ b/packages/notifications/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/notifications", - "version": "2.0.34", + "version": "2.0.35", "description": "Notifications category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -98,7 +98,7 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "@aws-amplify/react-native": "1.1.1", "typescript": "5.0.2" } diff --git a/packages/predictions/CHANGELOG.md b/packages/predictions/CHANGELOG.md index 71eefbdae5e..f7fdb22b7a6 100644 --- a/packages/predictions/CHANGELOG.md +++ b/packages/predictions/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.1.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@6.1.9...@aws-amplify/predictions@6.1.10) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/predictions + ## [6.1.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@6.1.8...@aws-amplify/predictions@6.1.9) (2024-06-04) **Note:** Version bump only for package @aws-amplify/predictions diff --git a/packages/predictions/package.json b/packages/predictions/package.json index 02458990541..6d642b6fa60 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/predictions", - "version": "6.1.9", + "version": "6.1.10", "description": "Machine learning category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -43,7 +43,7 @@ "src" ], "dependencies": { - "@aws-amplify/storage": "6.4.5", + "@aws-amplify/storage": "6.4.6", "@aws-sdk/client-comprehend": "3.398.0", "@aws-sdk/client-polly": "3.398.0", "@aws-sdk/client-rekognition": "3.398.0", @@ -59,7 +59,7 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "typescript": "5.0.2" }, "size-limit": [ diff --git a/packages/pubsub/CHANGELOG.md b/packages/pubsub/CHANGELOG.md index 01acd740d44..a617997caac 100644 --- a/packages/pubsub/CHANGELOG.md +++ b/packages/pubsub/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.1.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@6.1.8...@aws-amplify/pubsub@6.1.9) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/pubsub + ## [6.1.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@6.1.7...@aws-amplify/pubsub@6.1.8) (2024-05-23) **Note:** Version bump only for package @aws-amplify/pubsub diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index f14ce5f411a..99873590cb6 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pubsub", - "version": "6.1.8", + "version": "6.1.9", "description": "Pubsub category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -73,7 +73,7 @@ "mqtt" ], "dependencies": { - "@aws-amplify/auth": "6.3.4", + "@aws-amplify/auth": "6.3.5", "buffer": "4.9.2", "graphql": "15.8.0", "rxjs": "^7.8.1", @@ -84,7 +84,7 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "typescript": "5.0.2" }, "size-limit": [ diff --git a/packages/storage/CHANGELOG.md b/packages/storage/CHANGELOG.md index c82db9f2f7d..04e7f32592c 100644 --- a/packages/storage/CHANGELOG.md +++ b/packages/storage/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.4.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@6.4.5...@aws-amplify/storage@6.4.6) (2024-06-07) + +**Note:** Version bump only for package @aws-amplify/storage + ## [6.4.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@6.4.4...@aws-amplify/storage@6.4.5) (2024-06-04) ### Bug Fixes diff --git a/packages/storage/package.json b/packages/storage/package.json index 1e5950d58ad..3de800029e0 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/storage", - "version": "6.4.5", + "version": "6.4.6", "description": "Storage category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", @@ -101,7 +101,7 @@ "@aws-amplify/core": "^6.1.0" }, "devDependencies": { - "@aws-amplify/core": "6.3.1", + "@aws-amplify/core": "6.3.2", "@aws-amplify/react-native": "1.1.1", "typescript": "5.0.2" } diff --git a/scripts/tsc-compliance-test/CHANGELOG.md b/scripts/tsc-compliance-test/CHANGELOG.md index 0b0b94d84d0..3a77f018286 100644 --- a/scripts/tsc-compliance-test/CHANGELOG.md +++ b/scripts/tsc-compliance-test/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.39](https://github.com/aws-amplify/amplify-js/compare/tsc-compliance-test@0.1.38...tsc-compliance-test@0.1.39) (2024-06-07) + +**Note:** Version bump only for package tsc-compliance-test + ## [0.1.38](https://github.com/aws-amplify/amplify-js/compare/tsc-compliance-test@0.1.37...tsc-compliance-test@0.1.38) (2024-06-04) **Note:** Version bump only for package tsc-compliance-test diff --git a/scripts/tsc-compliance-test/package.json b/scripts/tsc-compliance-test/package.json index d9e75580bbf..258250b3d01 100644 --- a/scripts/tsc-compliance-test/package.json +++ b/scripts/tsc-compliance-test/package.json @@ -1,11 +1,11 @@ { "name": "tsc-compliance-test", - "version": "0.1.38", + "version": "0.1.39", "license": "MIT", "private": true, "devDependencies": { "@types/node": "16.18.82", - "aws-amplify": "6.3.5", + "aws-amplify": "6.3.6", "typescript": "4.2.x" }, "scripts": { From da19d8820f17f17e37594e04ed9b17f01c8a8e6b Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Fri, 7 Jun 2024 00:17:57 +0000 Subject: [PATCH 3/3] chore(release): update API docs [skip release] --- docs/api/modules/_aws_amplify_adapter_nextjs.html | 4 ++-- docs/api/modules/_aws_amplify_datastore_storage_adapter.html | 4 ++-- docs/api/modules/_aws_amplify_geo.html | 4 ++-- docs/api/modules/_aws_amplify_interactions.html | 4 ++-- docs/api/modules/_aws_amplify_predictions.html | 4 ++-- docs/api/modules/_aws_amplify_pubsub.html | 4 ++-- docs/api/modules/aws_amplify.html | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/api/modules/_aws_amplify_adapter_nextjs.html b/docs/api/modules/_aws_amplify_adapter_nextjs.html index f95e9bd7d4e..2b30637060c 100644 --- a/docs/api/modules/_aws_amplify_adapter_nextjs.html +++ b/docs/api/modules/_aws_amplify_adapter_nextjs.html @@ -1,5 +1,5 @@ -@aws-amplify/adapter-nextjs - v1.2.2 | Amplify JS API Documentation -

Module @aws-amplify/adapter-nextjs - v1.2.2

This package contains the AWS Amplify Next.js Adapter. For more information on using Next.js in your application please reference the Amplify Dev Center.

+@aws-amplify/adapter-nextjs - v1.2.3 | Amplify JS API Documentation +

Module @aws-amplify/adapter-nextjs - v1.2.3

This package contains the AWS Amplify Next.js Adapter. For more information on using Next.js in your application please reference the Amplify Dev Center.

Index

Modules

api index utils diff --git a/docs/api/modules/_aws_amplify_datastore_storage_adapter.html b/docs/api/modules/_aws_amplify_datastore_storage_adapter.html index ec5be85c921..3965fa02687 100644 --- a/docs/api/modules/_aws_amplify_datastore_storage_adapter.html +++ b/docs/api/modules/_aws_amplify_datastore_storage_adapter.html @@ -1,5 +1,5 @@ -@aws-amplify/datastore-storage-adapter - v2.1.36 | Amplify JS API Documentation -

Module @aws-amplify/datastore-storage-adapter - v2.1.36

This package contains the AWS Amplify DataStore storage adapter. For more information on using the DataStore storage adapter in your application please reference the Amplify Dev Center.

+@aws-amplify/datastore-storage-adapter - v2.1.37 | Amplify JS API Documentation +

Module @aws-amplify/datastore-storage-adapter - v2.1.37

This package contains the AWS Amplify DataStore storage adapter. For more information on using the DataStore storage adapter in your application please reference the Amplify Dev Center.

Index

Modules

ExpoSQLiteAdapter/ExpoSQLiteAdapter SQLiteAdapter/SQLiteAdapter index diff --git a/docs/api/modules/_aws_amplify_geo.html b/docs/api/modules/_aws_amplify_geo.html index 745cd4b51c8..9870ca9910f 100644 --- a/docs/api/modules/_aws_amplify_geo.html +++ b/docs/api/modules/_aws_amplify_geo.html @@ -1,5 +1,5 @@ -@aws-amplify/geo - v3.0.34 | Amplify JS API Documentation -

Module @aws-amplify/geo - v3.0.34

This package contains the AWS Amplify Geo category. For more information on using Geo in your application please reference the Amplify Dev Center.

+@aws-amplify/geo - v3.0.35 | Amplify JS API Documentation +

Module @aws-amplify/geo - v3.0.35

This package contains the AWS Amplify Geo category. For more information on using Geo in your application please reference the Amplify Dev Center.

Index

Modules

\ No newline at end of file diff --git a/docs/api/modules/_aws_amplify_interactions.html b/docs/api/modules/_aws_amplify_interactions.html index b750f7eebde..ecee0693c04 100644 --- a/docs/api/modules/_aws_amplify_interactions.html +++ b/docs/api/modules/_aws_amplify_interactions.html @@ -1,5 +1,5 @@ -@aws-amplify/interactions - v6.0.33 | Amplify JS API Documentation -

Module @aws-amplify/interactions - v6.0.33

This package contains the AWS Amplify Interactions category. For more information on using Interactions in your application please reference the Amplify Dev Center.

+@aws-amplify/interactions - v6.0.34 | Amplify JS API Documentation +

Module @aws-amplify/interactions - v6.0.34

This package contains the AWS Amplify Interactions category. For more information on using Interactions in your application please reference the Amplify Dev Center.

Index

Modules

index lex-v1 lex-v2 diff --git a/docs/api/modules/_aws_amplify_predictions.html b/docs/api/modules/_aws_amplify_predictions.html index 4415e3a0262..92bb635614c 100644 --- a/docs/api/modules/_aws_amplify_predictions.html +++ b/docs/api/modules/_aws_amplify_predictions.html @@ -1,5 +1,5 @@ -@aws-amplify/predictions - v6.1.9 | Amplify JS API Documentation -

Module @aws-amplify/predictions - v6.1.9

This package contains the AWS Amplify Predictions category. For more information on using Predictions in your application please reference the Amplify Dev Center.

+@aws-amplify/predictions - v6.1.10 | Amplify JS API Documentation +

Module @aws-amplify/predictions - v6.1.10

This package contains the AWS Amplify Predictions category. For more information on using Predictions in your application please reference the Amplify Dev Center.

Index

Modules

Interfaces

IdentifyEntitiesInput IdentifyEntitiesOutput diff --git a/docs/api/modules/_aws_amplify_pubsub.html b/docs/api/modules/_aws_amplify_pubsub.html index a2b6a608cf2..c176df20e1e 100644 --- a/docs/api/modules/_aws_amplify_pubsub.html +++ b/docs/api/modules/_aws_amplify_pubsub.html @@ -1,5 +1,5 @@ -@aws-amplify/pubsub - v6.1.8 | Amplify JS API Documentation -

Module @aws-amplify/pubsub - v6.1.8

This package contains the AWS Amplify PubSub category. For more information on using PubSub in your application please reference the Amplify Dev Center.

+@aws-amplify/pubsub - v6.1.9 | Amplify JS API Documentation +

Module @aws-amplify/pubsub - v6.1.9

This package contains the AWS Amplify PubSub category. For more information on using PubSub in your application please reference the Amplify Dev Center.

Index

Modules

clients/iot clients/mqtt index diff --git a/docs/api/modules/aws_amplify.html b/docs/api/modules/aws_amplify.html index 5b8769b3028..f05f4051a97 100644 --- a/docs/api/modules/aws_amplify.html +++ b/docs/api/modules/aws_amplify.html @@ -1,5 +1,5 @@ -aws-amplify - v6.3.5 | Amplify JS API Documentation -

Module aws-amplify - v6.3.5

AWS Amplify Package - aws-amplify

AWS Amplify is a JavaScript library for frontend and mobile developers building cloud-enabled applications. The library is a declarative interface across different categories of operations in order to make common tasks easier to add into your application. The default implementation works with Amazon Web Services (AWS) resources but is designed to be open and pluggable for usage with other cloud services that wish to provide an implementation or custom backends.

+aws-amplify - v6.3.6 | Amplify JS API Documentation +

Module aws-amplify - v6.3.6

AWS Amplify Package - aws-amplify

AWS Amplify is a JavaScript library for frontend and mobile developers building cloud-enabled applications. The library is a declarative interface across different categories of operations in order to make common tasks easier to add into your application. The default implementation works with Amazon Web Services (AWS) resources but is designed to be open and pluggable for usage with other cloud services that wish to provide an implementation or custom backends.

Documentation is available here.

Index

Modules