From 74dc3b12f29691db549dc51b41dbbe45266f6adf Mon Sep 17 00:00:00 2001 From: Helene Misonne <52170580+hmisonne@users.noreply.github.com> Date: Wed, 27 Jan 2021 13:03:16 -0800 Subject: [PATCH 01/35] fix(aws-amplify-react-native): Fixed error msg display on SignUp Screen (#7632) --- packages/aws-amplify-react-native/src/Auth/SignUp.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/aws-amplify-react-native/src/Auth/SignUp.tsx b/packages/aws-amplify-react-native/src/Auth/SignUp.tsx index 5622185a488..f367d59c31b 100644 --- a/packages/aws-amplify-react-native/src/Auth/SignUp.tsx +++ b/packages/aws-amplify-react-native/src/Auth/SignUp.tsx @@ -245,7 +245,10 @@ export default class SignUp extends AuthPiece { this.sortFields(); return ( - +
{I18n.get(this.header)}
From 3a9efb0b596cf2795d7e1424f011f8e59058ecfb Mon Sep 17 00:00:00 2001 From: Francisco Rodriguez Date: Thu, 28 Jan 2021 13:44:52 -0800 Subject: [PATCH 02/35] fix(@aws-amplify/auth, amazon-cognito-identity-js): Include clientMetadata for token refresh (#7633) --- .../amazon-cognito-identity-js/index.d.ts | 9 +- .../src/CognitoUser.js | 43 ++- .../auth/__tests__/auth-refresh-token-test.ts | 321 ++++++++++++++++++ packages/auth/src/Auth.ts | 239 +++++++------ 4 files changed, 496 insertions(+), 116 deletions(-) create mode 100644 packages/auth/__tests__/auth-refresh-token-test.ts diff --git a/packages/amazon-cognito-identity-js/index.d.ts b/packages/amazon-cognito-identity-js/index.d.ts index 0b24bd7031a..ea12db3dafd 100644 --- a/packages/amazon-cognito-identity-js/index.d.ts +++ b/packages/amazon-cognito-identity-js/index.d.ts @@ -63,6 +63,10 @@ declare module 'amazon-cognito-identity-js' { Storage?: ICognitoStorage; } + export interface GetSessionOptions { + clientMetadata: Record; + } + export class CognitoUser { constructor(data: ICognitoUserData); @@ -76,12 +80,13 @@ declare module 'amazon-cognito-identity-js' { public setAuthenticationFlowType( authenticationFlowType: string ): string; - public getCachedDeviceKeyAndPassword(): void; + public getCachedDeviceKeyAndPassword(): void; public getSession( callback: | ((error: Error, session: null) => void) - | ((error: null, session: CognitoUserSession) => void) + | ((error: null, session: CognitoUserSession) => void), + options: GetSessionOptions ): void; public refreshSession( refreshToken: CognitoRefreshToken, diff --git a/packages/amazon-cognito-identity-js/src/CognitoUser.js b/packages/amazon-cognito-identity-js/src/CognitoUser.js index fc88d015717..aa369df41f6 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoUser.js +++ b/packages/amazon-cognito-identity-js/src/CognitoUser.js @@ -1220,18 +1220,25 @@ export default class CognitoUser { * PRIVATE ONLY: This is an internal only method and should not * be directly called by the consumers. */ - refreshSessionIfPossible() { + refreshSessionIfPossible(options = {}) { // best effort, if not possible return new Promise(resolve => { const refresh = this.signInUserSession.getRefreshToken(); if (refresh && refresh.getToken()) { - this.refreshSession(refresh, resolve); + this.refreshSession(refresh, resolve, options.clientMetadata); } else { resolve(); } }); } + /** + * @typedef {Object} GetUserDataOptions + * @property {boolean} bypassCache - force getting data from Cognito service + * @property {Record} clientMetadata - clientMetadata for getSession + */ + + /** * This is used by an authenticated users to get the userData * @param {nodeCallback} callback Called on success or error. @@ -1258,7 +1265,7 @@ export default class CognitoUser { if (this.isFetchUserDataAndTokenRequired(params)) { this.fetchUserData() .then(data => { - return this.refreshSessionIfPossible().then(() => data); + return this.refreshSessionIfPossible(params).then(() => data); }) .then(data => callback(null, data)) .catch(callback); @@ -1356,14 +1363,20 @@ export default class CognitoUser { }); } + /** + * @typedef {Object} GetSessionOptions + * @property {Record} clientMetadata - clientMetadata for getSession + */ + /** * This is used to get a session, either from the session object * or from the local storage, or by using a refresh token * * @param {nodeCallback} callback Called on success or error. + * @param {GetSessionOptions} options * @returns {void} */ - getSession(callback) { + getSession(callback, options) { if (this.username == null) { return callback( new Error('Username is null. Cannot retrieve a new session'), @@ -1375,9 +1388,8 @@ export default class CognitoUser { return callback(null, this.signInUserSession); } - const keyPrefix = `CognitoIdentityServiceProvider.${this.pool.getClientId()}.${ - this.username - }`; + const keyPrefix = `CognitoIdentityServiceProvider.${this.pool.getClientId()}.${this.username + }`; const idTokenKey = `${keyPrefix}.idToken`; const accessTokenKey = `${keyPrefix}.accessToken`; const refreshTokenKey = `${keyPrefix}.refreshToken`; @@ -1415,7 +1427,7 @@ export default class CognitoUser { ); } - this.refreshSession(refreshToken, callback); + this.refreshSession(refreshToken, callback, options.clientMetadata); } else { callback( new Error('Local storage is missing an ID Token, Please authenticate'), @@ -1540,9 +1552,8 @@ export default class CognitoUser { * @returns {void} */ cacheDeviceKeyAndPassword() { - const keyPrefix = `CognitoIdentityServiceProvider.${this.pool.getClientId()}.${ - this.username - }`; + const keyPrefix = `CognitoIdentityServiceProvider.${this.pool.getClientId()}.${this.username + }`; const deviceKeyKey = `${keyPrefix}.deviceKey`; const randomPasswordKey = `${keyPrefix}.randomPasswordKey`; const deviceGroupKeyKey = `${keyPrefix}.deviceGroupKey`; @@ -1557,9 +1568,8 @@ export default class CognitoUser { * @returns {void} */ getCachedDeviceKeyAndPassword() { - const keyPrefix = `CognitoIdentityServiceProvider.${this.pool.getClientId()}.${ - this.username - }`; + const keyPrefix = `CognitoIdentityServiceProvider.${this.pool.getClientId()}.${this.username + }`; const deviceKeyKey = `${keyPrefix}.deviceKey`; const randomPasswordKey = `${keyPrefix}.randomPasswordKey`; const deviceGroupKeyKey = `${keyPrefix}.deviceGroupKey`; @@ -1576,9 +1586,8 @@ export default class CognitoUser { * @returns {void} */ clearCachedDeviceKeyAndPassword() { - const keyPrefix = `CognitoIdentityServiceProvider.${this.pool.getClientId()}.${ - this.username - }`; + const keyPrefix = `CognitoIdentityServiceProvider.${this.pool.getClientId()}.${this.username + }`; const deviceKeyKey = `${keyPrefix}.deviceKey`; const randomPasswordKey = `${keyPrefix}.randomPasswordKey`; const deviceGroupKeyKey = `${keyPrefix}.deviceGroupKey`; diff --git a/packages/auth/__tests__/auth-refresh-token-test.ts b/packages/auth/__tests__/auth-refresh-token-test.ts new file mode 100644 index 00000000000..3aeedd9a437 --- /dev/null +++ b/packages/auth/__tests__/auth-refresh-token-test.ts @@ -0,0 +1,321 @@ +import { AuthClass as Auth } from '../src/Auth'; + +import { + CognitoUserPool, + CognitoUser, + CognitoUserSession, + CognitoIdToken, + CognitoAccessToken, + CognitoUserAttribute, +} from 'amazon-cognito-identity-js'; + +import { AuthOptions } from '../src/types'; + +const clientMetadata = { + test: 'i need to be send for token refresh', +}; + +const authOptions: AuthOptions = { + userPoolId: 'us-west-2_0xxxxxxxx', + userPoolWebClientId: 'awsUserPoolsWebClientId', + region: 'region', + identityPoolId: 'awsCognitoIdentityPoolId', + mandatorySignIn: false, + clientMetadata, +}; + +describe('Refresh token', () => { + it('currentUserPoolUser user.getSession using ClientMetadata from config', async () => { + // configure with client metadata + const auth = new Auth(authOptions); + + expect.assertions(1); + + const getSessionSpy = jest + .spyOn(CognitoUser.prototype, 'getSession') + .mockImplementation( + // @ts-ignore + ( + callback: (error: Error, session: CognitoUserSession) => void, + options: any + ) => { + expect(options.clientMetadata).toEqual({ + ...clientMetadata, + }); + const session = new CognitoUserSession({ + AccessToken: new CognitoAccessToken({ AccessToken: 'accesstoken' }), + IdToken: new CognitoIdToken({ IdToken: 'Idtoken' }), + }); + callback(null, session); + } + ); + + jest + .spyOn(CognitoUserPool.prototype, 'getCurrentUser') + .mockImplementation(() => { + return new CognitoUser({ + Pool: new CognitoUserPool({ + ClientId: authOptions.userPoolWebClientId, + UserPoolId: authOptions.userPoolId, + }), + Username: 'username', + }); + }); + await auth.currentUserPoolUser(); + }); + + it('userSession user.getSession using ClientMetadata from config', async () => { + // configure with client metadata + const auth = new Auth(authOptions); + + expect.assertions(2); + + const getSessionSpy = jest + .spyOn(CognitoUser.prototype, 'getSession') + .mockImplementation( + // @ts-ignore + ( + callback: (error: Error, session: CognitoUserSession) => void, + options: any + ) => { + expect(options.clientMetadata).toEqual({ + ...clientMetadata, + }); + const session = new CognitoUserSession({ + AccessToken: new CognitoAccessToken({ AccessToken: 'accesstoken' }), + IdToken: new CognitoIdToken({ IdToken: 'Idtoken' }), + }); + callback(null, session); + } + ); + + jest + .spyOn(CognitoUserPool.prototype, 'getCurrentUser') + .mockImplementation(() => { + return new CognitoUser({ + Pool: new CognitoUserPool({ + ClientId: authOptions.userPoolWebClientId, + UserPoolId: authOptions.userPoolId, + }), + Username: 'username', + }); + }); + const user = await auth.currentUserPoolUser(); + + await auth.userSession(user); + }); + + it('cognitoIdentitySignOut user.getSession using ClientMetadata from config', async () => { + // configure with client metadata + const auth = new Auth(authOptions); + + expect.assertions(2); + + jest.spyOn(CognitoUser.prototype, 'getSession').mockImplementation( + // @ts-ignore + ( + callback: (error: Error, session: CognitoUserSession) => void, + options: any + ) => { + expect(options.clientMetadata).toEqual({ + ...clientMetadata, + }); + const session = new CognitoUserSession({ + AccessToken: new CognitoAccessToken({ AccessToken: 'accesstoken' }), + IdToken: new CognitoIdToken({ IdToken: 'Idtoken' }), + }); + callback(null, session); + } + ); + + jest + .spyOn(CognitoUser.prototype, 'globalSignOut') + .mockImplementation(({ onSuccess, onFailure }) => { + onSuccess(''); + }); + + jest + .spyOn(CognitoUserPool.prototype, 'getCurrentUser') + .mockImplementation(() => { + return new CognitoUser({ + Pool: new CognitoUserPool({ + ClientId: authOptions.userPoolWebClientId, + UserPoolId: authOptions.userPoolId, + }), + Username: 'username', + }); + }); + const user = await auth.currentUserPoolUser(); + + // @ts-ignore + await auth.cognitoIdentitySignOut({ global: true }, user); + }); + + it('currentUserPoolUser user.getUserData using ClientMetadata from config', async () => { + // configure with client metadata + const auth = new Auth(authOptions); + + expect.assertions(1); + + jest.spyOn(CognitoUser.prototype, 'getSession').mockImplementation( + // @ts-ignore + ( + callback: (error: Error, session: CognitoUserSession) => void, + options: any + ) => { + const session = new CognitoUserSession({ + AccessToken: new CognitoAccessToken({ + AccessToken: + 'a.ewogICJzdWIiOiAic3ViIiwKICAiZXZlbnRfaWQiOiAieHh4eHgiLAogICJ0b2tlbl91c2UiOiAiYWNjZXNzIiwKICAic2NvcGUiOiAiYXdzLmNvZ25pdG8uc2lnbmluLnVzZXIuYWRtaW4iLAogICJhdXRoX3RpbWUiOiAxNjExNzc2ODA3LAogICJpc3MiOiAiaHR0cHM6Ly9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbS91cy1lYXN0LTFfenp6enp6enp6IiwKICAiZXhwIjogMTYxMTc4MDQwNywKICAiaWF0IjogMTYxMTc3NjgwNywKICAianRpIjogImFhYWFhIiwKICAiY2xpZW50X2lkIjogInh4eHh4eHh4IiwKICAidXNlcm5hbWUiOiAidXNlcm5hbWUiCn0.a', + }), + IdToken: new CognitoIdToken({ IdToken: 'Idtoken' }), + }); + callback(null, session); + } + ); + + jest + .spyOn(CognitoUser.prototype, 'getUserData') + .mockImplementation((callback, params) => { + expect(params.clientMetadata).toEqual(clientMetadata); + + callback(null, { + MFAOptions: [], + PreferredMfaSetting: 'NOMFA', + UserAttributes: [], + UserMFASettingList: [], + Username: 'username', + }); + }); + + jest + .spyOn(CognitoUserPool.prototype, 'getCurrentUser') + .mockImplementation(() => { + return new CognitoUser({ + Pool: new CognitoUserPool({ + ClientId: authOptions.userPoolWebClientId, + UserPoolId: authOptions.userPoolId, + }), + Username: 'username', + }); + }); + + const user = await auth.currentUserPoolUser(); + }); + + it('getPreferredMFA user.getUserData using ClientMetadata from config', async () => { + // configure with client metadata + const auth = new Auth(authOptions); + + expect.assertions(2); + + jest.spyOn(CognitoUser.prototype, 'getSession').mockImplementation( + // @ts-ignore + ( + callback: (error: Error, session: CognitoUserSession) => void, + options: any + ) => { + const session = new CognitoUserSession({ + AccessToken: new CognitoAccessToken({ + AccessToken: + 'a.ewogICJzdWIiOiAic3ViIiwKICAiZXZlbnRfaWQiOiAieHh4eHgiLAogICJ0b2tlbl91c2UiOiAiYWNjZXNzIiwKICAic2NvcGUiOiAiYXdzLmNvZ25pdG8uc2lnbmluLnVzZXIuYWRtaW4iLAogICJhdXRoX3RpbWUiOiAxNjExNzc2ODA3LAogICJpc3MiOiAiaHR0cHM6Ly9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbS91cy1lYXN0LTFfenp6enp6enp6IiwKICAiZXhwIjogMTYxMTc4MDQwNywKICAiaWF0IjogMTYxMTc3NjgwNywKICAianRpIjogImFhYWFhIiwKICAiY2xpZW50X2lkIjogInh4eHh4eHh4IiwKICAidXNlcm5hbWUiOiAidXNlcm5hbWUiCn0.a', + }), + IdToken: new CognitoIdToken({ IdToken: 'Idtoken' }), + }); + callback(null, session); + } + ); + + jest + .spyOn(CognitoUser.prototype, 'getUserData') + .mockImplementation((callback, params) => { + expect(params.clientMetadata).toEqual(clientMetadata); + + callback(null, { + MFAOptions: [], + PreferredMfaSetting: 'NOMFA', + UserAttributes: [], + UserMFASettingList: [], + Username: 'username', + }); + }); + + jest + .spyOn(CognitoUserPool.prototype, 'getCurrentUser') + .mockImplementation(() => { + return new CognitoUser({ + Pool: new CognitoUserPool({ + ClientId: authOptions.userPoolWebClientId, + UserPoolId: authOptions.userPoolId, + }), + Username: 'username', + }); + }); + + const user = await auth.currentUserPoolUser(); + + await auth.getPreferredMFA(user); + }); + + it('setPreferredMFA user.getUserData using ClientMetadata from config', async () => { + // configure with client metadata + const auth = new Auth(authOptions); + + expect.assertions(3); + + jest.spyOn(CognitoUser.prototype, 'getSession').mockImplementation( + // @ts-ignore + ( + callback: (error: Error, session: CognitoUserSession) => void, + options: any + ) => { + const session = new CognitoUserSession({ + AccessToken: new CognitoAccessToken({ + AccessToken: + 'a.ewogICJzdWIiOiAic3ViIiwKICAiZXZlbnRfaWQiOiAieHh4eHgiLAogICJ0b2tlbl91c2UiOiAiYWNjZXNzIiwKICAic2NvcGUiOiAiYXdzLmNvZ25pdG8uc2lnbmluLnVzZXIuYWRtaW4iLAogICJhdXRoX3RpbWUiOiAxNjExNzc2ODA3LAogICJpc3MiOiAiaHR0cHM6Ly9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbS91cy1lYXN0LTFfenp6enp6enp6IiwKICAiZXhwIjogMTYxMTc4MDQwNywKICAiaWF0IjogMTYxMTc3NjgwNywKICAianRpIjogImFhYWFhIiwKICAiY2xpZW50X2lkIjogInh4eHh4eHh4IiwKICAidXNlcm5hbWUiOiAidXNlcm5hbWUiCn0.a', + }), + IdToken: new CognitoIdToken({ IdToken: 'Idtoken' }), + }); + callback(null, session); + } + ); + + jest + .spyOn(CognitoUser.prototype, 'getUserData') + .mockImplementation((callback, params) => { + expect(params.clientMetadata).toEqual(clientMetadata); + + callback(null, { + MFAOptions: [], + PreferredMfaSetting: 'NOMFA', + UserAttributes: [], + UserMFASettingList: [], + Username: 'username', + }); + }); + + jest + .spyOn(CognitoUserPool.prototype, 'getCurrentUser') + .mockImplementation(() => { + return new CognitoUser({ + Pool: new CognitoUserPool({ + ClientId: authOptions.userPoolWebClientId, + UserPoolId: authOptions.userPoolId, + }), + Username: 'username', + }); + }); + + jest + .spyOn(CognitoUser.prototype, 'setUserMfaPreference') + .mockImplementation( + (smsMfaSettings, softwareTokenMfaSettings, callback) => { + callback(); + } + ); + + const user = await auth.currentUserPoolUser(); + + await auth.setPreferredMFA(user, 'SMS'); + }); +}); diff --git a/packages/auth/src/Auth.ts b/packages/auth/src/Auth.ts index e90c2e763ba..b77e16c83b1 100644 --- a/packages/auth/src/Auth.ts +++ b/packages/auth/src/Auth.ts @@ -90,7 +90,7 @@ const dispatchAuthEvent = (event: string, data: any, message: string) => { */ export class AuthClass { private _config: AuthOptions; - private userPool = null; + private userPool: CognitoUserPool = null; private user: any = null; private _oAuthHandler: OAuth; private _storage; @@ -282,8 +282,8 @@ export class AuthClass { let username: string = null; let password: string = null; - const attributes: object[] = []; - let validationData: object[] = null; + const attributes: CognitoUserAttribute[] = []; + let validationData: CognitoUserAttribute[] = null; let clientMetadata; if (params && typeof params === 'string') { @@ -291,9 +291,19 @@ export class AuthClass { password = restOfAttrs ? restOfAttrs[0] : null; const email: string = restOfAttrs ? restOfAttrs[1] : null; const phone_number: string = restOfAttrs ? restOfAttrs[2] : null; - if (email) attributes.push({ Name: 'email', Value: email }); + + if (email) + attributes.push( + new CognitoUserAttribute({ Name: 'email', Value: email }) + ); + if (phone_number) - attributes.push({ Name: 'phone_number', Value: phone_number }); + attributes.push( + new CognitoUserAttribute({ + Name: 'phone_number', + Value: phone_number, + }) + ); } else if (params && typeof params === 'object') { username = params['username']; password = params['password']; @@ -307,11 +317,21 @@ export class AuthClass { const attrs = params['attributes']; if (attrs) { Object.keys(attrs).map(key => { - const ele: object = { Name: key, Value: attrs[key] }; - attributes.push(ele); + attributes.push( + new CognitoUserAttribute({ Name: key, Value: attrs[key] }) + ); + }); + } + + const validationDataObject = params['validationData']; + if (validationDataObject) { + validationData = []; + Object.keys(validationDataObject).map(key => { + validationData.push( + new CognitoUserAttribute({ Name: key, Value: attrs[key] }) + ); }); } - validationData = params['validationData'] || null; } else { return this.rejectAuthError(AuthErrorTypes.SignUpError); } @@ -662,6 +682,8 @@ export class AuthClass { ): Promise { const that = this; return new Promise((res, rej) => { + const clientMetadata = this._config.clientMetadata; // TODO: verify behavior if this is override during signIn + const bypassCache = params ? params.bypassCache : false; user.getUserData( (err, data) => { @@ -680,7 +702,7 @@ export class AuthClass { return; } }, - { bypassCache } + { bypassCache, clientMetadata } ); }); } @@ -740,8 +762,11 @@ export class AuthClass { user: CognitoUser | any, mfaMethod: 'TOTP' | 'SMS' | 'NOMFA' ): Promise { + const clientMetadata = this._config.clientMetadata; // TODO: verify behavior if this is override during signIn + const userData = await this._getUserData(user, { bypassCache: true, + clientMetadata, }); let smsMfaSettings = null; let totpMfaSettings = null; @@ -823,7 +848,10 @@ export class AuthClass { return res(result); } }, - { bypassCache: true } + { + bypassCache: true, + clientMetadata, + } ); } ); @@ -1209,68 +1237,75 @@ export class AuthClass { return; } + const clientMetadata = this._config.clientMetadata; // TODO: verify behavior if this is override during signIn + // refresh the session if the session expired. - user.getSession(async (err, session) => { - if (err) { - logger.debug('Failed to get the user session', err); - rej(err); - return; - } + user.getSession( + async (err, session) => { + if (err) { + logger.debug('Failed to get the user session', err); + rej(err); + return; + } - // get user data from Cognito - const bypassCache = params ? params.bypassCache : false; + // get user data from Cognito + const bypassCache = params ? params.bypassCache : false; - if (bypassCache) { - await this.Credentials.clear(); - } + if (bypassCache) { + await this.Credentials.clear(); + } - // validate the token's scope first before calling this function - const { scope = '' } = session.getAccessToken().decodePayload(); - if (scope.split(' ').includes(USER_ADMIN_SCOPE)) { - user.getUserData( - (err, data) => { - if (err) { - logger.debug('getting user data failed', err); - // Make sure the user is still valid - if ( - err.message === 'User is disabled.' || - err.message === 'User does not exist.' || - err.message === 'Access Token has been revoked' // Session revoked by another app - ) { - rej(err); - } else { - // the error may also be thrown when lack of permissions to get user info etc - // in that case we just bypass the error - res(user); + const clientMetadata = this._config.clientMetadata; // TODO: verify behavior if this is override during signIn + + // validate the token's scope first before calling this function + const { scope = '' } = session.getAccessToken().decodePayload(); + if (scope.split(' ').includes(USER_ADMIN_SCOPE)) { + user.getUserData( + (err, data) => { + if (err) { + logger.debug('getting user data failed', err); + // Make sure the user is still valid + if ( + err.message === 'User is disabled.' || + err.message === 'User does not exist.' || + err.message === 'Access Token has been revoked' // Session revoked by another app + ) { + rej(err); + } else { + // the error may also be thrown when lack of permissions to get user info etc + // in that case we just bypass the error + res(user); + } + return; } - return; - } - const preferredMFA = data.PreferredMfaSetting || 'NOMFA'; - const attributeList = []; - - for (let i = 0; i < data.UserAttributes.length; i++) { - const attribute = { - Name: data.UserAttributes[i].Name, - Value: data.UserAttributes[i].Value, - }; - const userAttribute = new CognitoUserAttribute(attribute); - attributeList.push(userAttribute); - } - - const attributes = this.attributesToObject(attributeList); - Object.assign(user, { attributes, preferredMFA }); - return res(user); - }, - { bypassCache } - ); - } else { - logger.debug( - `Unable to get the user data because the ${USER_ADMIN_SCOPE} ` + - `is not in the scopes of the access token` - ); - return res(user); - } - }); + const preferredMFA = data.PreferredMfaSetting || 'NOMFA'; + const attributeList = []; + + for (let i = 0; i < data.UserAttributes.length; i++) { + const attribute = { + Name: data.UserAttributes[i].Name, + Value: data.UserAttributes[i].Value, + }; + const userAttribute = new CognitoUserAttribute(attribute); + attributeList.push(userAttribute); + } + + const attributes = this.attributesToObject(attributeList); + Object.assign(user, { attributes, preferredMFA }); + return res(user); + }, + { bypassCache, clientMetadata } + ); + } else { + logger.debug( + `Unable to get the user data because the ${USER_ADMIN_SCOPE} ` + + `is not in the scopes of the access token` + ); + return res(user); + } + }, + { clientMetadata } + ); }) .catch(e => { logger.debug('Failed to sync cache info into memory', e); @@ -1384,19 +1419,24 @@ export class AuthClass { logger.debug('the user is null'); return this.rejectAuthError(AuthErrorTypes.NoUserSession); } + const clientMetadata = this._config.clientMetadata; // TODO: verify behavior if this is override during signIn + return new Promise((resolve, reject) => { logger.debug('Getting the session from this user:', user); - user.getSession((err, session) => { - if (err) { - logger.debug('Failed to get the session from user', user); - reject(err); - return; - } else { - logger.debug('Succeed to get the user session', session); - resolve(session); - return; - } - }); + user.getSession( + (err, session) => { + if (err) { + logger.debug('Failed to get the session from user', user); + reject(err); + return; + } else { + logger.debug('Succeed to get the user session', session); + resolve(session); + return; + } + }, + { clientMetadata } + ); }); } @@ -1545,26 +1585,31 @@ export class AuthClass { logger.debug('user global sign out', user); // in order to use global signout // we must validate the user as an authenticated user by using getSession - user.getSession((err, result) => { - if (err) { - logger.debug('failed to get the user session', err); - return rej(err); - } - user.globalSignOut({ - onSuccess: data => { - logger.debug('global sign out success'); - if (isSignedInHostedUI) { - this.oAuthSignOutRedirect(res, rej); - } else { - return res(); - } - }, - onFailure: err => { - logger.debug('global sign out failed', err); + const clientMetadata = this._config.clientMetadata; // TODO: verify behavior if this is override during signIn + + user.getSession( + (err, result) => { + if (err) { + logger.debug('failed to get the user session', err); return rej(err); - }, - }); - }); + } + user.globalSignOut({ + onSuccess: data => { + logger.debug('global sign out success'); + if (isSignedInHostedUI) { + this.oAuthSignOutRedirect(res, rej); + } else { + return res(); + } + }, + onFailure: err => { + logger.debug('global sign out failed', err); + return rej(err); + }, + }); + }, + { clientMetadata } + ); } else { logger.debug('user sign out', user); user.signOut(); From 0ddd72eb601a6c4529f84ecbb0e2df2a77103af4 Mon Sep 17 00:00:00 2001 From: elorzafe Date: Thu, 28 Jan 2021 15:39:37 -0800 Subject: [PATCH 03/35] chore: preparing release From f53afdfe8a7b72f2eda70b2cecd8fae3ceb785cd Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Fri, 29 Jan 2021 00:16:41 +0000 Subject: [PATCH 04/35] chore(release): Publish [ci skip] - amazon-cognito-identity-js@4.5.8 - @aws-amplify/ui-angular@0.4.18 - @aws-amplify/ui-components@0.10.1 - @aws-amplify/ui-react@0.2.35 - @aws-amplify/ui-storybook@0.2.35 - @aws-amplify/ui-vue@0.2.34 - @aws-amplify/analytics@4.0.6 - @aws-amplify/api-graphql@1.2.18 - @aws-amplify/api-rest@1.2.18 - @aws-amplify/api@3.2.18 - @aws-amplify/auth@3.4.18 - aws-amplify-angular@5.0.44 - aws-amplify-react-native@4.3.1 - aws-amplify-react@4.2.19 - aws-amplify-vue@2.1.5 - aws-amplify@3.3.15 - @aws-amplify/cache@3.1.43 - @aws-amplify/core@3.8.10 - @aws-amplify/datastore@2.9.4 - @aws-amplify/interactions@3.3.18 - @aws-amplify/predictions@3.2.18 - @aws-amplify/pubsub@3.2.16 - @aws-amplify/pushnotification@3.2.18 - @aws-amplify/storage@3.3.18 - @aws-amplify/xr@2.2.18 --- .../amazon-cognito-identity-js/CHANGELOG.md | 12 ++++++++ .../package-lock.json | 2 +- .../amazon-cognito-identity-js/package.json | 2 +- packages/amplify-ui-angular/CHANGELOG.md | 8 ++++++ packages/amplify-ui-angular/package.json | 4 +-- packages/amplify-ui-components/CHANGELOG.md | 14 ++++++++++ packages/amplify-ui-components/package.json | 12 ++++---- packages/amplify-ui-react/CHANGELOG.md | 8 ++++++ packages/amplify-ui-react/package.json | 4 +-- packages/amplify-ui-storybook/CHANGELOG.md | 8 ++++++ packages/amplify-ui-storybook/package.json | 6 ++-- packages/amplify-ui-vue/CHANGELOG.md | 8 ++++++ packages/amplify-ui-vue/package.json | 4 +-- packages/analytics/CHANGELOG.md | 8 ++++++ packages/analytics/package.json | 6 ++-- packages/api-graphql/CHANGELOG.md | 8 ++++++ packages/api-graphql/package.json | 12 ++++---- packages/api-rest/CHANGELOG.md | 8 ++++++ packages/api-rest/package.json | 4 +-- packages/api/CHANGELOG.md | 8 ++++++ packages/api/package.json | 6 ++-- packages/auth/CHANGELOG.md | 11 ++++++++ packages/auth/package.json | 8 +++--- packages/aws-amplify-angular/CHANGELOG.md | 8 ++++++ packages/aws-amplify-angular/package.json | 4 +-- .../aws-amplify-react-native/CHANGELOG.md | 12 ++++++++ .../aws-amplify-react-native/package.json | 2 +- packages/aws-amplify-react/CHANGELOG.md | 8 ++++++ packages/aws-amplify-react/package.json | 4 +-- packages/aws-amplify-vue/CHANGELOG.md | 8 ++++++ packages/aws-amplify-vue/package.json | 2 +- packages/aws-amplify/CHANGELOG.md | 8 ++++++ packages/aws-amplify/package.json | 28 ++++++++++--------- packages/cache/CHANGELOG.md | 8 ++++++ packages/cache/package.json | 4 +-- packages/core/CHANGELOG.md | 8 ++++++ packages/core/package.json | 2 +- packages/datastore/CHANGELOG.md | 11 ++++++++ packages/datastore/package.json | 8 +++--- packages/interactions/CHANGELOG.md | 8 ++++++ packages/interactions/package.json | 4 +-- packages/predictions/CHANGELOG.md | 8 ++++++ packages/predictions/package.json | 6 ++-- packages/pubsub/CHANGELOG.md | 8 ++++++ packages/pubsub/package.json | 8 +++--- packages/pushnotification/CHANGELOG.md | 8 ++++++ packages/pushnotification/package.json | 4 +-- packages/storage/CHANGELOG.md | 8 ++++++ packages/storage/package.json | 4 +-- packages/xr/CHANGELOG.md | 8 ++++++ packages/xr/package.json | 4 +-- 51 files changed, 298 insertions(+), 76 deletions(-) diff --git a/packages/amazon-cognito-identity-js/CHANGELOG.md b/packages/amazon-cognito-identity-js/CHANGELOG.md index c24c43933d7..6cadda782be 100644 --- a/packages/amazon-cognito-identity-js/CHANGELOG.md +++ b/packages/amazon-cognito-identity-js/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.5.8](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@4.5.7...amazon-cognito-identity-js@4.5.8) (2021-01-29) + + +### Bug Fixes + +* **@aws-amplify/auth, amazon-cognito-identity-js:** Include clientMetadata for token refresh ([#7633](https://github.com/aws-amplify/amplify-js/issues/7633)) ([3a9efb0](https://github.com/aws-amplify/amplify-js/commit/3a9efb0b596cf2795d7e1424f011f8e59058ecfb)) +* **amazon-cognito-identity-js:** add .web.js version for cryptoSecureRandomInt ([#7521](https://github.com/aws-amplify/amplify-js/issues/7521)) ([13b7ccd](https://github.com/aws-amplify/amplify-js/commit/13b7ccd49b3314580b597dc177f400c1b68e930f)) + + + + + ## [4.5.7](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@4.5.6...amazon-cognito-identity-js@4.5.7) (2021-01-07) **Note:** Version bump only for package amazon-cognito-identity-js diff --git a/packages/amazon-cognito-identity-js/package-lock.json b/packages/amazon-cognito-identity-js/package-lock.json index a610cab1127..f34fc0748c1 100644 --- a/packages/amazon-cognito-identity-js/package-lock.json +++ b/packages/amazon-cognito-identity-js/package-lock.json @@ -1,6 +1,6 @@ { "name": "amazon-cognito-identity-js", - "version": "4.5.7", + "version": "4.5.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/amazon-cognito-identity-js/package.json b/packages/amazon-cognito-identity-js/package.json index 960d4d8b80d..66c87e30884 100644 --- a/packages/amazon-cognito-identity-js/package.json +++ b/packages/amazon-cognito-identity-js/package.json @@ -1,7 +1,7 @@ { "name": "amazon-cognito-identity-js", "description": "Amazon Cognito Identity Provider JavaScript SDK", - "version": "4.5.7", + "version": "4.5.8", "author": { "name": "Amazon Web Services", "email": "aws@amazon.com", diff --git a/packages/amplify-ui-angular/CHANGELOG.md b/packages/amplify-ui-angular/CHANGELOG.md index 63499517a78..83ded709587 100644 --- a/packages/amplify-ui-angular/CHANGELOG.md +++ b/packages/amplify-ui-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.17...@aws-amplify/ui-angular@0.4.18) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/ui-angular + + + + + ## [0.4.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.16...@aws-amplify/ui-angular@0.4.17) (2021-01-07) **Note:** Version bump only for package @aws-amplify/ui-angular diff --git a/packages/amplify-ui-angular/package.json b/packages/amplify-ui-angular/package.json index d0085e4e3f4..b3576926dae 100644 --- a/packages/amplify-ui-angular/package.json +++ b/packages/amplify-ui-angular/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-angular", - "version": "0.4.17", + "version": "0.4.18", "description": "Angular specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -31,7 +31,7 @@ "dist/" ], "dependencies": { - "@aws-amplify/ui-components": "0.10.0" + "@aws-amplify/ui-components": "0.10.1" }, "devDependencies": { "@angular/compiler-cli": "^7.2.1", diff --git a/packages/amplify-ui-components/CHANGELOG.md b/packages/amplify-ui-components/CHANGELOG.md index e0e3392edaf..4fffa4c386c 100644 --- a/packages/amplify-ui-components/CHANGELOG.md +++ b/packages/amplify-ui-components/CHANGELOG.md @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.10.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.10.0...@aws-amplify/ui-components@0.10.1) (2021-01-29) + + +### Bug Fixes + +* **@aws-amplify/ui-components:** exit early for invalid inputs ([#7543](https://github.com/aws-amplify/amplify-js/issues/7543)) ([760374e](https://github.com/aws-amplify/amplify-js/commit/760374ee94e740d8772db9913eebb5019d0d7c97)) +* **@aws-amplify/ui-components:** handle federated user in checkContact ([#7562](https://github.com/aws-amplify/amplify-js/issues/7562)) ([537c9c5](https://github.com/aws-amplify/amplify-js/commit/537c9c5e27372e02e220069456f6cabbc95e7fc8)) +* **@aws-amplify/ui-components:** handle slotted elements properly ([#7522](https://github.com/aws-amplify/amplify-js/issues/7522)) ([286c9e8](https://github.com/aws-amplify/amplify-js/commit/286c9e8fbec3ccdc5bf24edf3cbfb2bae370d751)) +* **@aws-amplify/ui-components:** revise word mfa=> MFA ([#7359](https://github.com/aws-amplify/amplify-js/issues/7359)) ([843183b](https://github.com/aws-amplify/amplify-js/commit/843183b094281b42ec829b010dd41d214899c23d)) + + + + + # [0.10.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.9.8...@aws-amplify/ui-components@0.10.0) (2021-01-07) diff --git a/packages/amplify-ui-components/package.json b/packages/amplify-ui-components/package.json index 75b20516e28..98efec141e3 100644 --- a/packages/amplify-ui-components/package.json +++ b/packages/amplify-ui-components/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-components", - "version": "0.10.0", + "version": "0.10.1", "description": "Core Amplify UI Component Library", "module": "dist/index.mjs", "main": "dist/index.js", @@ -35,11 +35,11 @@ "clean": "rimraf dist .stencil" }, "dependencies": { - "@aws-amplify/auth": "3.4.17", - "@aws-amplify/core": "3.8.9", - "@aws-amplify/interactions": "3.3.17", - "@aws-amplify/storage": "3.3.17", - "@aws-amplify/xr": "2.2.17", + "@aws-amplify/auth": "3.4.18", + "@aws-amplify/core": "3.8.10", + "@aws-amplify/interactions": "3.3.18", + "@aws-amplify/storage": "3.3.18", + "@aws-amplify/xr": "2.2.18", "qrcode": "^1.4.4", "uuid": "^8.2.0" }, diff --git a/packages/amplify-ui-react/CHANGELOG.md b/packages/amplify-ui-react/CHANGELOG.md index 0aa6db3695c..84118aef931 100644 --- a/packages/amplify-ui-react/CHANGELOG.md +++ b/packages/amplify-ui-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.34...@aws-amplify/ui-react@0.2.35) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/ui-react + + + + + ## [0.2.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.33...@aws-amplify/ui-react@0.2.34) (2021-01-07) **Note:** Version bump only for package @aws-amplify/ui-react diff --git a/packages/amplify-ui-react/package.json b/packages/amplify-ui-react/package.json index d976fc6da87..5a38ab544fa 100755 --- a/packages/amplify-ui-react/package.json +++ b/packages/amplify-ui-react/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-react", "sideEffects": false, - "version": "0.2.34", + "version": "0.2.35", "description": "React specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -32,7 +32,7 @@ "typescript": "^3.3.4000" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.0" + "@aws-amplify/ui-components": "0.10.1" }, "peerDependencies": { "react": "^16.7.0", diff --git a/packages/amplify-ui-storybook/CHANGELOG.md b/packages/amplify-ui-storybook/CHANGELOG.md index 540b9ec832e..f062127fb0c 100644 --- a/packages/amplify-ui-storybook/CHANGELOG.md +++ b/packages/amplify-ui-storybook/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.34...@aws-amplify/ui-storybook@0.2.35) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/ui-storybook + + + + + ## [0.2.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.33...@aws-amplify/ui-storybook@0.2.34) (2021-01-07) **Note:** Version bump only for package @aws-amplify/ui-storybook diff --git a/packages/amplify-ui-storybook/package.json b/packages/amplify-ui-storybook/package.json index 470882f5478..bd3e6835b5e 100644 --- a/packages/amplify-ui-storybook/package.json +++ b/packages/amplify-ui-storybook/package.json @@ -1,16 +1,16 @@ { "name": "@aws-amplify/ui-storybook", - "version": "0.2.34", + "version": "0.2.35", "private": true, "dependencies": { - "@aws-amplify/ui-react": "0.2.34", + "@aws-amplify/ui-react": "0.2.35", "@storybook/addon-knobs": "^5.3.13", "@storybook/theming": "^5.3.14", "@types/jest": "^24.0.0", "@types/node": "^12.0.0", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", - "aws-amplify": "3.3.14", + "aws-amplify": "3.3.15", "react": "^16.12.0", "react-app-polyfill": "^1.0.6", "react-dom": "^16.12.0", diff --git a/packages/amplify-ui-vue/CHANGELOG.md b/packages/amplify-ui-vue/CHANGELOG.md index 55e4d0da2b6..35edd43a06f 100644 --- a/packages/amplify-ui-vue/CHANGELOG.md +++ b/packages/amplify-ui-vue/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.2.33...@aws-amplify/ui-vue@0.2.34) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/ui-vue + + + + + ## [0.2.33](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.2.32...@aws-amplify/ui-vue@0.2.33) (2021-01-07) **Note:** Version bump only for package @aws-amplify/ui-vue diff --git a/packages/amplify-ui-vue/package.json b/packages/amplify-ui-vue/package.json index 5dc02792d06..aa40d093195 100644 --- a/packages/amplify-ui-vue/package.json +++ b/packages/amplify-ui-vue/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-vue", "sideEffects": true, - "version": "0.2.33", + "version": "0.2.34", "description": "Vue specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "url": "https://github.com/aws-amplify/amplify-js.git" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.0" + "@aws-amplify/ui-components": "0.10.1" }, "scripts": { "build": "npm run clean && npm run compile", diff --git a/packages/analytics/CHANGELOG.md b/packages/analytics/CHANGELOG.md index bb0d651e0d2..326aab6f3cf 100644 --- a/packages/analytics/CHANGELOG.md +++ b/packages/analytics/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.5...@aws-amplify/analytics@4.0.6) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/analytics + + + + + ## [4.0.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.4...@aws-amplify/analytics@4.0.5) (2021-01-07) **Note:** Version bump only for package @aws-amplify/analytics diff --git a/packages/analytics/package.json b/packages/analytics/package.json index d825e76be42..2b3ab33a191 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/analytics", - "version": "4.0.5", + "version": "4.0.6", "description": "Analytics category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -43,8 +43,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.42", - "@aws-amplify/core": "3.8.9", + "@aws-amplify/cache": "3.1.43", + "@aws-amplify/core": "3.8.10", "@aws-sdk/client-firehose": "1.0.0-rc.4", "@aws-sdk/client-kinesis": "1.0.0-rc.4", "@aws-sdk/client-personalize-events": "1.0.0-rc.4", diff --git a/packages/api-graphql/CHANGELOG.md b/packages/api-graphql/CHANGELOG.md index 7c7c5e307e6..48c6d2e0037 100644 --- a/packages/api-graphql/CHANGELOG.md +++ b/packages/api-graphql/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.17...@aws-amplify/api-graphql@1.2.18) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/api-graphql + + + + + ## [1.2.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.16...@aws-amplify/api-graphql@1.2.17) (2021-01-07) **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 156f8cb6ea2..6e8aa419219 100644 --- a/packages/api-graphql/package.json +++ b/packages/api-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-graphql", - "version": "1.2.17", + "version": "1.2.18", "description": "Api-graphql category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,11 +44,11 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-rest": "1.2.17", - "@aws-amplify/auth": "3.4.17", - "@aws-amplify/cache": "3.1.42", - "@aws-amplify/core": "3.8.9", - "@aws-amplify/pubsub": "3.2.15", + "@aws-amplify/api-rest": "1.2.18", + "@aws-amplify/auth": "3.4.18", + "@aws-amplify/cache": "3.1.43", + "@aws-amplify/core": "3.8.10", + "@aws-amplify/pubsub": "3.2.16", "graphql": "14.0.0", "uuid": "^3.2.1", "zen-observable-ts": "0.8.19" diff --git a/packages/api-rest/CHANGELOG.md b/packages/api-rest/CHANGELOG.md index f4d26844b64..ebe5dde14c7 100644 --- a/packages/api-rest/CHANGELOG.md +++ b/packages/api-rest/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.17...@aws-amplify/api-rest@1.2.18) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/api-rest + + + + + ## [1.2.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.16...@aws-amplify/api-rest@1.2.17) (2021-01-07) **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 2bac779ce74..d47cb9be3b0 100644 --- a/packages/api-rest/package.json +++ b/packages/api-rest/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-rest", - "version": "1.2.17", + "version": "1.2.18", "description": "Api-rest category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.9", + "@aws-amplify/core": "3.8.10", "axios": "0.21.1" }, "jest": { diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 03be266d5a0..3f7a7a535f0 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.17...@aws-amplify/api@3.2.18) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/api + + + + + ## [3.2.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.16...@aws-amplify/api@3.2.17) (2021-01-07) **Note:** Version bump only for package @aws-amplify/api diff --git a/packages/api/package.json b/packages/api/package.json index 327f6209f09..f7c751b76b2 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api", - "version": "3.2.17", + "version": "3.2.18", "description": "Api category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,8 +44,8 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-graphql": "1.2.17", - "@aws-amplify/api-rest": "1.2.17" + "@aws-amplify/api-graphql": "1.2.18", + "@aws-amplify/api-rest": "1.2.18" }, "jest": { "globals": { diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index 0e1dd2594ad..89745c44103 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.4.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.17...@aws-amplify/auth@3.4.18) (2021-01-29) + + +### Bug Fixes + +* **@aws-amplify/auth, amazon-cognito-identity-js:** Include clientMetadata for token refresh ([#7633](https://github.com/aws-amplify/amplify-js/issues/7633)) ([3a9efb0](https://github.com/aws-amplify/amplify-js/commit/3a9efb0b596cf2795d7e1424f011f8e59058ecfb)) + + + + + ## [3.4.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.16...@aws-amplify/auth@3.4.17) (2021-01-07) **Note:** Version bump only for package @aws-amplify/auth diff --git a/packages/auth/package.json b/packages/auth/package.json index db76dbb22a3..348b22a8f93 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/auth", - "version": "3.4.17", + "version": "3.4.18", "description": "Auth category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,9 +41,9 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.42", - "@aws-amplify/core": "3.8.9", - "amazon-cognito-identity-js": "4.5.7", + "@aws-amplify/cache": "3.1.43", + "@aws-amplify/core": "3.8.10", + "amazon-cognito-identity-js": "4.5.8", "crypto-js": "^3.3.0" }, "devDependencies": { diff --git a/packages/aws-amplify-angular/CHANGELOG.md b/packages/aws-amplify-angular/CHANGELOG.md index ac519c0a709..30bde0ac26f 100644 --- a/packages/aws-amplify-angular/CHANGELOG.md +++ b/packages/aws-amplify-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.44](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.43...aws-amplify-angular@5.0.44) (2021-01-29) + +**Note:** Version bump only for package aws-amplify-angular + + + + + ## [5.0.43](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.42...aws-amplify-angular@5.0.43) (2021-01-07) **Note:** Version bump only for package aws-amplify-angular diff --git a/packages/aws-amplify-angular/package.json b/packages/aws-amplify-angular/package.json index cbbd7374c1c..5b16925bead 100644 --- a/packages/aws-amplify-angular/package.json +++ b/packages/aws-amplify-angular/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-angular", - "version": "5.0.43", + "version": "5.0.44", "description": "AWS Amplify Angular Components", "main": "bundles/aws-amplify-angular.umd.js", "module": "dist/index.js", @@ -39,7 +39,7 @@ "@types/zen-observable": "^0.5.3", "angular2-template-loader": "^0.6.2", "awesome-typescript-loader": "^4.0.1", - "aws-amplify": "3.3.14", + "aws-amplify": "3.3.15", "babel-core": "^6.26.3", "babel-plugin-lodash": "^3.3.4", "babel-preset-env": "^1.7.0", diff --git a/packages/aws-amplify-react-native/CHANGELOG.md b/packages/aws-amplify-react-native/CHANGELOG.md index 522d052e623..f67d914535b 100644 --- a/packages/aws-amplify-react-native/CHANGELOG.md +++ b/packages/aws-amplify-react-native/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.3.1](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react-native@4.3.0...aws-amplify-react-native@4.3.1) (2021-01-29) + + +### Bug Fixes + +* **aws-amplify-react-native:** Added Accessibility Labels to UI components ([#7596](https://github.com/aws-amplify/amplify-js/issues/7596)) ([3ce644c](https://github.com/aws-amplify/amplify-js/commit/3ce644c0166fd224064a018f63ac6aa1af1d0f84)), closes [#7595](https://github.com/aws-amplify/amplify-js/issues/7595) +* **aws-amplify-react-native:** Fixed error msg display on SignUp Screen ([#7632](https://github.com/aws-amplify/amplify-js/issues/7632)) ([74dc3b1](https://github.com/aws-amplify/amplify-js/commit/74dc3b12f29691db549dc51b41dbbe45266f6adf)) + + + + + # [4.3.0](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react-native@4.2.10...aws-amplify-react-native@4.3.0) (2021-01-07) diff --git a/packages/aws-amplify-react-native/package.json b/packages/aws-amplify-react-native/package.json index f98804fddaf..89e24aff7a9 100644 --- a/packages/aws-amplify-react-native/package.json +++ b/packages/aws-amplify-react-native/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-react-native", - "version": "4.3.0", + "version": "4.3.1", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "dist/index.js", "scripts": { diff --git a/packages/aws-amplify-react/CHANGELOG.md b/packages/aws-amplify-react/CHANGELOG.md index f59e3f80dcc..6136831fdf9 100644 --- a/packages/aws-amplify-react/CHANGELOG.md +++ b/packages/aws-amplify-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.2.19](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.18...aws-amplify-react@4.2.19) (2021-01-29) + +**Note:** Version bump only for package aws-amplify-react + + + + + ## [4.2.18](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.17...aws-amplify-react@4.2.18) (2021-01-07) **Note:** Version bump only for package aws-amplify-react diff --git a/packages/aws-amplify-react/package.json b/packages/aws-amplify-react/package.json index e0bff89960e..18373f4f4f0 100644 --- a/packages/aws-amplify-react/package.json +++ b/packages/aws-amplify-react/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-react", - "version": "4.2.18", + "version": "4.2.19", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -38,7 +38,7 @@ "@types/enzyme-adapter-react-16": "^1.0.3", "@types/react": "^16.0.41", "@types/react-dom": "^16.0.11", - "aws-amplify": "3.3.14", + "aws-amplify": "3.3.15", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.3", "enzyme-to-json": "^3.2.1", diff --git a/packages/aws-amplify-vue/CHANGELOG.md b/packages/aws-amplify-vue/CHANGELOG.md index 816c57d488a..7ebd9e06da5 100644 --- a/packages/aws-amplify-vue/CHANGELOG.md +++ b/packages/aws-amplify-vue/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.1.5](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-vue@2.1.4...aws-amplify-vue@2.1.5) (2021-01-29) + +**Note:** Version bump only for package aws-amplify-vue + + + + + ## [2.1.4](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-vue@2.1.3...aws-amplify-vue@2.1.4) (2021-01-07) **Note:** Version bump only for package aws-amplify-vue diff --git a/packages/aws-amplify-vue/package.json b/packages/aws-amplify-vue/package.json index 402d1fc46e1..1c8818d7d81 100644 --- a/packages/aws-amplify-vue/package.json +++ b/packages/aws-amplify-vue/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-vue", - "version": "2.1.4", + "version": "2.1.5", "license": "Apache-2.0", "private": false, "author": "Amazon Web Services", diff --git a/packages/aws-amplify/CHANGELOG.md b/packages/aws-amplify/CHANGELOG.md index a6e6fe6678a..85d2f8d352d 100644 --- a/packages/aws-amplify/CHANGELOG.md +++ b/packages/aws-amplify/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.15](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.14...aws-amplify@3.3.15) (2021-01-29) + +**Note:** Version bump only for package aws-amplify + + + + + ## [3.3.14](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.13...aws-amplify@3.3.14) (2021-01-07) **Note:** Version bump only for package aws-amplify diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index 3388be7338d..118b50aa600 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify", - "version": "3.3.14", + "version": "3.3.15", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -34,18 +34,18 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/analytics": "4.0.5", - "@aws-amplify/api": "3.2.17", - "@aws-amplify/auth": "3.4.17", - "@aws-amplify/cache": "3.1.42", - "@aws-amplify/core": "3.8.9", - "@aws-amplify/datastore": "2.9.3", - "@aws-amplify/interactions": "3.3.17", - "@aws-amplify/predictions": "3.2.17", - "@aws-amplify/pubsub": "3.2.15", - "@aws-amplify/storage": "3.3.17", + "@aws-amplify/analytics": "4.0.6", + "@aws-amplify/api": "3.2.18", + "@aws-amplify/auth": "3.4.18", + "@aws-amplify/cache": "3.1.43", + "@aws-amplify/core": "3.8.10", + "@aws-amplify/datastore": "2.9.4", + "@aws-amplify/interactions": "3.3.18", + "@aws-amplify/predictions": "3.2.18", + "@aws-amplify/pubsub": "3.2.16", + "@aws-amplify/storage": "3.3.18", "@aws-amplify/ui": "2.0.2", - "@aws-amplify/xr": "2.2.17" + "@aws-amplify/xr": "2.2.18" }, "jest": { "globals": { @@ -67,7 +67,9 @@ "^.+\\.(js|jsx|ts|tsx)$": "ts-jest" }, "preset": "ts-jest", - "testMatch": ["**/__tests__/**/*-test.[jt]s?(x)"], + "testMatch": [ + "**/__tests__/**/*-test.[jt]s?(x)" + ], "moduleFileExtensions": [ "ts", "tsx", diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index c341dbbb22e..853372b529d 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.43](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.42...@aws-amplify/cache@3.1.43) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/cache + + + + + ## [3.1.42](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.41...@aws-amplify/cache@3.1.42) (2021-01-07) **Note:** Version bump only for package @aws-amplify/cache diff --git a/packages/cache/package.json b/packages/cache/package.json index 98dc97e5ff1..0bdbd7acddb 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/cache", - "version": "3.1.42", + "version": "3.1.43", "description": "Cache category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,7 +44,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.9" + "@aws-amplify/core": "3.8.10" }, "jest": { "globals": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 4f9764efa2b..56e4e92d51f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.8.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.9...@aws-amplify/core@3.8.10) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/core + + + + + ## [3.8.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.8...@aws-amplify/core@3.8.9) (2021-01-07) **Note:** Version bump only for package @aws-amplify/core diff --git a/packages/core/package.json b/packages/core/package.json index ece20300da2..00c0b422ce8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/core", - "version": "3.8.9", + "version": "3.8.10", "description": "Core category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", diff --git a/packages/datastore/CHANGELOG.md b/packages/datastore/CHANGELOG.md index 87a4e084417..bb73053fa97 100644 --- a/packages/datastore/CHANGELOG.md +++ b/packages/datastore/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.9.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.3...@aws-amplify/datastore@2.9.4) (2021-01-29) + + +### Bug Fixes + +* **@aws-amplify/datastore:** only include changed fields in update mutation input ([#7466](https://github.com/aws-amplify/amplify-js/issues/7466)) ([7b5b23f](https://github.com/aws-amplify/amplify-js/commit/7b5b23f9fa6f1c4934c631ab6bfc363b8d3eeac2)) + + + + + ## [2.9.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.2...@aws-amplify/datastore@2.9.3) (2021-01-07) **Note:** Version bump only for package @aws-amplify/datastore diff --git a/packages/datastore/package.json b/packages/datastore/package.json index 9ac5656443d..498711f3848 100644 --- a/packages/datastore/package.json +++ b/packages/datastore/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/datastore", - "version": "2.9.3", + "version": "2.9.4", "description": "AppSyncLocal support for aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -48,9 +48,9 @@ "fake-indexeddb": "3.0.0" }, "dependencies": { - "@aws-amplify/api": "3.2.17", - "@aws-amplify/core": "3.8.9", - "@aws-amplify/pubsub": "3.2.15", + "@aws-amplify/api": "3.2.18", + "@aws-amplify/core": "3.8.10", + "@aws-amplify/pubsub": "3.2.16", "idb": "5.0.6", "immer": "8.0.1", "ulid": "2.3.0", diff --git a/packages/interactions/CHANGELOG.md b/packages/interactions/CHANGELOG.md index adea219c4dd..d376b14e9b3 100644 --- a/packages/interactions/CHANGELOG.md +++ b/packages/interactions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.17...@aws-amplify/interactions@3.3.18) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/interactions + + + + + ## [3.3.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.16...@aws-amplify/interactions@3.3.17) (2021-01-07) **Note:** Version bump only for package @aws-amplify/interactions diff --git a/packages/interactions/package.json b/packages/interactions/package.json index b936c44c73e..84bf190a616 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/interactions", - "version": "3.3.17", + "version": "3.3.18", "description": "Interactions category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.9", + "@aws-amplify/core": "3.8.10", "@aws-sdk/client-lex-runtime-service": "1.0.0-rc.4" }, "jest": { diff --git a/packages/predictions/CHANGELOG.md b/packages/predictions/CHANGELOG.md index 15a204b23ae..389ec5c7ae3 100644 --- a/packages/predictions/CHANGELOG.md +++ b/packages/predictions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.17...@aws-amplify/predictions@3.2.18) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/predictions + + + + + ## [3.2.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.16...@aws-amplify/predictions@3.2.17) (2021-01-07) diff --git a/packages/predictions/package.json b/packages/predictions/package.json index caa01b40293..75f1fd93105 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/predictions", - "version": "3.2.17", + "version": "3.2.18", "description": "Machine learning category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -40,8 +40,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.9", - "@aws-amplify/storage": "3.3.17", + "@aws-amplify/core": "3.8.10", + "@aws-amplify/storage": "3.3.18", "@aws-sdk/client-comprehend": "1.0.0-rc.4", "@aws-sdk/client-polly": "1.0.0-rc.4", "@aws-sdk/client-rekognition": "1.0.0-rc.4", diff --git a/packages/pubsub/CHANGELOG.md b/packages/pubsub/CHANGELOG.md index 7a305ed9d83..d3abe3c95bc 100644 --- a/packages/pubsub/CHANGELOG.md +++ b/packages/pubsub/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.16](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.15...@aws-amplify/pubsub@3.2.16) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/pubsub + + + + + ## [3.2.15](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.14...@aws-amplify/pubsub@3.2.15) (2021-01-07) **Note:** Version bump only for package @aws-amplify/pubsub diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index 17811b0af6f..a990d084120 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pubsub", - "version": "3.2.15", + "version": "3.2.16", "description": "Pubsub category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -45,9 +45,9 @@ "cpx": "^1.5.0" }, "dependencies": { - "@aws-amplify/auth": "3.4.17", - "@aws-amplify/cache": "3.1.42", - "@aws-amplify/core": "3.8.9", + "@aws-amplify/auth": "3.4.18", + "@aws-amplify/cache": "3.1.43", + "@aws-amplify/core": "3.8.10", "graphql": "14.0.0", "paho-mqtt": "^1.1.0", "uuid": "^3.2.1", diff --git a/packages/pushnotification/CHANGELOG.md b/packages/pushnotification/CHANGELOG.md index 29f2d7a1504..ed908975ebe 100644 --- a/packages/pushnotification/CHANGELOG.md +++ b/packages/pushnotification/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.17...@aws-amplify/pushnotification@3.2.18) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/pushnotification + + + + + ## [3.2.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.16...@aws-amplify/pushnotification@3.2.17) (2021-01-07) **Note:** Version bump only for package @aws-amplify/pushnotification diff --git a/packages/pushnotification/package.json b/packages/pushnotification/package.json index 85ff902b947..3cd83a7b2d5 100644 --- a/packages/pushnotification/package.json +++ b/packages/pushnotification/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pushnotification", - "version": "3.2.17", + "version": "3.2.18", "description": "Push notifications category of aws-amplify", "main": "./lib/index.js", "module": "./lib/index.js", @@ -44,7 +44,7 @@ "webpack": "^3.5.5" }, "dependencies": { - "@aws-amplify/core": "3.8.9", + "@aws-amplify/core": "3.8.10", "@react-native-community/push-notification-ios": "1.0.3" }, "peerdependencies": { diff --git a/packages/storage/CHANGELOG.md b/packages/storage/CHANGELOG.md index 7f48d01f86a..34637effc5c 100644 --- a/packages/storage/CHANGELOG.md +++ b/packages/storage/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.17...@aws-amplify/storage@3.3.18) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/storage + + + + + ## [3.3.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.16...@aws-amplify/storage@3.3.17) (2021-01-07) **Note:** Version bump only for package @aws-amplify/storage diff --git a/packages/storage/package.json b/packages/storage/package.json index fc172ea30f4..dba02681fe9 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/storage", - "version": "3.3.17", + "version": "3.3.18", "description": "Storage category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.9", + "@aws-amplify/core": "3.8.10", "@aws-sdk/client-s3": "1.0.0-rc.4", "@aws-sdk/s3-request-presigner": "1.0.0-rc.4", "@aws-sdk/util-create-request": "1.0.0-rc.4", diff --git a/packages/xr/CHANGELOG.md b/packages/xr/CHANGELOG.md index 97fdd266270..34f4a4b6402 100644 --- a/packages/xr/CHANGELOG.md +++ b/packages/xr/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.17...@aws-amplify/xr@2.2.18) (2021-01-29) + +**Note:** Version bump only for package @aws-amplify/xr + + + + + ## [2.2.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.16...@aws-amplify/xr@2.2.17) (2021-01-07) **Note:** Version bump only for package @aws-amplify/xr diff --git a/packages/xr/package.json b/packages/xr/package.json index fa4d2cd6fe5..683bfab907a 100644 --- a/packages/xr/package.json +++ b/packages/xr/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/xr", - "version": "2.2.17", + "version": "2.2.18", "description": "XR category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.9" + "@aws-amplify/core": "3.8.10" }, "jest": { "globals": { From ae2e1cbfa7407eb810eae1b71ae8ab795d29a542 Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Fri, 29 Jan 2021 00:20:00 +0000 Subject: [PATCH 05/35] chore(release): update version.ts [ci skip] --- packages/core/src/Platform/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/Platform/version.ts b/packages/core/src/Platform/version.ts index b982f01f3b4..c025be22eb4 100644 --- a/packages/core/src/Platform/version.ts +++ b/packages/core/src/Platform/version.ts @@ -1,2 +1,2 @@ // generated by genversion -export const version = '3.8.9'; +export const version = '3.8.10'; From 71d88d74a1387633fc4997151853e404c04e0e57 Mon Sep 17 00:00:00 2001 From: Eric Clemmons Date: Fri, 29 Jan 2021 11:37:11 -0600 Subject: [PATCH 06/35] Next build isn't deterministic (#7644) Co-authored-by: Sam Martinez --- .github/actions/bundle-size-action/next/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/bundle-size-action/next/package.json b/.github/actions/bundle-size-action/next/package.json index a5f243576e1..6eff843ea58 100644 --- a/.github/actions/bundle-size-action/next/package.json +++ b/.github/actions/bundle-size-action/next/package.json @@ -13,7 +13,7 @@ "bundlewatch": { "files": [ { - "path": ".next/static/chunks/pages/index-d6a61784a8ae4ca7feaf.js", + "path": ".next/static/chunks/pages/index-*.js", "maxSize": "215kB" } ] From e8e0c8421ab1085d7615350e91e70db670b45f25 Mon Sep 17 00:00:00 2001 From: Eric Clemmons Date: Fri, 29 Jan 2021 12:37:47 -0600 Subject: [PATCH 07/35] Add dist-custom-elements-bundle to dist/components --- packages/amplify-ui-components/stencil.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/amplify-ui-components/stencil.config.ts b/packages/amplify-ui-components/stencil.config.ts index 6e17326c604..ec6cd84cc7a 100644 --- a/packages/amplify-ui-components/stencil.config.ts +++ b/packages/amplify-ui-components/stencil.config.ts @@ -59,6 +59,7 @@ export const config: Config = { proxiesFile: '../amplify-ui-react/src/components.ts', }), { type: 'dist' }, + { type: 'dist-custom-elements-bundle', dir: 'dist/components' }, { type: 'docs-readme' }, { type: 'docs-json', file: 'dist/docs.json' }, { From 729657353212d408a415301bdd0a802937c4ec04 Mon Sep 17 00:00:00 2001 From: Eric Clemmons Date: Fri, 29 Jan 2021 12:40:33 -0600 Subject: [PATCH 08/35] Test out explicit `bundles` This may not actually work, but hoping that this will reduce lazy-loading --- packages/amplify-ui-components/stencil.config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/amplify-ui-components/stencil.config.ts b/packages/amplify-ui-components/stencil.config.ts index ec6cd84cc7a..33ec98eacdc 100644 --- a/packages/amplify-ui-components/stencil.config.ts +++ b/packages/amplify-ui-components/stencil.config.ts @@ -27,6 +27,16 @@ export const config: Config = { injectGlobalPaths: ['src/global/breakpoint.scss'], }), ], + bundles: [ + { components: ['amplify-authenticator'] }, + { components: ['amplify-sign-out'] }, + { components: ['amplify-chatbot'] }, + { components: ['amplify-s3-album'] }, + { components: ['amplify-s3-image'] }, + { components: ['amplify-s3-image-picker'] }, + { components: ['amplify-s3-text'] }, + { components: ['amplify-s3-text-picker'] }, + ], nodeResolve: { browser: true, }, From 0a3cf4b5fcb25bee97a8fc744c87e61171b8fadb Mon Sep 17 00:00:00 2001 From: Eric Clemmons Date: Fri, 29 Jan 2021 13:23:18 -0600 Subject: [PATCH 09/35] Revert "Test out explicit `bundles`" This reverts commit 729657353212d408a415301bdd0a802937c4ec04. --- packages/amplify-ui-components/stencil.config.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/amplify-ui-components/stencil.config.ts b/packages/amplify-ui-components/stencil.config.ts index 33ec98eacdc..ec6cd84cc7a 100644 --- a/packages/amplify-ui-components/stencil.config.ts +++ b/packages/amplify-ui-components/stencil.config.ts @@ -27,16 +27,6 @@ export const config: Config = { injectGlobalPaths: ['src/global/breakpoint.scss'], }), ], - bundles: [ - { components: ['amplify-authenticator'] }, - { components: ['amplify-sign-out'] }, - { components: ['amplify-chatbot'] }, - { components: ['amplify-s3-album'] }, - { components: ['amplify-s3-image'] }, - { components: ['amplify-s3-image-picker'] }, - { components: ['amplify-s3-text'] }, - { components: ['amplify-s3-text-picker'] }, - ], nodeResolve: { browser: true, }, From 08277aff76688c091e05c593cb802f90a9c771a6 Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Fri, 29 Jan 2021 14:45:21 -0800 Subject: [PATCH 10/35] fix(amazon-cognito-identity-js): make options optional (#7654) --- packages/amazon-cognito-identity-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amazon-cognito-identity-js/index.d.ts b/packages/amazon-cognito-identity-js/index.d.ts index ea12db3dafd..ada0fd3ff05 100644 --- a/packages/amazon-cognito-identity-js/index.d.ts +++ b/packages/amazon-cognito-identity-js/index.d.ts @@ -86,7 +86,7 @@ declare module 'amazon-cognito-identity-js' { callback: | ((error: Error, session: null) => void) | ((error: null, session: CognitoUserSession) => void), - options: GetSessionOptions + options?: GetSessionOptions ): void; public refreshSession( refreshToken: CognitoRefreshToken, From 5574d956d635c45a9c6e1f48fd03c96b0a8c336c Mon Sep 17 00:00:00 2001 From: William Lee <43682783+wlee221@users.noreply.github.com> Date: Mon, 1 Feb 2021 08:08:14 -0800 Subject: [PATCH 11/35] feat(@aws-amplify/ui-vue): Use `@aws-amplify/ui-components` for Vue 3 (#7634) * Add Vue 3 Integration tests * Add warning message for Vue 2 * Try adding peer dependency * throw error instead * Fix whitespace Co-authored-by: Sam Martinez --- .circleci/config.yml | 21 +++++++++++++++++---- packages/amplify-ui-vue/package.json | 3 +++ packages/amplify-ui-vue/src/index.ts | 10 ++++++++-- 3 files changed, 28 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4996372e97f..13f689a12f7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -414,19 +414,26 @@ jobs: steps: - prepare_test_env - integ_test_js: - test_name: 'Vue Authenticator' + test_name: 'Legacy Vue Authenticator' framework: vue category: auth sample_name: amplify-authenticator-legacy spec: authenticator browser: << parameters.browser >> - integ_test_js: - test_name: 'Vue Authenticator' + test_name: 'Vue 2 Authenticator' framework: vue category: auth sample_name: amplify-authenticator spec: ui-amplify-authenticator browser: << parameters.browser >> + - integ_test_js: + test_name: 'Vue 3 Authenticator' + framework: vue + category: auth + sample_name: authenticator-vue3 + spec: ui-amplify-authenticator + browser: << parameters.browser >> - integ_test_js: test_name: 'Vue Custom Authenticator' framework: vue @@ -478,13 +485,19 @@ jobs: steps: - prepare_test_env - integ_test_js: - test_name: 'Vue Interactions' + test_name: 'Vue 2 Interactions' framework: vue category: interactions sample_name: chatbot-component spec: chatbot-component browser: << parameters.browser >> - + - integ_test_js: + test_name: 'Vue 3 Interactions' + framework: vue + category: interactions + sample_name: chatbot-component-vue3 + spec: chatbot-component + browser: << parameters.browser >> integ_angular_interactions: parameters: browser: diff --git a/packages/amplify-ui-vue/package.json b/packages/amplify-ui-vue/package.json index aa40d093195..8d75c8286fc 100644 --- a/packages/amplify-ui-vue/package.json +++ b/packages/amplify-ui-vue/package.json @@ -19,6 +19,9 @@ "dependencies": { "@aws-amplify/ui-components": "0.10.1" }, + "peerDependencies": { + "vue": "2.x.x" + }, "scripts": { "build": "npm run clean && npm run compile", "clean": "rm -rf dist", diff --git a/packages/amplify-ui-vue/src/index.ts b/packages/amplify-ui-vue/src/index.ts index a10b4290bc7..d0d0265979b 100644 --- a/packages/amplify-ui-vue/src/index.ts +++ b/packages/amplify-ui-vue/src/index.ts @@ -7,8 +7,14 @@ import Vue from 'vue'; // Tell Vue to ignore all components defined in the @aws-amplify/ui-components // package. The regex assumes all components names are prefixed // 'amplify-' -Vue.config.ignoredElements = [/amplify-\w*/]; - +if (Vue) { + Vue.config.ignoredElements = [/amplify-\w*/]; +} else { + throw new Error( + 'No Vue 2 export was found. For later versions of Vue, please use `@aws-amplify/ui-components` ' + + 'according to this guide: https://docs.amplify.aws/start/getting-started/setup/q/integration/vue.' + ); +} // Bind the custom elements to the window object applyPolyfills().then(() => { defineCustomElements(window); From 16023779b75f9db9c4379d59ebb2f511f17bbbf7 Mon Sep 17 00:00:00 2001 From: Sam Martinez Date: Mon, 1 Feb 2021 11:37:44 -0800 Subject: [PATCH 12/35] chore: preparing release From ba3d4558ef1d51340aeee8c1cd1d01b522d92e7e Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Mon, 1 Feb 2021 20:05:20 +0000 Subject: [PATCH 13/35] chore(release): Publish [ci skip] - amazon-cognito-identity-js@4.5.9 - @aws-amplify/ui-angular@0.4.19 - @aws-amplify/ui-components@0.10.2 - @aws-amplify/ui-react@0.2.36 - @aws-amplify/ui-storybook@0.2.36 - @aws-amplify/ui-vue@0.3.0 - @aws-amplify/analytics@4.0.7 - @aws-amplify/api-graphql@1.2.19 - @aws-amplify/api-rest@1.2.19 - @aws-amplify/api@3.2.19 - @aws-amplify/auth@3.4.19 - aws-amplify-angular@5.0.45 - aws-amplify-react@4.2.20 - aws-amplify@3.3.16 - @aws-amplify/cache@3.1.44 - @aws-amplify/core@3.8.11 - @aws-amplify/datastore@2.9.5 - @aws-amplify/interactions@3.3.19 - @aws-amplify/predictions@3.2.19 - @aws-amplify/pubsub@3.2.17 - @aws-amplify/pushnotification@3.2.19 - @aws-amplify/storage@3.3.19 - @aws-amplify/xr@2.2.19 --- .../amazon-cognito-identity-js/CHANGELOG.md | 11 +++++++++ .../package-lock.json | 2 +- .../amazon-cognito-identity-js/package.json | 2 +- packages/amplify-ui-angular/CHANGELOG.md | 8 +++++++ packages/amplify-ui-angular/package.json | 4 ++-- packages/amplify-ui-components/CHANGELOG.md | 11 +++++++++ packages/amplify-ui-components/package.json | 12 +++++----- packages/amplify-ui-react/CHANGELOG.md | 8 +++++++ packages/amplify-ui-react/package.json | 4 ++-- packages/amplify-ui-storybook/CHANGELOG.md | 8 +++++++ packages/amplify-ui-storybook/package.json | 6 ++--- packages/amplify-ui-vue/CHANGELOG.md | 11 +++++++++ packages/amplify-ui-vue/package.json | 4 ++-- packages/analytics/CHANGELOG.md | 8 +++++++ packages/analytics/package.json | 6 ++--- packages/api-graphql/CHANGELOG.md | 8 +++++++ packages/api-graphql/package.json | 12 +++++----- packages/api-rest/CHANGELOG.md | 8 +++++++ packages/api-rest/package.json | 4 ++-- packages/api/CHANGELOG.md | 8 +++++++ packages/api/package.json | 6 ++--- packages/auth/CHANGELOG.md | 8 +++++++ packages/auth/package.json | 8 +++---- packages/aws-amplify-angular/CHANGELOG.md | 8 +++++++ packages/aws-amplify-angular/package.json | 4 ++-- packages/aws-amplify-react/CHANGELOG.md | 8 +++++++ packages/aws-amplify-react/package.json | 4 ++-- packages/aws-amplify/CHANGELOG.md | 8 +++++++ packages/aws-amplify/package.json | 24 +++++++++---------- packages/cache/CHANGELOG.md | 8 +++++++ packages/cache/package.json | 4 ++-- packages/core/CHANGELOG.md | 8 +++++++ packages/core/package.json | 2 +- packages/datastore/CHANGELOG.md | 8 +++++++ packages/datastore/package.json | 8 +++---- packages/interactions/CHANGELOG.md | 8 +++++++ packages/interactions/package.json | 4 ++-- packages/predictions/CHANGELOG.md | 8 +++++++ packages/predictions/package.json | 6 ++--- packages/pubsub/CHANGELOG.md | 8 +++++++ packages/pubsub/package.json | 8 +++---- packages/pushnotification/CHANGELOG.md | 8 +++++++ packages/pushnotification/package.json | 4 ++-- packages/storage/CHANGELOG.md | 8 +++++++ packages/storage/package.json | 4 ++-- packages/xr/CHANGELOG.md | 8 +++++++ packages/xr/package.json | 4 ++-- 47 files changed, 266 insertions(+), 73 deletions(-) diff --git a/packages/amazon-cognito-identity-js/CHANGELOG.md b/packages/amazon-cognito-identity-js/CHANGELOG.md index 6cadda782be..583d1cd06f4 100644 --- a/packages/amazon-cognito-identity-js/CHANGELOG.md +++ b/packages/amazon-cognito-identity-js/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.5.9](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@4.5.8...amazon-cognito-identity-js@4.5.9) (2021-02-01) + + +### Bug Fixes + +* **amazon-cognito-identity-js:** make options optional ([#7654](https://github.com/aws-amplify/amplify-js/issues/7654)) ([08277af](https://github.com/aws-amplify/amplify-js/commit/08277aff76688c091e05c593cb802f90a9c771a6)) + + + + + ## [4.5.8](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@4.5.7...amazon-cognito-identity-js@4.5.8) (2021-01-29) diff --git a/packages/amazon-cognito-identity-js/package-lock.json b/packages/amazon-cognito-identity-js/package-lock.json index f34fc0748c1..a374117cb29 100644 --- a/packages/amazon-cognito-identity-js/package-lock.json +++ b/packages/amazon-cognito-identity-js/package-lock.json @@ -1,6 +1,6 @@ { "name": "amazon-cognito-identity-js", - "version": "4.5.8", + "version": "4.5.9", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/amazon-cognito-identity-js/package.json b/packages/amazon-cognito-identity-js/package.json index 66c87e30884..6bbba639476 100644 --- a/packages/amazon-cognito-identity-js/package.json +++ b/packages/amazon-cognito-identity-js/package.json @@ -1,7 +1,7 @@ { "name": "amazon-cognito-identity-js", "description": "Amazon Cognito Identity Provider JavaScript SDK", - "version": "4.5.8", + "version": "4.5.9", "author": { "name": "Amazon Web Services", "email": "aws@amazon.com", diff --git a/packages/amplify-ui-angular/CHANGELOG.md b/packages/amplify-ui-angular/CHANGELOG.md index 83ded709587..f765a24d327 100644 --- a/packages/amplify-ui-angular/CHANGELOG.md +++ b/packages/amplify-ui-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.18...@aws-amplify/ui-angular@0.4.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/ui-angular + + + + + ## [0.4.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.17...@aws-amplify/ui-angular@0.4.18) (2021-01-29) **Note:** Version bump only for package @aws-amplify/ui-angular diff --git a/packages/amplify-ui-angular/package.json b/packages/amplify-ui-angular/package.json index b3576926dae..bf08fe9899d 100644 --- a/packages/amplify-ui-angular/package.json +++ b/packages/amplify-ui-angular/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-angular", - "version": "0.4.18", + "version": "0.4.19", "description": "Angular specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -31,7 +31,7 @@ "dist/" ], "dependencies": { - "@aws-amplify/ui-components": "0.10.1" + "@aws-amplify/ui-components": "0.10.2" }, "devDependencies": { "@angular/compiler-cli": "^7.2.1", diff --git a/packages/amplify-ui-components/CHANGELOG.md b/packages/amplify-ui-components/CHANGELOG.md index 4fffa4c386c..02d1847662d 100644 --- a/packages/amplify-ui-components/CHANGELOG.md +++ b/packages/amplify-ui-components/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.10.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.10.1...@aws-amplify/ui-components@0.10.2) (2021-02-01) + + +### Reverts + +* Revert "Test out explicit `bundles`" ([0a3cf4b](https://github.com/aws-amplify/amplify-js/commit/0a3cf4b5fcb25bee97a8fc744c87e61171b8fadb)) + + + + + ## [0.10.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.10.0...@aws-amplify/ui-components@0.10.1) (2021-01-29) diff --git a/packages/amplify-ui-components/package.json b/packages/amplify-ui-components/package.json index 98efec141e3..b8eadd66072 100644 --- a/packages/amplify-ui-components/package.json +++ b/packages/amplify-ui-components/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-components", - "version": "0.10.1", + "version": "0.10.2", "description": "Core Amplify UI Component Library", "module": "dist/index.mjs", "main": "dist/index.js", @@ -35,11 +35,11 @@ "clean": "rimraf dist .stencil" }, "dependencies": { - "@aws-amplify/auth": "3.4.18", - "@aws-amplify/core": "3.8.10", - "@aws-amplify/interactions": "3.3.18", - "@aws-amplify/storage": "3.3.18", - "@aws-amplify/xr": "2.2.18", + "@aws-amplify/auth": "3.4.19", + "@aws-amplify/core": "3.8.11", + "@aws-amplify/interactions": "3.3.19", + "@aws-amplify/storage": "3.3.19", + "@aws-amplify/xr": "2.2.19", "qrcode": "^1.4.4", "uuid": "^8.2.0" }, diff --git a/packages/amplify-ui-react/CHANGELOG.md b/packages/amplify-ui-react/CHANGELOG.md index 84118aef931..13e40c83dd9 100644 --- a/packages/amplify-ui-react/CHANGELOG.md +++ b/packages/amplify-ui-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.36](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.35...@aws-amplify/ui-react@0.2.36) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/ui-react + + + + + ## [0.2.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.34...@aws-amplify/ui-react@0.2.35) (2021-01-29) **Note:** Version bump only for package @aws-amplify/ui-react diff --git a/packages/amplify-ui-react/package.json b/packages/amplify-ui-react/package.json index 5a38ab544fa..837d6426dfa 100755 --- a/packages/amplify-ui-react/package.json +++ b/packages/amplify-ui-react/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-react", "sideEffects": false, - "version": "0.2.35", + "version": "0.2.36", "description": "React specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -32,7 +32,7 @@ "typescript": "^3.3.4000" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.1" + "@aws-amplify/ui-components": "0.10.2" }, "peerDependencies": { "react": "^16.7.0", diff --git a/packages/amplify-ui-storybook/CHANGELOG.md b/packages/amplify-ui-storybook/CHANGELOG.md index f062127fb0c..163b5454231 100644 --- a/packages/amplify-ui-storybook/CHANGELOG.md +++ b/packages/amplify-ui-storybook/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.36](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.35...@aws-amplify/ui-storybook@0.2.36) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/ui-storybook + + + + + ## [0.2.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.34...@aws-amplify/ui-storybook@0.2.35) (2021-01-29) **Note:** Version bump only for package @aws-amplify/ui-storybook diff --git a/packages/amplify-ui-storybook/package.json b/packages/amplify-ui-storybook/package.json index bd3e6835b5e..0835eb1d18d 100644 --- a/packages/amplify-ui-storybook/package.json +++ b/packages/amplify-ui-storybook/package.json @@ -1,16 +1,16 @@ { "name": "@aws-amplify/ui-storybook", - "version": "0.2.35", + "version": "0.2.36", "private": true, "dependencies": { - "@aws-amplify/ui-react": "0.2.35", + "@aws-amplify/ui-react": "0.2.36", "@storybook/addon-knobs": "^5.3.13", "@storybook/theming": "^5.3.14", "@types/jest": "^24.0.0", "@types/node": "^12.0.0", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", - "aws-amplify": "3.3.15", + "aws-amplify": "3.3.16", "react": "^16.12.0", "react-app-polyfill": "^1.0.6", "react-dom": "^16.12.0", diff --git a/packages/amplify-ui-vue/CHANGELOG.md b/packages/amplify-ui-vue/CHANGELOG.md index 35edd43a06f..30474587bff 100644 --- a/packages/amplify-ui-vue/CHANGELOG.md +++ b/packages/amplify-ui-vue/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.3.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.2.34...@aws-amplify/ui-vue@0.3.0) (2021-02-01) + + +### Features + +* **@aws-amplify/ui-vue:** Use `@aws-amplify/ui-components` for Vue 3 ([#7634](https://github.com/aws-amplify/amplify-js/issues/7634)) ([5574d95](https://github.com/aws-amplify/amplify-js/commit/5574d956d635c45a9c6e1f48fd03c96b0a8c336c)) + + + + + ## [0.2.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.2.33...@aws-amplify/ui-vue@0.2.34) (2021-01-29) **Note:** Version bump only for package @aws-amplify/ui-vue diff --git a/packages/amplify-ui-vue/package.json b/packages/amplify-ui-vue/package.json index 8d75c8286fc..79e8174e751 100644 --- a/packages/amplify-ui-vue/package.json +++ b/packages/amplify-ui-vue/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-vue", "sideEffects": true, - "version": "0.2.34", + "version": "0.3.0", "description": "Vue specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "url": "https://github.com/aws-amplify/amplify-js.git" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.1" + "@aws-amplify/ui-components": "0.10.2" }, "peerDependencies": { "vue": "2.x.x" diff --git a/packages/analytics/CHANGELOG.md b/packages/analytics/CHANGELOG.md index 326aab6f3cf..54d4be137e7 100644 --- a/packages/analytics/CHANGELOG.md +++ b/packages/analytics/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.6...@aws-amplify/analytics@4.0.7) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/analytics + + + + + ## [4.0.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.5...@aws-amplify/analytics@4.0.6) (2021-01-29) **Note:** Version bump only for package @aws-amplify/analytics diff --git a/packages/analytics/package.json b/packages/analytics/package.json index 2b3ab33a191..d8f15bd8206 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/analytics", - "version": "4.0.6", + "version": "4.0.7", "description": "Analytics category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -43,8 +43,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.43", - "@aws-amplify/core": "3.8.10", + "@aws-amplify/cache": "3.1.44", + "@aws-amplify/core": "3.8.11", "@aws-sdk/client-firehose": "1.0.0-rc.4", "@aws-sdk/client-kinesis": "1.0.0-rc.4", "@aws-sdk/client-personalize-events": "1.0.0-rc.4", diff --git a/packages/api-graphql/CHANGELOG.md b/packages/api-graphql/CHANGELOG.md index 48c6d2e0037..72344e63370 100644 --- a/packages/api-graphql/CHANGELOG.md +++ b/packages/api-graphql/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.18...@aws-amplify/api-graphql@1.2.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/api-graphql + + + + + ## [1.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.17...@aws-amplify/api-graphql@1.2.18) (2021-01-29) **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 6e8aa419219..b599740f8b8 100644 --- a/packages/api-graphql/package.json +++ b/packages/api-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-graphql", - "version": "1.2.18", + "version": "1.2.19", "description": "Api-graphql category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,11 +44,11 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-rest": "1.2.18", - "@aws-amplify/auth": "3.4.18", - "@aws-amplify/cache": "3.1.43", - "@aws-amplify/core": "3.8.10", - "@aws-amplify/pubsub": "3.2.16", + "@aws-amplify/api-rest": "1.2.19", + "@aws-amplify/auth": "3.4.19", + "@aws-amplify/cache": "3.1.44", + "@aws-amplify/core": "3.8.11", + "@aws-amplify/pubsub": "3.2.17", "graphql": "14.0.0", "uuid": "^3.2.1", "zen-observable-ts": "0.8.19" diff --git a/packages/api-rest/CHANGELOG.md b/packages/api-rest/CHANGELOG.md index ebe5dde14c7..1782fb2f72c 100644 --- a/packages/api-rest/CHANGELOG.md +++ b/packages/api-rest/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.18...@aws-amplify/api-rest@1.2.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/api-rest + + + + + ## [1.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.17...@aws-amplify/api-rest@1.2.18) (2021-01-29) **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 d47cb9be3b0..80118adc66a 100644 --- a/packages/api-rest/package.json +++ b/packages/api-rest/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-rest", - "version": "1.2.18", + "version": "1.2.19", "description": "Api-rest category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.10", + "@aws-amplify/core": "3.8.11", "axios": "0.21.1" }, "jest": { diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 3f7a7a535f0..02608a49c5d 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.18...@aws-amplify/api@3.2.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/api + + + + + ## [3.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.17...@aws-amplify/api@3.2.18) (2021-01-29) **Note:** Version bump only for package @aws-amplify/api diff --git a/packages/api/package.json b/packages/api/package.json index f7c751b76b2..c8669439dc4 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api", - "version": "3.2.18", + "version": "3.2.19", "description": "Api category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,8 +44,8 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-graphql": "1.2.18", - "@aws-amplify/api-rest": "1.2.18" + "@aws-amplify/api-graphql": "1.2.19", + "@aws-amplify/api-rest": "1.2.19" }, "jest": { "globals": { diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index 89745c44103..228d1fdc326 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.4.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.18...@aws-amplify/auth@3.4.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/auth + + + + + ## [3.4.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.17...@aws-amplify/auth@3.4.18) (2021-01-29) diff --git a/packages/auth/package.json b/packages/auth/package.json index 348b22a8f93..d82dab023e5 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/auth", - "version": "3.4.18", + "version": "3.4.19", "description": "Auth category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,9 +41,9 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.43", - "@aws-amplify/core": "3.8.10", - "amazon-cognito-identity-js": "4.5.8", + "@aws-amplify/cache": "3.1.44", + "@aws-amplify/core": "3.8.11", + "amazon-cognito-identity-js": "4.5.9", "crypto-js": "^3.3.0" }, "devDependencies": { diff --git a/packages/aws-amplify-angular/CHANGELOG.md b/packages/aws-amplify-angular/CHANGELOG.md index 30bde0ac26f..c12c3c05ef8 100644 --- a/packages/aws-amplify-angular/CHANGELOG.md +++ b/packages/aws-amplify-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.45](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.44...aws-amplify-angular@5.0.45) (2021-02-01) + +**Note:** Version bump only for package aws-amplify-angular + + + + + ## [5.0.44](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.43...aws-amplify-angular@5.0.44) (2021-01-29) **Note:** Version bump only for package aws-amplify-angular diff --git a/packages/aws-amplify-angular/package.json b/packages/aws-amplify-angular/package.json index 5b16925bead..82860042041 100644 --- a/packages/aws-amplify-angular/package.json +++ b/packages/aws-amplify-angular/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-angular", - "version": "5.0.44", + "version": "5.0.45", "description": "AWS Amplify Angular Components", "main": "bundles/aws-amplify-angular.umd.js", "module": "dist/index.js", @@ -39,7 +39,7 @@ "@types/zen-observable": "^0.5.3", "angular2-template-loader": "^0.6.2", "awesome-typescript-loader": "^4.0.1", - "aws-amplify": "3.3.15", + "aws-amplify": "3.3.16", "babel-core": "^6.26.3", "babel-plugin-lodash": "^3.3.4", "babel-preset-env": "^1.7.0", diff --git a/packages/aws-amplify-react/CHANGELOG.md b/packages/aws-amplify-react/CHANGELOG.md index 6136831fdf9..429fb7194c6 100644 --- a/packages/aws-amplify-react/CHANGELOG.md +++ b/packages/aws-amplify-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.2.20](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.19...aws-amplify-react@4.2.20) (2021-02-01) + +**Note:** Version bump only for package aws-amplify-react + + + + + ## [4.2.19](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.18...aws-amplify-react@4.2.19) (2021-01-29) **Note:** Version bump only for package aws-amplify-react diff --git a/packages/aws-amplify-react/package.json b/packages/aws-amplify-react/package.json index 18373f4f4f0..34282fbcfcf 100644 --- a/packages/aws-amplify-react/package.json +++ b/packages/aws-amplify-react/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-react", - "version": "4.2.19", + "version": "4.2.20", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -38,7 +38,7 @@ "@types/enzyme-adapter-react-16": "^1.0.3", "@types/react": "^16.0.41", "@types/react-dom": "^16.0.11", - "aws-amplify": "3.3.15", + "aws-amplify": "3.3.16", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.3", "enzyme-to-json": "^3.2.1", diff --git a/packages/aws-amplify/CHANGELOG.md b/packages/aws-amplify/CHANGELOG.md index 85d2f8d352d..9bd77a3d502 100644 --- a/packages/aws-amplify/CHANGELOG.md +++ b/packages/aws-amplify/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.16](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.15...aws-amplify@3.3.16) (2021-02-01) + +**Note:** Version bump only for package aws-amplify + + + + + ## [3.3.15](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.14...aws-amplify@3.3.15) (2021-01-29) **Note:** Version bump only for package aws-amplify diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index 118b50aa600..40338b1ce3e 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify", - "version": "3.3.15", + "version": "3.3.16", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -34,18 +34,18 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/analytics": "4.0.6", - "@aws-amplify/api": "3.2.18", - "@aws-amplify/auth": "3.4.18", - "@aws-amplify/cache": "3.1.43", - "@aws-amplify/core": "3.8.10", - "@aws-amplify/datastore": "2.9.4", - "@aws-amplify/interactions": "3.3.18", - "@aws-amplify/predictions": "3.2.18", - "@aws-amplify/pubsub": "3.2.16", - "@aws-amplify/storage": "3.3.18", + "@aws-amplify/analytics": "4.0.7", + "@aws-amplify/api": "3.2.19", + "@aws-amplify/auth": "3.4.19", + "@aws-amplify/cache": "3.1.44", + "@aws-amplify/core": "3.8.11", + "@aws-amplify/datastore": "2.9.5", + "@aws-amplify/interactions": "3.3.19", + "@aws-amplify/predictions": "3.2.19", + "@aws-amplify/pubsub": "3.2.17", + "@aws-amplify/storage": "3.3.19", "@aws-amplify/ui": "2.0.2", - "@aws-amplify/xr": "2.2.18" + "@aws-amplify/xr": "2.2.19" }, "jest": { "globals": { diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index 853372b529d..e5b366c4003 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.44](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.43...@aws-amplify/cache@3.1.44) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/cache + + + + + ## [3.1.43](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.42...@aws-amplify/cache@3.1.43) (2021-01-29) **Note:** Version bump only for package @aws-amplify/cache diff --git a/packages/cache/package.json b/packages/cache/package.json index 0bdbd7acddb..578a2258ac0 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/cache", - "version": "3.1.43", + "version": "3.1.44", "description": "Cache category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,7 +44,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.10" + "@aws-amplify/core": "3.8.11" }, "jest": { "globals": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 56e4e92d51f..a3334235995 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.8.11](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.10...@aws-amplify/core@3.8.11) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/core + + + + + ## [3.8.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.9...@aws-amplify/core@3.8.10) (2021-01-29) **Note:** Version bump only for package @aws-amplify/core diff --git a/packages/core/package.json b/packages/core/package.json index 00c0b422ce8..3c6615e4318 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/core", - "version": "3.8.10", + "version": "3.8.11", "description": "Core category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", diff --git a/packages/datastore/CHANGELOG.md b/packages/datastore/CHANGELOG.md index bb73053fa97..a7ac8d0972a 100644 --- a/packages/datastore/CHANGELOG.md +++ b/packages/datastore/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.9.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.4...@aws-amplify/datastore@2.9.5) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/datastore + + + + + ## [2.9.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.3...@aws-amplify/datastore@2.9.4) (2021-01-29) diff --git a/packages/datastore/package.json b/packages/datastore/package.json index 498711f3848..2d3fd1f09ae 100644 --- a/packages/datastore/package.json +++ b/packages/datastore/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/datastore", - "version": "2.9.4", + "version": "2.9.5", "description": "AppSyncLocal support for aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -48,9 +48,9 @@ "fake-indexeddb": "3.0.0" }, "dependencies": { - "@aws-amplify/api": "3.2.18", - "@aws-amplify/core": "3.8.10", - "@aws-amplify/pubsub": "3.2.16", + "@aws-amplify/api": "3.2.19", + "@aws-amplify/core": "3.8.11", + "@aws-amplify/pubsub": "3.2.17", "idb": "5.0.6", "immer": "8.0.1", "ulid": "2.3.0", diff --git a/packages/interactions/CHANGELOG.md b/packages/interactions/CHANGELOG.md index d376b14e9b3..508ea792f03 100644 --- a/packages/interactions/CHANGELOG.md +++ b/packages/interactions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.18...@aws-amplify/interactions@3.3.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/interactions + + + + + ## [3.3.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.17...@aws-amplify/interactions@3.3.18) (2021-01-29) **Note:** Version bump only for package @aws-amplify/interactions diff --git a/packages/interactions/package.json b/packages/interactions/package.json index 84bf190a616..8f6a5d32c31 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/interactions", - "version": "3.3.18", + "version": "3.3.19", "description": "Interactions category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.10", + "@aws-amplify/core": "3.8.11", "@aws-sdk/client-lex-runtime-service": "1.0.0-rc.4" }, "jest": { diff --git a/packages/predictions/CHANGELOG.md b/packages/predictions/CHANGELOG.md index 389ec5c7ae3..990ac9e72e6 100644 --- a/packages/predictions/CHANGELOG.md +++ b/packages/predictions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.18...@aws-amplify/predictions@3.2.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/predictions + + + + + ## [3.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.17...@aws-amplify/predictions@3.2.18) (2021-01-29) **Note:** Version bump only for package @aws-amplify/predictions diff --git a/packages/predictions/package.json b/packages/predictions/package.json index 75f1fd93105..a1da63de356 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/predictions", - "version": "3.2.18", + "version": "3.2.19", "description": "Machine learning category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -40,8 +40,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.10", - "@aws-amplify/storage": "3.3.18", + "@aws-amplify/core": "3.8.11", + "@aws-amplify/storage": "3.3.19", "@aws-sdk/client-comprehend": "1.0.0-rc.4", "@aws-sdk/client-polly": "1.0.0-rc.4", "@aws-sdk/client-rekognition": "1.0.0-rc.4", diff --git a/packages/pubsub/CHANGELOG.md b/packages/pubsub/CHANGELOG.md index d3abe3c95bc..911aa5b0001 100644 --- a/packages/pubsub/CHANGELOG.md +++ b/packages/pubsub/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.16...@aws-amplify/pubsub@3.2.17) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/pubsub + + + + + ## [3.2.16](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.15...@aws-amplify/pubsub@3.2.16) (2021-01-29) **Note:** Version bump only for package @aws-amplify/pubsub diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index a990d084120..261cba2bdd6 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pubsub", - "version": "3.2.16", + "version": "3.2.17", "description": "Pubsub category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -45,9 +45,9 @@ "cpx": "^1.5.0" }, "dependencies": { - "@aws-amplify/auth": "3.4.18", - "@aws-amplify/cache": "3.1.43", - "@aws-amplify/core": "3.8.10", + "@aws-amplify/auth": "3.4.19", + "@aws-amplify/cache": "3.1.44", + "@aws-amplify/core": "3.8.11", "graphql": "14.0.0", "paho-mqtt": "^1.1.0", "uuid": "^3.2.1", diff --git a/packages/pushnotification/CHANGELOG.md b/packages/pushnotification/CHANGELOG.md index ed908975ebe..343017df21c 100644 --- a/packages/pushnotification/CHANGELOG.md +++ b/packages/pushnotification/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.18...@aws-amplify/pushnotification@3.2.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/pushnotification + + + + + ## [3.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.17...@aws-amplify/pushnotification@3.2.18) (2021-01-29) **Note:** Version bump only for package @aws-amplify/pushnotification diff --git a/packages/pushnotification/package.json b/packages/pushnotification/package.json index 3cd83a7b2d5..205b35869d8 100644 --- a/packages/pushnotification/package.json +++ b/packages/pushnotification/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pushnotification", - "version": "3.2.18", + "version": "3.2.19", "description": "Push notifications category of aws-amplify", "main": "./lib/index.js", "module": "./lib/index.js", @@ -44,7 +44,7 @@ "webpack": "^3.5.5" }, "dependencies": { - "@aws-amplify/core": "3.8.10", + "@aws-amplify/core": "3.8.11", "@react-native-community/push-notification-ios": "1.0.3" }, "peerdependencies": { diff --git a/packages/storage/CHANGELOG.md b/packages/storage/CHANGELOG.md index 34637effc5c..c7993bf324d 100644 --- a/packages/storage/CHANGELOG.md +++ b/packages/storage/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.18...@aws-amplify/storage@3.3.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/storage + + + + + ## [3.3.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.17...@aws-amplify/storage@3.3.18) (2021-01-29) **Note:** Version bump only for package @aws-amplify/storage diff --git a/packages/storage/package.json b/packages/storage/package.json index dba02681fe9..fef5a169bc9 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/storage", - "version": "3.3.18", + "version": "3.3.19", "description": "Storage category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.10", + "@aws-amplify/core": "3.8.11", "@aws-sdk/client-s3": "1.0.0-rc.4", "@aws-sdk/s3-request-presigner": "1.0.0-rc.4", "@aws-sdk/util-create-request": "1.0.0-rc.4", diff --git a/packages/xr/CHANGELOG.md b/packages/xr/CHANGELOG.md index 34f4a4b6402..d44d1cd71d1 100644 --- a/packages/xr/CHANGELOG.md +++ b/packages/xr/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.18...@aws-amplify/xr@2.2.19) (2021-02-01) + +**Note:** Version bump only for package @aws-amplify/xr + + + + + ## [2.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.17...@aws-amplify/xr@2.2.18) (2021-01-29) **Note:** Version bump only for package @aws-amplify/xr diff --git a/packages/xr/package.json b/packages/xr/package.json index 683bfab907a..a29d260075e 100644 --- a/packages/xr/package.json +++ b/packages/xr/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/xr", - "version": "2.2.18", + "version": "2.2.19", "description": "XR category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.10" + "@aws-amplify/core": "3.8.11" }, "jest": { "globals": { From 88cba943d6b1aa911b0e14ba335f6b84c6deac73 Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Mon, 1 Feb 2021 20:08:26 +0000 Subject: [PATCH 14/35] chore(release): update version.ts [ci skip] --- packages/core/src/Platform/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/Platform/version.ts b/packages/core/src/Platform/version.ts index c025be22eb4..63e82c7962c 100644 --- a/packages/core/src/Platform/version.ts +++ b/packages/core/src/Platform/version.ts @@ -1,2 +1,2 @@ // generated by genversion -export const version = '3.8.10'; +export const version = '3.8.11'; From 651c3b29f39dd5beb563b5084ff74f7cbcc94368 Mon Sep 17 00:00:00 2001 From: William Lee <43682783+wlee221@users.noreply.github.com> Date: Mon, 1 Feb 2021 15:40:47 -0800 Subject: [PATCH 15/35] fix(@aws-amplify/ui-components): handle non-username alias (#7663) --- .../src/components/amplify-sign-up/amplify-sign-up.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/amplify-ui-components/src/components/amplify-sign-up/amplify-sign-up.tsx b/packages/amplify-ui-components/src/components/amplify-sign-up/amplify-sign-up.tsx index 055b39ea8a5..963bd293c79 100644 --- a/packages/amplify-ui-components/src/components/amplify-sign-up/amplify-sign-up.tsx +++ b/packages/amplify-ui-components/src/components/amplify-sign-up/amplify-sign-up.tsx @@ -133,6 +133,9 @@ export class AmplifySignUp { break; } try { + if (!this.signUpAttributes.username) { + throw new Error(Translations.EMPTY_USERNAME); + } if (this.signUpAttributes.username.indexOf(' ') >= 0) { throw new Error(Translations.USERNAME_REMOVE_WHITESPACE); } From 4ecf4256e54db42e49c55db8ca14f7dd2b206af1 Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Tue, 2 Feb 2021 13:17:36 -0800 Subject: [PATCH 16/35] fix(amazon-cognito-identity-js): add default value for options (#7664) --- packages/amazon-cognito-identity-js/src/CognitoUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amazon-cognito-identity-js/src/CognitoUser.js b/packages/amazon-cognito-identity-js/src/CognitoUser.js index aa369df41f6..fe56c143c07 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoUser.js +++ b/packages/amazon-cognito-identity-js/src/CognitoUser.js @@ -1376,7 +1376,7 @@ export default class CognitoUser { * @param {GetSessionOptions} options * @returns {void} */ - getSession(callback, options) { + getSession(callback, options = {}) { if (this.username == null) { return callback( new Error('Username is null. Cannot retrieve a new session'), From dff79947ec2944e127637993ed5c86ad52ec4c35 Mon Sep 17 00:00:00 2001 From: Sam Martinez Date: Tue, 2 Feb 2021 14:10:43 -0800 Subject: [PATCH 17/35] Update stale (#7672) * chore:Update NOTICE file to remove copyright date * update stale bot to include backlog label Co-authored-by: Alex Hinson --- .github/stale.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/stale.yml b/.github/stale.yml index 1d76cffb6fd..9e082b57a63 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -10,6 +10,7 @@ exemptLabels: - tracked - question - needs-discussion + - backlog staleLabel: pending-close-response-required markComment: > This issue has been automatically marked as stale because it has not had From 9693db60be5cb97818af0f8bcaa7c6618244819b Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Wed, 3 Feb 2021 12:21:36 -0800 Subject: [PATCH 18/35] chore: preparing release From 3bb2f9ec18325ff859e2a49bb368bc4c6181b4d6 Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Wed, 3 Feb 2021 20:50:18 +0000 Subject: [PATCH 19/35] chore(release): Publish [ci skip] - amazon-cognito-identity-js@4.5.10 - @aws-amplify/ui-angular@0.4.20 - @aws-amplify/ui-components@0.10.3 - @aws-amplify/ui-react@0.2.37 - @aws-amplify/ui-storybook@0.2.37 - @aws-amplify/ui-vue@0.3.1 - @aws-amplify/analytics@4.0.8 - @aws-amplify/api-graphql@1.2.20 - @aws-amplify/api-rest@1.2.20 - @aws-amplify/api@3.2.20 - @aws-amplify/auth@3.4.20 - aws-amplify-angular@5.0.46 - aws-amplify-react@4.2.21 - aws-amplify@3.3.17 - @aws-amplify/cache@3.1.45 - @aws-amplify/core@3.8.12 - @aws-amplify/datastore@2.9.6 - @aws-amplify/interactions@3.3.20 - @aws-amplify/predictions@3.2.20 - @aws-amplify/pubsub@3.2.18 - @aws-amplify/pushnotification@3.2.20 - @aws-amplify/storage@3.3.20 - @aws-amplify/xr@2.2.20 --- .../amazon-cognito-identity-js/CHANGELOG.md | 11 +++++++++ .../package-lock.json | 2 +- .../amazon-cognito-identity-js/package.json | 2 +- packages/amplify-ui-angular/CHANGELOG.md | 8 +++++++ packages/amplify-ui-angular/package.json | 4 ++-- packages/amplify-ui-components/CHANGELOG.md | 11 +++++++++ packages/amplify-ui-components/package.json | 12 +++++----- packages/amplify-ui-react/CHANGELOG.md | 8 +++++++ packages/amplify-ui-react/package.json | 4 ++-- packages/amplify-ui-storybook/CHANGELOG.md | 8 +++++++ packages/amplify-ui-storybook/package.json | 6 ++--- packages/amplify-ui-vue/CHANGELOG.md | 8 +++++++ packages/amplify-ui-vue/package.json | 4 ++-- packages/analytics/CHANGELOG.md | 8 +++++++ packages/analytics/package.json | 6 ++--- packages/api-graphql/CHANGELOG.md | 8 +++++++ packages/api-graphql/package.json | 12 +++++----- packages/api-rest/CHANGELOG.md | 8 +++++++ packages/api-rest/package.json | 4 ++-- packages/api/CHANGELOG.md | 8 +++++++ packages/api/package.json | 6 ++--- packages/auth/CHANGELOG.md | 8 +++++++ packages/auth/package.json | 8 +++---- packages/aws-amplify-angular/CHANGELOG.md | 8 +++++++ packages/aws-amplify-angular/package.json | 4 ++-- packages/aws-amplify-react/CHANGELOG.md | 8 +++++++ packages/aws-amplify-react/package.json | 4 ++-- packages/aws-amplify/CHANGELOG.md | 8 +++++++ packages/aws-amplify/package.json | 24 +++++++++---------- packages/cache/CHANGELOG.md | 8 +++++++ packages/cache/package.json | 4 ++-- packages/core/CHANGELOG.md | 8 +++++++ packages/core/package.json | 2 +- packages/datastore/CHANGELOG.md | 8 +++++++ packages/datastore/package.json | 8 +++---- packages/interactions/CHANGELOG.md | 8 +++++++ packages/interactions/package.json | 4 ++-- packages/predictions/CHANGELOG.md | 8 +++++++ packages/predictions/package.json | 6 ++--- packages/pubsub/CHANGELOG.md | 8 +++++++ packages/pubsub/package.json | 8 +++---- packages/pushnotification/CHANGELOG.md | 8 +++++++ packages/pushnotification/package.json | 4 ++-- packages/storage/CHANGELOG.md | 8 +++++++ packages/storage/package.json | 4 ++-- packages/xr/CHANGELOG.md | 8 +++++++ packages/xr/package.json | 4 ++-- 47 files changed, 263 insertions(+), 73 deletions(-) diff --git a/packages/amazon-cognito-identity-js/CHANGELOG.md b/packages/amazon-cognito-identity-js/CHANGELOG.md index 583d1cd06f4..7e56c382c20 100644 --- a/packages/amazon-cognito-identity-js/CHANGELOG.md +++ b/packages/amazon-cognito-identity-js/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.5.10](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@4.5.9...amazon-cognito-identity-js@4.5.10) (2021-02-03) + + +### Bug Fixes + +* **amazon-cognito-identity-js:** add default value for options ([#7664](https://github.com/aws-amplify/amplify-js/issues/7664)) ([4ecf425](https://github.com/aws-amplify/amplify-js/commit/4ecf4256e54db42e49c55db8ca14f7dd2b206af1)) + + + + + ## [4.5.9](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@4.5.8...amazon-cognito-identity-js@4.5.9) (2021-02-01) diff --git a/packages/amazon-cognito-identity-js/package-lock.json b/packages/amazon-cognito-identity-js/package-lock.json index a374117cb29..1002ef0c628 100644 --- a/packages/amazon-cognito-identity-js/package-lock.json +++ b/packages/amazon-cognito-identity-js/package-lock.json @@ -1,6 +1,6 @@ { "name": "amazon-cognito-identity-js", - "version": "4.5.9", + "version": "4.5.10", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/amazon-cognito-identity-js/package.json b/packages/amazon-cognito-identity-js/package.json index 6bbba639476..940eda6bc48 100644 --- a/packages/amazon-cognito-identity-js/package.json +++ b/packages/amazon-cognito-identity-js/package.json @@ -1,7 +1,7 @@ { "name": "amazon-cognito-identity-js", "description": "Amazon Cognito Identity Provider JavaScript SDK", - "version": "4.5.9", + "version": "4.5.10", "author": { "name": "Amazon Web Services", "email": "aws@amazon.com", diff --git a/packages/amplify-ui-angular/CHANGELOG.md b/packages/amplify-ui-angular/CHANGELOG.md index f765a24d327..1dc63013451 100644 --- a/packages/amplify-ui-angular/CHANGELOG.md +++ b/packages/amplify-ui-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.19...@aws-amplify/ui-angular@0.4.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/ui-angular + + + + + ## [0.4.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.18...@aws-amplify/ui-angular@0.4.19) (2021-02-01) **Note:** Version bump only for package @aws-amplify/ui-angular diff --git a/packages/amplify-ui-angular/package.json b/packages/amplify-ui-angular/package.json index bf08fe9899d..d98319b0482 100644 --- a/packages/amplify-ui-angular/package.json +++ b/packages/amplify-ui-angular/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-angular", - "version": "0.4.19", + "version": "0.4.20", "description": "Angular specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -31,7 +31,7 @@ "dist/" ], "dependencies": { - "@aws-amplify/ui-components": "0.10.2" + "@aws-amplify/ui-components": "0.10.3" }, "devDependencies": { "@angular/compiler-cli": "^7.2.1", diff --git a/packages/amplify-ui-components/CHANGELOG.md b/packages/amplify-ui-components/CHANGELOG.md index 02d1847662d..33965ef4c3e 100644 --- a/packages/amplify-ui-components/CHANGELOG.md +++ b/packages/amplify-ui-components/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.10.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.10.2...@aws-amplify/ui-components@0.10.3) (2021-02-03) + + +### Bug Fixes + +* **@aws-amplify/ui-components:** handle non-username alias ([#7663](https://github.com/aws-amplify/amplify-js/issues/7663)) ([651c3b2](https://github.com/aws-amplify/amplify-js/commit/651c3b29f39dd5beb563b5084ff74f7cbcc94368)) + + + + + ## [0.10.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.10.1...@aws-amplify/ui-components@0.10.2) (2021-02-01) diff --git a/packages/amplify-ui-components/package.json b/packages/amplify-ui-components/package.json index b8eadd66072..53d85c560f7 100644 --- a/packages/amplify-ui-components/package.json +++ b/packages/amplify-ui-components/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-components", - "version": "0.10.2", + "version": "0.10.3", "description": "Core Amplify UI Component Library", "module": "dist/index.mjs", "main": "dist/index.js", @@ -35,11 +35,11 @@ "clean": "rimraf dist .stencil" }, "dependencies": { - "@aws-amplify/auth": "3.4.19", - "@aws-amplify/core": "3.8.11", - "@aws-amplify/interactions": "3.3.19", - "@aws-amplify/storage": "3.3.19", - "@aws-amplify/xr": "2.2.19", + "@aws-amplify/auth": "3.4.20", + "@aws-amplify/core": "3.8.12", + "@aws-amplify/interactions": "3.3.20", + "@aws-amplify/storage": "3.3.20", + "@aws-amplify/xr": "2.2.20", "qrcode": "^1.4.4", "uuid": "^8.2.0" }, diff --git a/packages/amplify-ui-react/CHANGELOG.md b/packages/amplify-ui-react/CHANGELOG.md index 13e40c83dd9..19da8d64ddf 100644 --- a/packages/amplify-ui-react/CHANGELOG.md +++ b/packages/amplify-ui-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.37](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.36...@aws-amplify/ui-react@0.2.37) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/ui-react + + + + + ## [0.2.36](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.35...@aws-amplify/ui-react@0.2.36) (2021-02-01) **Note:** Version bump only for package @aws-amplify/ui-react diff --git a/packages/amplify-ui-react/package.json b/packages/amplify-ui-react/package.json index 837d6426dfa..8b307a53e8f 100755 --- a/packages/amplify-ui-react/package.json +++ b/packages/amplify-ui-react/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-react", "sideEffects": false, - "version": "0.2.36", + "version": "0.2.37", "description": "React specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -32,7 +32,7 @@ "typescript": "^3.3.4000" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.2" + "@aws-amplify/ui-components": "0.10.3" }, "peerDependencies": { "react": "^16.7.0", diff --git a/packages/amplify-ui-storybook/CHANGELOG.md b/packages/amplify-ui-storybook/CHANGELOG.md index 163b5454231..faca058804c 100644 --- a/packages/amplify-ui-storybook/CHANGELOG.md +++ b/packages/amplify-ui-storybook/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.37](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.36...@aws-amplify/ui-storybook@0.2.37) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/ui-storybook + + + + + ## [0.2.36](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.35...@aws-amplify/ui-storybook@0.2.36) (2021-02-01) **Note:** Version bump only for package @aws-amplify/ui-storybook diff --git a/packages/amplify-ui-storybook/package.json b/packages/amplify-ui-storybook/package.json index 0835eb1d18d..5ec20e1c662 100644 --- a/packages/amplify-ui-storybook/package.json +++ b/packages/amplify-ui-storybook/package.json @@ -1,16 +1,16 @@ { "name": "@aws-amplify/ui-storybook", - "version": "0.2.36", + "version": "0.2.37", "private": true, "dependencies": { - "@aws-amplify/ui-react": "0.2.36", + "@aws-amplify/ui-react": "0.2.37", "@storybook/addon-knobs": "^5.3.13", "@storybook/theming": "^5.3.14", "@types/jest": "^24.0.0", "@types/node": "^12.0.0", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", - "aws-amplify": "3.3.16", + "aws-amplify": "3.3.17", "react": "^16.12.0", "react-app-polyfill": "^1.0.6", "react-dom": "^16.12.0", diff --git a/packages/amplify-ui-vue/CHANGELOG.md b/packages/amplify-ui-vue/CHANGELOG.md index 30474587bff..2e9e6a7c9b2 100644 --- a/packages/amplify-ui-vue/CHANGELOG.md +++ b/packages/amplify-ui-vue/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.3.0...@aws-amplify/ui-vue@0.3.1) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/ui-vue + + + + + # [0.3.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.2.34...@aws-amplify/ui-vue@0.3.0) (2021-02-01) diff --git a/packages/amplify-ui-vue/package.json b/packages/amplify-ui-vue/package.json index 79e8174e751..b60713732bf 100644 --- a/packages/amplify-ui-vue/package.json +++ b/packages/amplify-ui-vue/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-vue", "sideEffects": true, - "version": "0.3.0", + "version": "0.3.1", "description": "Vue specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "url": "https://github.com/aws-amplify/amplify-js.git" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.2" + "@aws-amplify/ui-components": "0.10.3" }, "peerDependencies": { "vue": "2.x.x" diff --git a/packages/analytics/CHANGELOG.md b/packages/analytics/CHANGELOG.md index 54d4be137e7..547767efeba 100644 --- a/packages/analytics/CHANGELOG.md +++ b/packages/analytics/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.7...@aws-amplify/analytics@4.0.8) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/analytics + + + + + ## [4.0.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.6...@aws-amplify/analytics@4.0.7) (2021-02-01) **Note:** Version bump only for package @aws-amplify/analytics diff --git a/packages/analytics/package.json b/packages/analytics/package.json index d8f15bd8206..530013f04ed 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/analytics", - "version": "4.0.7", + "version": "4.0.8", "description": "Analytics category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -43,8 +43,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.44", - "@aws-amplify/core": "3.8.11", + "@aws-amplify/cache": "3.1.45", + "@aws-amplify/core": "3.8.12", "@aws-sdk/client-firehose": "1.0.0-rc.4", "@aws-sdk/client-kinesis": "1.0.0-rc.4", "@aws-sdk/client-personalize-events": "1.0.0-rc.4", diff --git a/packages/api-graphql/CHANGELOG.md b/packages/api-graphql/CHANGELOG.md index 72344e63370..483b1fa6903 100644 --- a/packages/api-graphql/CHANGELOG.md +++ b/packages/api-graphql/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.19...@aws-amplify/api-graphql@1.2.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/api-graphql + + + + + ## [1.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.18...@aws-amplify/api-graphql@1.2.19) (2021-02-01) **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 b599740f8b8..adbab6a21ba 100644 --- a/packages/api-graphql/package.json +++ b/packages/api-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-graphql", - "version": "1.2.19", + "version": "1.2.20", "description": "Api-graphql category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,11 +44,11 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-rest": "1.2.19", - "@aws-amplify/auth": "3.4.19", - "@aws-amplify/cache": "3.1.44", - "@aws-amplify/core": "3.8.11", - "@aws-amplify/pubsub": "3.2.17", + "@aws-amplify/api-rest": "1.2.20", + "@aws-amplify/auth": "3.4.20", + "@aws-amplify/cache": "3.1.45", + "@aws-amplify/core": "3.8.12", + "@aws-amplify/pubsub": "3.2.18", "graphql": "14.0.0", "uuid": "^3.2.1", "zen-observable-ts": "0.8.19" diff --git a/packages/api-rest/CHANGELOG.md b/packages/api-rest/CHANGELOG.md index 1782fb2f72c..9742eb3b603 100644 --- a/packages/api-rest/CHANGELOG.md +++ b/packages/api-rest/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.19...@aws-amplify/api-rest@1.2.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/api-rest + + + + + ## [1.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.18...@aws-amplify/api-rest@1.2.19) (2021-02-01) **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 80118adc66a..ed20c667088 100644 --- a/packages/api-rest/package.json +++ b/packages/api-rest/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-rest", - "version": "1.2.19", + "version": "1.2.20", "description": "Api-rest category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.11", + "@aws-amplify/core": "3.8.12", "axios": "0.21.1" }, "jest": { diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 02608a49c5d..57a68a8273d 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.19...@aws-amplify/api@3.2.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/api + + + + + ## [3.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.18...@aws-amplify/api@3.2.19) (2021-02-01) **Note:** Version bump only for package @aws-amplify/api diff --git a/packages/api/package.json b/packages/api/package.json index c8669439dc4..d00af1d88b4 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api", - "version": "3.2.19", + "version": "3.2.20", "description": "Api category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,8 +44,8 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-graphql": "1.2.19", - "@aws-amplify/api-rest": "1.2.19" + "@aws-amplify/api-graphql": "1.2.20", + "@aws-amplify/api-rest": "1.2.20" }, "jest": { "globals": { diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index 228d1fdc326..9668b829dbd 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.4.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.19...@aws-amplify/auth@3.4.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/auth + + + + + ## [3.4.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.18...@aws-amplify/auth@3.4.19) (2021-02-01) **Note:** Version bump only for package @aws-amplify/auth diff --git a/packages/auth/package.json b/packages/auth/package.json index d82dab023e5..05291f2b0fe 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/auth", - "version": "3.4.19", + "version": "3.4.20", "description": "Auth category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,9 +41,9 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.44", - "@aws-amplify/core": "3.8.11", - "amazon-cognito-identity-js": "4.5.9", + "@aws-amplify/cache": "3.1.45", + "@aws-amplify/core": "3.8.12", + "amazon-cognito-identity-js": "4.5.10", "crypto-js": "^3.3.0" }, "devDependencies": { diff --git a/packages/aws-amplify-angular/CHANGELOG.md b/packages/aws-amplify-angular/CHANGELOG.md index c12c3c05ef8..4638f576348 100644 --- a/packages/aws-amplify-angular/CHANGELOG.md +++ b/packages/aws-amplify-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.46](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.45...aws-amplify-angular@5.0.46) (2021-02-03) + +**Note:** Version bump only for package aws-amplify-angular + + + + + ## [5.0.45](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.44...aws-amplify-angular@5.0.45) (2021-02-01) **Note:** Version bump only for package aws-amplify-angular diff --git a/packages/aws-amplify-angular/package.json b/packages/aws-amplify-angular/package.json index 82860042041..847e5f907ea 100644 --- a/packages/aws-amplify-angular/package.json +++ b/packages/aws-amplify-angular/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-angular", - "version": "5.0.45", + "version": "5.0.46", "description": "AWS Amplify Angular Components", "main": "bundles/aws-amplify-angular.umd.js", "module": "dist/index.js", @@ -39,7 +39,7 @@ "@types/zen-observable": "^0.5.3", "angular2-template-loader": "^0.6.2", "awesome-typescript-loader": "^4.0.1", - "aws-amplify": "3.3.16", + "aws-amplify": "3.3.17", "babel-core": "^6.26.3", "babel-plugin-lodash": "^3.3.4", "babel-preset-env": "^1.7.0", diff --git a/packages/aws-amplify-react/CHANGELOG.md b/packages/aws-amplify-react/CHANGELOG.md index 429fb7194c6..60d4ff54453 100644 --- a/packages/aws-amplify-react/CHANGELOG.md +++ b/packages/aws-amplify-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.2.21](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.20...aws-amplify-react@4.2.21) (2021-02-03) + +**Note:** Version bump only for package aws-amplify-react + + + + + ## [4.2.20](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.19...aws-amplify-react@4.2.20) (2021-02-01) **Note:** Version bump only for package aws-amplify-react diff --git a/packages/aws-amplify-react/package.json b/packages/aws-amplify-react/package.json index 34282fbcfcf..bb9d865a909 100644 --- a/packages/aws-amplify-react/package.json +++ b/packages/aws-amplify-react/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-react", - "version": "4.2.20", + "version": "4.2.21", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -38,7 +38,7 @@ "@types/enzyme-adapter-react-16": "^1.0.3", "@types/react": "^16.0.41", "@types/react-dom": "^16.0.11", - "aws-amplify": "3.3.16", + "aws-amplify": "3.3.17", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.3", "enzyme-to-json": "^3.2.1", diff --git a/packages/aws-amplify/CHANGELOG.md b/packages/aws-amplify/CHANGELOG.md index 9bd77a3d502..57f4828f6b3 100644 --- a/packages/aws-amplify/CHANGELOG.md +++ b/packages/aws-amplify/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.17](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.16...aws-amplify@3.3.17) (2021-02-03) + +**Note:** Version bump only for package aws-amplify + + + + + ## [3.3.16](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.15...aws-amplify@3.3.16) (2021-02-01) **Note:** Version bump only for package aws-amplify diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index 40338b1ce3e..5484960cce5 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify", - "version": "3.3.16", + "version": "3.3.17", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -34,18 +34,18 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/analytics": "4.0.7", - "@aws-amplify/api": "3.2.19", - "@aws-amplify/auth": "3.4.19", - "@aws-amplify/cache": "3.1.44", - "@aws-amplify/core": "3.8.11", - "@aws-amplify/datastore": "2.9.5", - "@aws-amplify/interactions": "3.3.19", - "@aws-amplify/predictions": "3.2.19", - "@aws-amplify/pubsub": "3.2.17", - "@aws-amplify/storage": "3.3.19", + "@aws-amplify/analytics": "4.0.8", + "@aws-amplify/api": "3.2.20", + "@aws-amplify/auth": "3.4.20", + "@aws-amplify/cache": "3.1.45", + "@aws-amplify/core": "3.8.12", + "@aws-amplify/datastore": "2.9.6", + "@aws-amplify/interactions": "3.3.20", + "@aws-amplify/predictions": "3.2.20", + "@aws-amplify/pubsub": "3.2.18", + "@aws-amplify/storage": "3.3.20", "@aws-amplify/ui": "2.0.2", - "@aws-amplify/xr": "2.2.19" + "@aws-amplify/xr": "2.2.20" }, "jest": { "globals": { diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index e5b366c4003..474925d2176 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.45](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.44...@aws-amplify/cache@3.1.45) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/cache + + + + + ## [3.1.44](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.43...@aws-amplify/cache@3.1.44) (2021-02-01) **Note:** Version bump only for package @aws-amplify/cache diff --git a/packages/cache/package.json b/packages/cache/package.json index 578a2258ac0..3557651b731 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/cache", - "version": "3.1.44", + "version": "3.1.45", "description": "Cache category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,7 +44,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.11" + "@aws-amplify/core": "3.8.12" }, "jest": { "globals": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index a3334235995..5fefa60d49f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.8.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.11...@aws-amplify/core@3.8.12) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/core + + + + + ## [3.8.11](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.10...@aws-amplify/core@3.8.11) (2021-02-01) **Note:** Version bump only for package @aws-amplify/core diff --git a/packages/core/package.json b/packages/core/package.json index 3c6615e4318..cca4b4ef53d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/core", - "version": "3.8.11", + "version": "3.8.12", "description": "Core category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", diff --git a/packages/datastore/CHANGELOG.md b/packages/datastore/CHANGELOG.md index a7ac8d0972a..409b852dd97 100644 --- a/packages/datastore/CHANGELOG.md +++ b/packages/datastore/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.9.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.5...@aws-amplify/datastore@2.9.6) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/datastore + + + + + ## [2.9.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.4...@aws-amplify/datastore@2.9.5) (2021-02-01) **Note:** Version bump only for package @aws-amplify/datastore diff --git a/packages/datastore/package.json b/packages/datastore/package.json index 2d3fd1f09ae..86e6132fcb3 100644 --- a/packages/datastore/package.json +++ b/packages/datastore/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/datastore", - "version": "2.9.5", + "version": "2.9.6", "description": "AppSyncLocal support for aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -48,9 +48,9 @@ "fake-indexeddb": "3.0.0" }, "dependencies": { - "@aws-amplify/api": "3.2.19", - "@aws-amplify/core": "3.8.11", - "@aws-amplify/pubsub": "3.2.17", + "@aws-amplify/api": "3.2.20", + "@aws-amplify/core": "3.8.12", + "@aws-amplify/pubsub": "3.2.18", "idb": "5.0.6", "immer": "8.0.1", "ulid": "2.3.0", diff --git a/packages/interactions/CHANGELOG.md b/packages/interactions/CHANGELOG.md index 508ea792f03..6e29871bfb7 100644 --- a/packages/interactions/CHANGELOG.md +++ b/packages/interactions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.19...@aws-amplify/interactions@3.3.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/interactions + + + + + ## [3.3.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.18...@aws-amplify/interactions@3.3.19) (2021-02-01) **Note:** Version bump only for package @aws-amplify/interactions diff --git a/packages/interactions/package.json b/packages/interactions/package.json index 8f6a5d32c31..940b9926797 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/interactions", - "version": "3.3.19", + "version": "3.3.20", "description": "Interactions category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.11", + "@aws-amplify/core": "3.8.12", "@aws-sdk/client-lex-runtime-service": "1.0.0-rc.4" }, "jest": { diff --git a/packages/predictions/CHANGELOG.md b/packages/predictions/CHANGELOG.md index 990ac9e72e6..9e91a02ae23 100644 --- a/packages/predictions/CHANGELOG.md +++ b/packages/predictions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.19...@aws-amplify/predictions@3.2.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/predictions + + + + + ## [3.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.18...@aws-amplify/predictions@3.2.19) (2021-02-01) **Note:** Version bump only for package @aws-amplify/predictions diff --git a/packages/predictions/package.json b/packages/predictions/package.json index a1da63de356..927450ab652 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/predictions", - "version": "3.2.19", + "version": "3.2.20", "description": "Machine learning category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -40,8 +40,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.11", - "@aws-amplify/storage": "3.3.19", + "@aws-amplify/core": "3.8.12", + "@aws-amplify/storage": "3.3.20", "@aws-sdk/client-comprehend": "1.0.0-rc.4", "@aws-sdk/client-polly": "1.0.0-rc.4", "@aws-sdk/client-rekognition": "1.0.0-rc.4", diff --git a/packages/pubsub/CHANGELOG.md b/packages/pubsub/CHANGELOG.md index 911aa5b0001..8ce60eeda3d 100644 --- a/packages/pubsub/CHANGELOG.md +++ b/packages/pubsub/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.17...@aws-amplify/pubsub@3.2.18) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/pubsub + + + + + ## [3.2.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.16...@aws-amplify/pubsub@3.2.17) (2021-02-01) **Note:** Version bump only for package @aws-amplify/pubsub diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index 261cba2bdd6..dc6319e8eb4 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pubsub", - "version": "3.2.17", + "version": "3.2.18", "description": "Pubsub category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -45,9 +45,9 @@ "cpx": "^1.5.0" }, "dependencies": { - "@aws-amplify/auth": "3.4.19", - "@aws-amplify/cache": "3.1.44", - "@aws-amplify/core": "3.8.11", + "@aws-amplify/auth": "3.4.20", + "@aws-amplify/cache": "3.1.45", + "@aws-amplify/core": "3.8.12", "graphql": "14.0.0", "paho-mqtt": "^1.1.0", "uuid": "^3.2.1", diff --git a/packages/pushnotification/CHANGELOG.md b/packages/pushnotification/CHANGELOG.md index 343017df21c..959b7289ba6 100644 --- a/packages/pushnotification/CHANGELOG.md +++ b/packages/pushnotification/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.19...@aws-amplify/pushnotification@3.2.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/pushnotification + + + + + ## [3.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.18...@aws-amplify/pushnotification@3.2.19) (2021-02-01) **Note:** Version bump only for package @aws-amplify/pushnotification diff --git a/packages/pushnotification/package.json b/packages/pushnotification/package.json index 205b35869d8..982a4fe19be 100644 --- a/packages/pushnotification/package.json +++ b/packages/pushnotification/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pushnotification", - "version": "3.2.19", + "version": "3.2.20", "description": "Push notifications category of aws-amplify", "main": "./lib/index.js", "module": "./lib/index.js", @@ -44,7 +44,7 @@ "webpack": "^3.5.5" }, "dependencies": { - "@aws-amplify/core": "3.8.11", + "@aws-amplify/core": "3.8.12", "@react-native-community/push-notification-ios": "1.0.3" }, "peerdependencies": { diff --git a/packages/storage/CHANGELOG.md b/packages/storage/CHANGELOG.md index c7993bf324d..1a665373be0 100644 --- a/packages/storage/CHANGELOG.md +++ b/packages/storage/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.19...@aws-amplify/storage@3.3.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/storage + + + + + ## [3.3.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.18...@aws-amplify/storage@3.3.19) (2021-02-01) **Note:** Version bump only for package @aws-amplify/storage diff --git a/packages/storage/package.json b/packages/storage/package.json index fef5a169bc9..aa69df641d4 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/storage", - "version": "3.3.19", + "version": "3.3.20", "description": "Storage category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.11", + "@aws-amplify/core": "3.8.12", "@aws-sdk/client-s3": "1.0.0-rc.4", "@aws-sdk/s3-request-presigner": "1.0.0-rc.4", "@aws-sdk/util-create-request": "1.0.0-rc.4", diff --git a/packages/xr/CHANGELOG.md b/packages/xr/CHANGELOG.md index d44d1cd71d1..e0c69bd7d82 100644 --- a/packages/xr/CHANGELOG.md +++ b/packages/xr/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.19...@aws-amplify/xr@2.2.20) (2021-02-03) + +**Note:** Version bump only for package @aws-amplify/xr + + + + + ## [2.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.18...@aws-amplify/xr@2.2.19) (2021-02-01) **Note:** Version bump only for package @aws-amplify/xr diff --git a/packages/xr/package.json b/packages/xr/package.json index a29d260075e..6549675129c 100644 --- a/packages/xr/package.json +++ b/packages/xr/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/xr", - "version": "2.2.19", + "version": "2.2.20", "description": "XR category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.11" + "@aws-amplify/core": "3.8.12" }, "jest": { "globals": { From 1ea1d05976f5139e819561b28091a072c7062142 Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Wed, 3 Feb 2021 20:52:50 +0000 Subject: [PATCH 20/35] chore(release): update version.ts [ci skip] --- packages/core/src/Platform/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/Platform/version.ts b/packages/core/src/Platform/version.ts index 63e82c7962c..ae21238ad39 100644 --- a/packages/core/src/Platform/version.ts +++ b/packages/core/src/Platform/version.ts @@ -1,2 +1,2 @@ // generated by genversion -export const version = '3.8.11'; +export const version = '3.8.12'; From 566b569b4256e82aa9ac3f682f33cfe08c8597e2 Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Thu, 4 Feb 2021 10:31:05 -0800 Subject: [PATCH 21/35] chore: bump aws-sdk to 3.4.1 (#7674) * chore: bump aws-sdk to 3.4.1 * code changes for SDK upgrade * remove url parser * update bundle size check --- .../bundle-size-action/webpack/package.json | 8 ++++---- .../bundle-size-action/webpack4/package.json | 2 +- packages/analytics/package.json | 10 +++++----- .../analytics/src/Providers/AWSPinpointProvider.ts | 2 +- packages/core/package.json | 8 ++++---- packages/interactions/package.json | 2 +- packages/predictions/package.json | 14 +++++++------- packages/storage/package.json | 8 ++++---- .../src/providers/AWSS3ProviderManagedUpload.ts | 2 -- .../storage/src/providers/axios-http-handler.ts | 4 ++-- 10 files changed, 29 insertions(+), 31 deletions(-) diff --git a/.github/actions/bundle-size-action/webpack/package.json b/.github/actions/bundle-size-action/webpack/package.json index 485aa245ad8..ff593366b50 100644 --- a/.github/actions/bundle-size-action/webpack/package.json +++ b/.github/actions/bundle-size-action/webpack/package.json @@ -31,11 +31,11 @@ }, { "path": "dist/Amplify+Auth.js.min.js", - "maxSize": "70kB" + "maxSize": "75kB" }, { "path": "dist/Amplify+Auth+Storage.js.min.js", - "maxSize": "110kB" + "maxSize": "115kB" }, { "path": "dist/Amplify+Storage.js.min.js", @@ -43,11 +43,11 @@ }, { "path": "dist/withSSRContext.js.min.js", - "maxSize": "140kB" + "maxSize": "145kB" }, { "path": "dist/withSSRContext+Storage.js.min.js", - "maxSize": "175kB" + "maxSize": "180kB" } ] }, diff --git a/.github/actions/bundle-size-action/webpack4/package.json b/.github/actions/bundle-size-action/webpack4/package.json index 779d595bcae..28cac33a403 100644 --- a/.github/actions/bundle-size-action/webpack4/package.json +++ b/.github/actions/bundle-size-action/webpack4/package.json @@ -27,7 +27,7 @@ }, { "path": "dist/Amplify+Auth.js.min.js", - "maxSize": "200kB" + "maxSize": "215kB" } ] }, diff --git a/packages/analytics/package.json b/packages/analytics/package.json index 530013f04ed..9b42c986dbd 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -45,11 +45,11 @@ "dependencies": { "@aws-amplify/cache": "3.1.45", "@aws-amplify/core": "3.8.12", - "@aws-sdk/client-firehose": "1.0.0-rc.4", - "@aws-sdk/client-kinesis": "1.0.0-rc.4", - "@aws-sdk/client-personalize-events": "1.0.0-rc.4", - "@aws-sdk/client-pinpoint": "1.0.0-rc.4", - "@aws-sdk/util-utf8-browser": "1.0.0-rc.3", + "@aws-sdk/client-firehose": "^3.4.1", + "@aws-sdk/client-kinesis": "^3.4.1", + "@aws-sdk/client-personalize-events": "^3.4.1", + "@aws-sdk/client-pinpoint": "^3.4.1", + "@aws-sdk/util-utf8-browser": "^3.4.1", "lodash": "^4.17.20", "uuid": "^3.2.1" }, diff --git a/packages/analytics/src/Providers/AWSPinpointProvider.ts b/packages/analytics/src/Providers/AWSPinpointProvider.ts index cd4a2682049..29b4c95ecd1 100644 --- a/packages/analytics/src/Providers/AWSPinpointProvider.ts +++ b/packages/analytics/src/Providers/AWSPinpointProvider.ts @@ -21,12 +21,12 @@ import { getAmplifyUserAgent, } from '@aws-amplify/core'; import { + EventsBatch, PinpointClient, PutEventsCommand, PutEventsCommandInput, UpdateEndpointCommand, } from '@aws-sdk/client-pinpoint'; -import { EventsBatch } from '@aws-sdk/client-pinpoint/models'; import Cache from '@aws-amplify/cache'; import { diff --git a/packages/core/package.json b/packages/core/package.json index cca4b4ef53d..d6627450f3a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -55,10 +55,10 @@ }, "dependencies": { "@aws-crypto/sha256-js": "1.0.0-alpha.0", - "@aws-sdk/client-cognito-identity": "1.0.0-rc.4", - "@aws-sdk/credential-provider-cognito-identity": "1.0.0-rc.4", - "@aws-sdk/types": "1.0.0-rc.3", - "@aws-sdk/util-hex-encoding": "1.0.0-rc.3", + "@aws-sdk/client-cognito-identity": "^3.4.1", + "@aws-sdk/credential-provider-cognito-identity": "^3.4.1", + "@aws-sdk/types": "^3.4.1", + "@aws-sdk/util-hex-encoding": "^3.4.1", "universal-cookie": "^4.0.4", "zen-observable-ts": "0.8.19" }, diff --git a/packages/interactions/package.json b/packages/interactions/package.json index 940b9926797..35807208751 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -42,7 +42,7 @@ "homepage": "https://aws-amplify.github.io/", "dependencies": { "@aws-amplify/core": "3.8.12", - "@aws-sdk/client-lex-runtime-service": "1.0.0-rc.4" + "@aws-sdk/client-lex-runtime-service": "^3.4.1" }, "jest": { "globals": { diff --git a/packages/predictions/package.json b/packages/predictions/package.json index 927450ab652..264bb49471e 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -42,13 +42,13 @@ "dependencies": { "@aws-amplify/core": "3.8.12", "@aws-amplify/storage": "3.3.20", - "@aws-sdk/client-comprehend": "1.0.0-rc.4", - "@aws-sdk/client-polly": "1.0.0-rc.4", - "@aws-sdk/client-rekognition": "1.0.0-rc.4", - "@aws-sdk/client-textract": "1.0.0-rc.4", - "@aws-sdk/client-translate": "1.0.0-rc.4", - "@aws-sdk/eventstream-marshaller": "1.0.0-rc.3", - "@aws-sdk/util-utf8-node": "1.0.0-rc.3", + "@aws-sdk/client-comprehend": "^3.4.1", + "@aws-sdk/client-polly": "^3.4.1", + "@aws-sdk/client-rekognition": "^3.4.1", + "@aws-sdk/client-textract": "^3.4.1", + "@aws-sdk/client-translate": "^3.4.1", + "@aws-sdk/eventstream-marshaller": "^3.4.1", + "@aws-sdk/util-utf8-node": "^3.4.1", "uuid": "^3.2.1" }, "jest": { diff --git a/packages/storage/package.json b/packages/storage/package.json index aa69df641d4..d83a91af32c 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -42,10 +42,10 @@ "homepage": "https://aws-amplify.github.io/", "dependencies": { "@aws-amplify/core": "3.8.12", - "@aws-sdk/client-s3": "1.0.0-rc.4", - "@aws-sdk/s3-request-presigner": "1.0.0-rc.4", - "@aws-sdk/util-create-request": "1.0.0-rc.4", - "@aws-sdk/util-format-url": "1.0.0-rc.4", + "@aws-sdk/client-s3": "^3.4.1", + "@aws-sdk/s3-request-presigner": "^3.4.1", + "@aws-sdk/util-create-request": "^3.4.1", + "@aws-sdk/util-format-url": "^3.4.1", "axios": "0.21.1", "events": "^3.1.0", "sinon": "^7.5.0" diff --git a/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts b/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts index 59176fe59c6..4aea64c97e0 100644 --- a/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts +++ b/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts @@ -31,7 +31,6 @@ import { } from '@aws-sdk/client-s3'; import { AxiosHttpHandler, SEND_PROGRESS_EVENT } from './axios-http-handler'; import * as events from 'events'; -import { parseUrl } from '@aws-sdk/url-parser-node'; import { streamCollector } from '@aws-sdk/fetch-http-handler'; const logger = new Logger('AWSS3ProviderManagedUpload'); @@ -350,7 +349,6 @@ export class AWSS3ProviderManagedUpload { ...localTestingConfig, requestHandler: new AxiosHttpHandler({}, emitter), customUserAgent: getAmplifyUserAgent(), - urlParser: parseUrl, }); client.middlewareStack.remove(SET_CONTENT_LENGTH_HEADER); return client; diff --git a/packages/storage/src/providers/axios-http-handler.ts b/packages/storage/src/providers/axios-http-handler.ts index 592e94c0a3d..feebb586261 100644 --- a/packages/storage/src/providers/axios-http-handler.ts +++ b/packages/storage/src/providers/axios-http-handler.ts @@ -16,14 +16,14 @@ import { HttpHandler, HttpRequest, HttpResponse } from '@aws-sdk/protocol-http'; import { buildQueryString } from '@aws-sdk/querystring-builder'; import axios, { AxiosRequestConfig, Method } from 'axios'; import { ConsoleLogger as Logger } from '@aws-amplify/core'; -import { BrowserHttpOptions } from '@aws-sdk/fetch-http-handler'; +import { FetchHttpHandlerOptions } from '@aws-sdk/fetch-http-handler'; const logger = new Logger('axios-http-handler'); export const SEND_PROGRESS_EVENT = 'sendProgress'; export class AxiosHttpHandler implements HttpHandler { constructor( - private readonly httpOptions: BrowserHttpOptions = {}, + private readonly httpOptions: FetchHttpHandlerOptions = {}, private readonly emitter?: any ) {} From f1423144cf73304f3dc048233b35c831c9a1742d Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Tue, 9 Feb 2021 10:10:56 -0800 Subject: [PATCH 22/35] Revert "chore: bump aws-sdk to 3.4.1 (#7674)" (#7716) This reverts commit 566b569b4256e82aa9ac3f682f33cfe08c8597e2. --- .../bundle-size-action/webpack/package.json | 8 ++++---- .../bundle-size-action/webpack4/package.json | 2 +- packages/analytics/package.json | 10 +++++----- .../analytics/src/Providers/AWSPinpointProvider.ts | 2 +- packages/core/package.json | 8 ++++---- packages/interactions/package.json | 2 +- packages/predictions/package.json | 14 +++++++------- packages/storage/package.json | 8 ++++---- .../src/providers/AWSS3ProviderManagedUpload.ts | 2 ++ .../storage/src/providers/axios-http-handler.ts | 4 ++-- 10 files changed, 31 insertions(+), 29 deletions(-) diff --git a/.github/actions/bundle-size-action/webpack/package.json b/.github/actions/bundle-size-action/webpack/package.json index ff593366b50..485aa245ad8 100644 --- a/.github/actions/bundle-size-action/webpack/package.json +++ b/.github/actions/bundle-size-action/webpack/package.json @@ -31,11 +31,11 @@ }, { "path": "dist/Amplify+Auth.js.min.js", - "maxSize": "75kB" + "maxSize": "70kB" }, { "path": "dist/Amplify+Auth+Storage.js.min.js", - "maxSize": "115kB" + "maxSize": "110kB" }, { "path": "dist/Amplify+Storage.js.min.js", @@ -43,11 +43,11 @@ }, { "path": "dist/withSSRContext.js.min.js", - "maxSize": "145kB" + "maxSize": "140kB" }, { "path": "dist/withSSRContext+Storage.js.min.js", - "maxSize": "180kB" + "maxSize": "175kB" } ] }, diff --git a/.github/actions/bundle-size-action/webpack4/package.json b/.github/actions/bundle-size-action/webpack4/package.json index 28cac33a403..779d595bcae 100644 --- a/.github/actions/bundle-size-action/webpack4/package.json +++ b/.github/actions/bundle-size-action/webpack4/package.json @@ -27,7 +27,7 @@ }, { "path": "dist/Amplify+Auth.js.min.js", - "maxSize": "215kB" + "maxSize": "200kB" } ] }, diff --git a/packages/analytics/package.json b/packages/analytics/package.json index 9b42c986dbd..530013f04ed 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -45,11 +45,11 @@ "dependencies": { "@aws-amplify/cache": "3.1.45", "@aws-amplify/core": "3.8.12", - "@aws-sdk/client-firehose": "^3.4.1", - "@aws-sdk/client-kinesis": "^3.4.1", - "@aws-sdk/client-personalize-events": "^3.4.1", - "@aws-sdk/client-pinpoint": "^3.4.1", - "@aws-sdk/util-utf8-browser": "^3.4.1", + "@aws-sdk/client-firehose": "1.0.0-rc.4", + "@aws-sdk/client-kinesis": "1.0.0-rc.4", + "@aws-sdk/client-personalize-events": "1.0.0-rc.4", + "@aws-sdk/client-pinpoint": "1.0.0-rc.4", + "@aws-sdk/util-utf8-browser": "1.0.0-rc.3", "lodash": "^4.17.20", "uuid": "^3.2.1" }, diff --git a/packages/analytics/src/Providers/AWSPinpointProvider.ts b/packages/analytics/src/Providers/AWSPinpointProvider.ts index 29b4c95ecd1..cd4a2682049 100644 --- a/packages/analytics/src/Providers/AWSPinpointProvider.ts +++ b/packages/analytics/src/Providers/AWSPinpointProvider.ts @@ -21,12 +21,12 @@ import { getAmplifyUserAgent, } from '@aws-amplify/core'; import { - EventsBatch, PinpointClient, PutEventsCommand, PutEventsCommandInput, UpdateEndpointCommand, } from '@aws-sdk/client-pinpoint'; +import { EventsBatch } from '@aws-sdk/client-pinpoint/models'; import Cache from '@aws-amplify/cache'; import { diff --git a/packages/core/package.json b/packages/core/package.json index d6627450f3a..cca4b4ef53d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -55,10 +55,10 @@ }, "dependencies": { "@aws-crypto/sha256-js": "1.0.0-alpha.0", - "@aws-sdk/client-cognito-identity": "^3.4.1", - "@aws-sdk/credential-provider-cognito-identity": "^3.4.1", - "@aws-sdk/types": "^3.4.1", - "@aws-sdk/util-hex-encoding": "^3.4.1", + "@aws-sdk/client-cognito-identity": "1.0.0-rc.4", + "@aws-sdk/credential-provider-cognito-identity": "1.0.0-rc.4", + "@aws-sdk/types": "1.0.0-rc.3", + "@aws-sdk/util-hex-encoding": "1.0.0-rc.3", "universal-cookie": "^4.0.4", "zen-observable-ts": "0.8.19" }, diff --git a/packages/interactions/package.json b/packages/interactions/package.json index 35807208751..940b9926797 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -42,7 +42,7 @@ "homepage": "https://aws-amplify.github.io/", "dependencies": { "@aws-amplify/core": "3.8.12", - "@aws-sdk/client-lex-runtime-service": "^3.4.1" + "@aws-sdk/client-lex-runtime-service": "1.0.0-rc.4" }, "jest": { "globals": { diff --git a/packages/predictions/package.json b/packages/predictions/package.json index 264bb49471e..927450ab652 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -42,13 +42,13 @@ "dependencies": { "@aws-amplify/core": "3.8.12", "@aws-amplify/storage": "3.3.20", - "@aws-sdk/client-comprehend": "^3.4.1", - "@aws-sdk/client-polly": "^3.4.1", - "@aws-sdk/client-rekognition": "^3.4.1", - "@aws-sdk/client-textract": "^3.4.1", - "@aws-sdk/client-translate": "^3.4.1", - "@aws-sdk/eventstream-marshaller": "^3.4.1", - "@aws-sdk/util-utf8-node": "^3.4.1", + "@aws-sdk/client-comprehend": "1.0.0-rc.4", + "@aws-sdk/client-polly": "1.0.0-rc.4", + "@aws-sdk/client-rekognition": "1.0.0-rc.4", + "@aws-sdk/client-textract": "1.0.0-rc.4", + "@aws-sdk/client-translate": "1.0.0-rc.4", + "@aws-sdk/eventstream-marshaller": "1.0.0-rc.3", + "@aws-sdk/util-utf8-node": "1.0.0-rc.3", "uuid": "^3.2.1" }, "jest": { diff --git a/packages/storage/package.json b/packages/storage/package.json index d83a91af32c..aa69df641d4 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -42,10 +42,10 @@ "homepage": "https://aws-amplify.github.io/", "dependencies": { "@aws-amplify/core": "3.8.12", - "@aws-sdk/client-s3": "^3.4.1", - "@aws-sdk/s3-request-presigner": "^3.4.1", - "@aws-sdk/util-create-request": "^3.4.1", - "@aws-sdk/util-format-url": "^3.4.1", + "@aws-sdk/client-s3": "1.0.0-rc.4", + "@aws-sdk/s3-request-presigner": "1.0.0-rc.4", + "@aws-sdk/util-create-request": "1.0.0-rc.4", + "@aws-sdk/util-format-url": "1.0.0-rc.4", "axios": "0.21.1", "events": "^3.1.0", "sinon": "^7.5.0" diff --git a/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts b/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts index 4aea64c97e0..59176fe59c6 100644 --- a/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts +++ b/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts @@ -31,6 +31,7 @@ import { } from '@aws-sdk/client-s3'; import { AxiosHttpHandler, SEND_PROGRESS_EVENT } from './axios-http-handler'; import * as events from 'events'; +import { parseUrl } from '@aws-sdk/url-parser-node'; import { streamCollector } from '@aws-sdk/fetch-http-handler'; const logger = new Logger('AWSS3ProviderManagedUpload'); @@ -349,6 +350,7 @@ export class AWSS3ProviderManagedUpload { ...localTestingConfig, requestHandler: new AxiosHttpHandler({}, emitter), customUserAgent: getAmplifyUserAgent(), + urlParser: parseUrl, }); client.middlewareStack.remove(SET_CONTENT_LENGTH_HEADER); return client; diff --git a/packages/storage/src/providers/axios-http-handler.ts b/packages/storage/src/providers/axios-http-handler.ts index feebb586261..592e94c0a3d 100644 --- a/packages/storage/src/providers/axios-http-handler.ts +++ b/packages/storage/src/providers/axios-http-handler.ts @@ -16,14 +16,14 @@ import { HttpHandler, HttpRequest, HttpResponse } from '@aws-sdk/protocol-http'; import { buildQueryString } from '@aws-sdk/querystring-builder'; import axios, { AxiosRequestConfig, Method } from 'axios'; import { ConsoleLogger as Logger } from '@aws-amplify/core'; -import { FetchHttpHandlerOptions } from '@aws-sdk/fetch-http-handler'; +import { BrowserHttpOptions } from '@aws-sdk/fetch-http-handler'; const logger = new Logger('axios-http-handler'); export const SEND_PROGRESS_EVENT = 'sendProgress'; export class AxiosHttpHandler implements HttpHandler { constructor( - private readonly httpOptions: FetchHttpHandlerOptions = {}, + private readonly httpOptions: BrowserHttpOptions = {}, private readonly emitter?: any ) {} From 3f4e06e495fd202bb643ce77bf6e6b61b9ed9cb1 Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Tue, 9 Feb 2021 10:22:55 -0800 Subject: [PATCH 23/35] chore: add RN storage multi-part w/ progress to CircleCI (#7694) * chore: add RN storage multi-part w/ progress to CircleCI --- .circleci/config.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 13f689a12f7..85decf1e80d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -583,6 +583,13 @@ jobs: steps: - integ_test_rn_ios + integ_rn_ios_storage_multipart_progress: + executor: macos-executor + <<: *test_env_vars + working_directory: ~/amplify-js-samples-staging/samples/react-native/storage/MultiPartUploadWithProgress + steps: + - integ_test_rn_ios + integ_rn_ios_push_notifications: executor: macos-executor <<: *test_env_vars @@ -597,6 +604,13 @@ jobs: steps: - integ_test_rn_android + integ_rn_android_storage_multipart_progress: + executor: macos-executor + <<: *test_env_vars + working_directory: ~/amplify-js-samples-staging/samples/react-native/storage/MultiPartUploadWithProgress + steps: + - integ_test_rn_android + integ_datastore_auth: parameters: scenario: @@ -805,6 +819,12 @@ workflows: - build filters: <<: *releasable_branches + - integ_rn_ios_storage_multipart_progress: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches - integ_rn_ios_push_notifications: requires: - integ_setup @@ -817,6 +837,12 @@ workflows: - build filters: <<: *releasable_branches + - integ_rn_android_storage_multipart_progress: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches - integ_datastore_auth: requires: - integ_setup @@ -843,8 +869,12 @@ workflows: - integ_angular_auth - integ_vue_auth - integ_rn_ios_storage + # Removing this until AWS SDK issue is resolved: https://github.com/aws/aws-sdk-js-v3/issues/2000 + # - integ_rn_ios_storage_multipart_progress - integ_rn_ios_push_notifications - integ_rn_android_storage + # Removing this until AWS SDK issue is resolved: https://github.com/aws/aws-sdk-js-v3/issues/2000 + # - integ_rn_android_storage_multipart_progress - integ_datastore_auth - post_release: filters: From 0fc0fc29feaee5b9b86709571e71f14335c6095b Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Tue, 9 Feb 2021 10:34:36 -0800 Subject: [PATCH 24/35] chore: add storage multi-part w/ progress to CircleCI (#7691) * chore: add storage multi-part w/ progress to CircleCI --- .circleci/config.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 85decf1e80d..33b63a48422 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -547,6 +547,22 @@ jobs: sample_name: storageApp spec: storage browser: << parameters.browser >> + integ_react_storage_multipart_progress: + parameters: + browser: + type: string + executor: js-test-executor + <<: *test_env_vars + working_directory: ~/amplify-js-samples-staging/samples/react/storage/multi-part-upload-with-progress + steps: + - prepare_test_env + - integ_test_js: + test_name: 'React Storage Multi-Part Upload with Progress' + framework: react + category: storage + sample_name: multi-part-upload-with-progress + spec: multi-part-upload-with-progress + browser: << parameters.browser >> integ_react_storage_ui: executor: js-test-executor <<: *test_env_vars @@ -798,6 +814,15 @@ workflows: matrix: parameters: <<: *test_browsers + - integ_react_storage_multipart_progress: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers - integ_react_storage_ui: requires: - integ_setup @@ -860,6 +885,8 @@ workflows: - integ_react_predictions - integ_react_datastore - integ_react_storage + # Removing this until AWS SDK issue is resolved: https://github.com/aws/aws-sdk-js-v3/issues/2000 + # - integ_react_storage_multipart_progress - integ_react_storage_ui - integ_react_interactions - integ_angular_interactions From feae503ba2ad22738e4a16639441f4dec6077f7a Mon Sep 17 00:00:00 2001 From: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Date: Tue, 9 Feb 2021 14:05:05 -0500 Subject: [PATCH 25/35] fix(@aws-amplify/datastore): align AWSTime validation with AppSync (#7717) * fix(@aws-amplify/datastore): align AWSDateTime validation with AppSync * replace email address in unit test --- packages/datastore/__tests__/util.test.ts | 52 +++++++---------------- packages/datastore/src/util.ts | 4 +- 2 files changed, 18 insertions(+), 38 deletions(-) diff --git a/packages/datastore/__tests__/util.test.ts b/packages/datastore/__tests__/util.test.ts index 6e5f747c4eb..d3ef3109077 100644 --- a/packages/datastore/__tests__/util.test.ts +++ b/packages/datastore/__tests__/util.test.ts @@ -8,7 +8,7 @@ import { isAWSURL, isAWSPhone, isAWSIPAddress, -} from "../src/util"; +} from '../src/util'; describe('datastore util', () => { test('isAWSDate', () => { @@ -43,6 +43,10 @@ describe('datastore util', () => { '12:30', '12:30Z', '12:30:24Z', + '12:30:24.1Z', + '12:30:24.12Z', + '12:30:24.123Z', + '12:30:24.1234Z', '12:30:24-07:00', '12:30:24.500+05:30', '12:30:24.500+05:30:00', @@ -72,6 +76,11 @@ describe('datastore util', () => { '2021-01-11T12:30', '2021-01-11T12:30Z', '2021-01-11T12:30:24Z', + '2021-01-11T12:30:24.5Z', + '2021-01-11T12:30:24.50Z', + '2021-01-11T12:30:24.500Z', + '2021-01-11T12:30:24.5000Z', + '2021-02-09T06:19:04.49Z', '2021-01-11T12:30:24-07:00', '2021-01-11T12:30:24.500+05:30', '2021-01-11T12:30:24.500+05:30:00', @@ -101,18 +110,8 @@ describe('datastore util', () => { }); test('isAWSTimestamp', () => { - const valid = [ - 0, - 123, - 123456, - 123456789, - ]; - const invalid = [ - -1, - -123, - -123456, - -1234567 - ]; + const valid = [0, 123, 123456, 123456789]; + const invalid = [-1, -123, -123456, -1234567]; valid.forEach(test => { expect(isAWSTimestamp(test)).toBe(true); }); @@ -122,11 +121,7 @@ describe('datastore util', () => { }); test('isAWSEmail', () => { - const valid = [ - 'a@b', - 'a@b.c', - 'jeff@amazon.com', - ]; + const valid = ['a@b', 'a@b.c', 'john@doe.com']; const invalid = [ '', '@', @@ -177,17 +172,8 @@ describe('datastore util', () => { }); test('isAWSURL', () => { - const valid = [ - 'http://localhost/', - 'schema://anything', - 'smb://a/b/c?d=e', - ]; - const invalid = [ - '', - '//', - '//example', - 'example', - ]; + const valid = ['http://localhost/', 'schema://anything', 'smb://a/b/c?d=e']; + const invalid = ['', '//', '//example', 'example']; valid.forEach(test => { expect(isAWSURL(test)).toBe(true); }); @@ -204,13 +190,7 @@ describe('datastore util', () => { '123-456-7890', '+44123456789', ]; - const invalid = [ - '', - '+', - '+-', - 'a', - 'bad-number', - ]; + const invalid = ['', '+', '+-', 'a', 'bad-number']; valid.forEach(test => { expect(isAWSPhone(test)).toBe(true); }); diff --git a/packages/datastore/src/util.ts b/packages/datastore/src/util.ts index fb1fa175a3b..81407316463 100644 --- a/packages/datastore/src/util.ts +++ b/packages/datastore/src/util.ts @@ -439,13 +439,13 @@ export const isAWSDate = (val: string): boolean => { }; export const isAWSTime = (val: string): boolean => { - return !!/^\d{2}:\d{2}(:\d{2}(.\d{3})?)?(Z|[+-]\d{2}:\d{2}($|:\d{2}))?$/.exec( + return !!/^\d{2}:\d{2}(:\d{2}(.\d+)?)?(Z|[+-]\d{2}:\d{2}($|:\d{2}))?$/.exec( val ); }; export const isAWSDateTime = (val: string): boolean => { - return !!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(.\d{3})?)?(Z|[+-]\d{2}:\d{2}($|:\d{2}))?$/.exec( + return !!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(.\d+)?)?(Z|[+-]\d{2}:\d{2}($|:\d{2}))?$/.exec( val ); }; From c92231ec9ac0d36c8d82e27904dd6f70eec4524b Mon Sep 17 00:00:00 2001 From: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Date: Tue, 9 Feb 2021 15:37:12 -0500 Subject: [PATCH 26/35] chore: preparing release From b71853de095aa4c926b1c7fd2ded2a34f11d5c4c Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Tue, 9 Feb 2021 21:11:39 +0000 Subject: [PATCH 27/35] chore(release): Publish [ci skip] - @aws-amplify/ui-angular@0.4.21 - @aws-amplify/ui-components@0.10.4 - @aws-amplify/ui-react@0.2.38 - @aws-amplify/ui-storybook@0.2.38 - @aws-amplify/ui-vue@0.3.2 - @aws-amplify/analytics@4.0.9 - @aws-amplify/api-graphql@1.2.21 - @aws-amplify/api-rest@1.2.21 - @aws-amplify/api@3.2.21 - @aws-amplify/auth@3.4.21 - aws-amplify-angular@5.0.47 - aws-amplify-react@4.2.22 - aws-amplify@3.3.18 - @aws-amplify/cache@3.1.46 - @aws-amplify/core@3.8.13 - @aws-amplify/datastore@2.9.7 - @aws-amplify/interactions@3.3.21 - @aws-amplify/predictions@3.2.21 - @aws-amplify/pubsub@3.2.19 - @aws-amplify/pushnotification@3.2.21 - @aws-amplify/storage@3.3.21 - @aws-amplify/xr@2.2.21 --- packages/amplify-ui-angular/CHANGELOG.md | 8 +++++++ packages/amplify-ui-angular/package.json | 4 ++-- packages/amplify-ui-components/CHANGELOG.md | 8 +++++++ packages/amplify-ui-components/package.json | 12 +++++------ packages/amplify-ui-react/CHANGELOG.md | 8 +++++++ packages/amplify-ui-react/package.json | 4 ++-- packages/amplify-ui-storybook/CHANGELOG.md | 8 +++++++ packages/amplify-ui-storybook/package.json | 6 +++--- packages/amplify-ui-vue/CHANGELOG.md | 8 +++++++ packages/amplify-ui-vue/package.json | 4 ++-- packages/analytics/CHANGELOG.md | 11 ++++++++++ packages/analytics/package.json | 6 +++--- packages/api-graphql/CHANGELOG.md | 8 +++++++ packages/api-graphql/package.json | 12 +++++------ packages/api-rest/CHANGELOG.md | 8 +++++++ packages/api-rest/package.json | 4 ++-- packages/api/CHANGELOG.md | 8 +++++++ packages/api/package.json | 6 +++--- packages/auth/CHANGELOG.md | 8 +++++++ packages/auth/package.json | 6 +++--- packages/aws-amplify-angular/CHANGELOG.md | 8 +++++++ packages/aws-amplify-angular/package.json | 4 ++-- packages/aws-amplify-react/CHANGELOG.md | 8 +++++++ packages/aws-amplify-react/package.json | 4 ++-- packages/aws-amplify/CHANGELOG.md | 8 +++++++ packages/aws-amplify/package.json | 24 ++++++++++----------- packages/cache/CHANGELOG.md | 8 +++++++ packages/cache/package.json | 4 ++-- packages/core/CHANGELOG.md | 11 ++++++++++ packages/core/package.json | 2 +- packages/datastore/CHANGELOG.md | 11 ++++++++++ packages/datastore/package.json | 8 +++---- packages/interactions/CHANGELOG.md | 11 ++++++++++ packages/interactions/package.json | 4 ++-- packages/predictions/CHANGELOG.md | 11 ++++++++++ packages/predictions/package.json | 6 +++--- packages/pubsub/CHANGELOG.md | 8 +++++++ packages/pubsub/package.json | 8 +++---- packages/pushnotification/CHANGELOG.md | 8 +++++++ packages/pushnotification/package.json | 4 ++-- packages/storage/CHANGELOG.md | 11 ++++++++++ packages/storage/package.json | 4 ++-- packages/xr/CHANGELOG.md | 8 +++++++ packages/xr/package.json | 4 ++-- 44 files changed, 264 insertions(+), 70 deletions(-) diff --git a/packages/amplify-ui-angular/CHANGELOG.md b/packages/amplify-ui-angular/CHANGELOG.md index 1dc63013451..3c9f9be05fc 100644 --- a/packages/amplify-ui-angular/CHANGELOG.md +++ b/packages/amplify-ui-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.20...@aws-amplify/ui-angular@0.4.21) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/ui-angular + + + + + ## [0.4.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.19...@aws-amplify/ui-angular@0.4.20) (2021-02-03) **Note:** Version bump only for package @aws-amplify/ui-angular diff --git a/packages/amplify-ui-angular/package.json b/packages/amplify-ui-angular/package.json index d98319b0482..c6057964648 100644 --- a/packages/amplify-ui-angular/package.json +++ b/packages/amplify-ui-angular/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-angular", - "version": "0.4.20", + "version": "0.4.21", "description": "Angular specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -31,7 +31,7 @@ "dist/" ], "dependencies": { - "@aws-amplify/ui-components": "0.10.3" + "@aws-amplify/ui-components": "0.10.4" }, "devDependencies": { "@angular/compiler-cli": "^7.2.1", diff --git a/packages/amplify-ui-components/CHANGELOG.md b/packages/amplify-ui-components/CHANGELOG.md index 33965ef4c3e..6159c71d19d 100644 --- a/packages/amplify-ui-components/CHANGELOG.md +++ b/packages/amplify-ui-components/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.10.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.10.3...@aws-amplify/ui-components@0.10.4) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/ui-components + + + + + ## [0.10.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.10.2...@aws-amplify/ui-components@0.10.3) (2021-02-03) diff --git a/packages/amplify-ui-components/package.json b/packages/amplify-ui-components/package.json index 53d85c560f7..42ee0e70dfe 100644 --- a/packages/amplify-ui-components/package.json +++ b/packages/amplify-ui-components/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-components", - "version": "0.10.3", + "version": "0.10.4", "description": "Core Amplify UI Component Library", "module": "dist/index.mjs", "main": "dist/index.js", @@ -35,11 +35,11 @@ "clean": "rimraf dist .stencil" }, "dependencies": { - "@aws-amplify/auth": "3.4.20", - "@aws-amplify/core": "3.8.12", - "@aws-amplify/interactions": "3.3.20", - "@aws-amplify/storage": "3.3.20", - "@aws-amplify/xr": "2.2.20", + "@aws-amplify/auth": "3.4.21", + "@aws-amplify/core": "3.8.13", + "@aws-amplify/interactions": "3.3.21", + "@aws-amplify/storage": "3.3.21", + "@aws-amplify/xr": "2.2.21", "qrcode": "^1.4.4", "uuid": "^8.2.0" }, diff --git a/packages/amplify-ui-react/CHANGELOG.md b/packages/amplify-ui-react/CHANGELOG.md index 19da8d64ddf..0e53aea0978 100644 --- a/packages/amplify-ui-react/CHANGELOG.md +++ b/packages/amplify-ui-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.38](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.37...@aws-amplify/ui-react@0.2.38) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/ui-react + + + + + ## [0.2.37](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.36...@aws-amplify/ui-react@0.2.37) (2021-02-03) **Note:** Version bump only for package @aws-amplify/ui-react diff --git a/packages/amplify-ui-react/package.json b/packages/amplify-ui-react/package.json index 8b307a53e8f..35ab08f1b5d 100755 --- a/packages/amplify-ui-react/package.json +++ b/packages/amplify-ui-react/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-react", "sideEffects": false, - "version": "0.2.37", + "version": "0.2.38", "description": "React specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -32,7 +32,7 @@ "typescript": "^3.3.4000" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.3" + "@aws-amplify/ui-components": "0.10.4" }, "peerDependencies": { "react": "^16.7.0", diff --git a/packages/amplify-ui-storybook/CHANGELOG.md b/packages/amplify-ui-storybook/CHANGELOG.md index faca058804c..5b771c20d8a 100644 --- a/packages/amplify-ui-storybook/CHANGELOG.md +++ b/packages/amplify-ui-storybook/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.38](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.37...@aws-amplify/ui-storybook@0.2.38) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/ui-storybook + + + + + ## [0.2.37](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.36...@aws-amplify/ui-storybook@0.2.37) (2021-02-03) **Note:** Version bump only for package @aws-amplify/ui-storybook diff --git a/packages/amplify-ui-storybook/package.json b/packages/amplify-ui-storybook/package.json index 5ec20e1c662..0b626a90c5c 100644 --- a/packages/amplify-ui-storybook/package.json +++ b/packages/amplify-ui-storybook/package.json @@ -1,16 +1,16 @@ { "name": "@aws-amplify/ui-storybook", - "version": "0.2.37", + "version": "0.2.38", "private": true, "dependencies": { - "@aws-amplify/ui-react": "0.2.37", + "@aws-amplify/ui-react": "0.2.38", "@storybook/addon-knobs": "^5.3.13", "@storybook/theming": "^5.3.14", "@types/jest": "^24.0.0", "@types/node": "^12.0.0", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", - "aws-amplify": "3.3.17", + "aws-amplify": "3.3.18", "react": "^16.12.0", "react-app-polyfill": "^1.0.6", "react-dom": "^16.12.0", diff --git a/packages/amplify-ui-vue/CHANGELOG.md b/packages/amplify-ui-vue/CHANGELOG.md index 2e9e6a7c9b2..23dafa97d38 100644 --- a/packages/amplify-ui-vue/CHANGELOG.md +++ b/packages/amplify-ui-vue/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.3.1...@aws-amplify/ui-vue@0.3.2) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/ui-vue + + + + + ## [0.3.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.3.0...@aws-amplify/ui-vue@0.3.1) (2021-02-03) **Note:** Version bump only for package @aws-amplify/ui-vue diff --git a/packages/amplify-ui-vue/package.json b/packages/amplify-ui-vue/package.json index b60713732bf..9ccec516360 100644 --- a/packages/amplify-ui-vue/package.json +++ b/packages/amplify-ui-vue/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-vue", "sideEffects": true, - "version": "0.3.1", + "version": "0.3.2", "description": "Vue specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "url": "https://github.com/aws-amplify/amplify-js.git" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.3" + "@aws-amplify/ui-components": "0.10.4" }, "peerDependencies": { "vue": "2.x.x" diff --git a/packages/analytics/CHANGELOG.md b/packages/analytics/CHANGELOG.md index 547767efeba..91c9de5c425 100644 --- a/packages/analytics/CHANGELOG.md +++ b/packages/analytics/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.8...@aws-amplify/analytics@4.0.9) (2021-02-09) + + +### Reverts + +* Revert "chore: bump aws-sdk to 3.4.1 (#7674)" (#7716) ([f142314](https://github.com/aws-amplify/amplify-js/commit/f1423144cf73304f3dc048233b35c831c9a1742d)), closes [#7674](https://github.com/aws-amplify/amplify-js/issues/7674) [#7716](https://github.com/aws-amplify/amplify-js/issues/7716) + + + + + ## [4.0.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.7...@aws-amplify/analytics@4.0.8) (2021-02-03) **Note:** Version bump only for package @aws-amplify/analytics diff --git a/packages/analytics/package.json b/packages/analytics/package.json index 530013f04ed..747b6afcc09 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/analytics", - "version": "4.0.8", + "version": "4.0.9", "description": "Analytics category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -43,8 +43,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.45", - "@aws-amplify/core": "3.8.12", + "@aws-amplify/cache": "3.1.46", + "@aws-amplify/core": "3.8.13", "@aws-sdk/client-firehose": "1.0.0-rc.4", "@aws-sdk/client-kinesis": "1.0.0-rc.4", "@aws-sdk/client-personalize-events": "1.0.0-rc.4", diff --git a/packages/api-graphql/CHANGELOG.md b/packages/api-graphql/CHANGELOG.md index 483b1fa6903..46aa3852a1f 100644 --- a/packages/api-graphql/CHANGELOG.md +++ b/packages/api-graphql/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.20...@aws-amplify/api-graphql@1.2.21) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/api-graphql + + + + + ## [1.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.19...@aws-amplify/api-graphql@1.2.20) (2021-02-03) **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 adbab6a21ba..a5f86c1adaa 100644 --- a/packages/api-graphql/package.json +++ b/packages/api-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-graphql", - "version": "1.2.20", + "version": "1.2.21", "description": "Api-graphql category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,11 +44,11 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-rest": "1.2.20", - "@aws-amplify/auth": "3.4.20", - "@aws-amplify/cache": "3.1.45", - "@aws-amplify/core": "3.8.12", - "@aws-amplify/pubsub": "3.2.18", + "@aws-amplify/api-rest": "1.2.21", + "@aws-amplify/auth": "3.4.21", + "@aws-amplify/cache": "3.1.46", + "@aws-amplify/core": "3.8.13", + "@aws-amplify/pubsub": "3.2.19", "graphql": "14.0.0", "uuid": "^3.2.1", "zen-observable-ts": "0.8.19" diff --git a/packages/api-rest/CHANGELOG.md b/packages/api-rest/CHANGELOG.md index 9742eb3b603..e0dfea396e2 100644 --- a/packages/api-rest/CHANGELOG.md +++ b/packages/api-rest/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.20...@aws-amplify/api-rest@1.2.21) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/api-rest + + + + + ## [1.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.19...@aws-amplify/api-rest@1.2.20) (2021-02-03) **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 ed20c667088..6f4668bf949 100644 --- a/packages/api-rest/package.json +++ b/packages/api-rest/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-rest", - "version": "1.2.20", + "version": "1.2.21", "description": "Api-rest category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.12", + "@aws-amplify/core": "3.8.13", "axios": "0.21.1" }, "jest": { diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 57a68a8273d..56d4b1cc18a 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.20...@aws-amplify/api@3.2.21) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/api + + + + + ## [3.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.19...@aws-amplify/api@3.2.20) (2021-02-03) **Note:** Version bump only for package @aws-amplify/api diff --git a/packages/api/package.json b/packages/api/package.json index d00af1d88b4..ea3212aced1 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api", - "version": "3.2.20", + "version": "3.2.21", "description": "Api category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,8 +44,8 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-graphql": "1.2.20", - "@aws-amplify/api-rest": "1.2.20" + "@aws-amplify/api-graphql": "1.2.21", + "@aws-amplify/api-rest": "1.2.21" }, "jest": { "globals": { diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index 9668b829dbd..748398a26f4 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.4.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.20...@aws-amplify/auth@3.4.21) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/auth + + + + + ## [3.4.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.19...@aws-amplify/auth@3.4.20) (2021-02-03) **Note:** Version bump only for package @aws-amplify/auth diff --git a/packages/auth/package.json b/packages/auth/package.json index 05291f2b0fe..343d3d3b383 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/auth", - "version": "3.4.20", + "version": "3.4.21", "description": "Auth category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,8 +41,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.45", - "@aws-amplify/core": "3.8.12", + "@aws-amplify/cache": "3.1.46", + "@aws-amplify/core": "3.8.13", "amazon-cognito-identity-js": "4.5.10", "crypto-js": "^3.3.0" }, diff --git a/packages/aws-amplify-angular/CHANGELOG.md b/packages/aws-amplify-angular/CHANGELOG.md index 4638f576348..a2752177a4e 100644 --- a/packages/aws-amplify-angular/CHANGELOG.md +++ b/packages/aws-amplify-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.47](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.46...aws-amplify-angular@5.0.47) (2021-02-09) + +**Note:** Version bump only for package aws-amplify-angular + + + + + ## [5.0.46](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.45...aws-amplify-angular@5.0.46) (2021-02-03) **Note:** Version bump only for package aws-amplify-angular diff --git a/packages/aws-amplify-angular/package.json b/packages/aws-amplify-angular/package.json index 847e5f907ea..82a523b6c6f 100644 --- a/packages/aws-amplify-angular/package.json +++ b/packages/aws-amplify-angular/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-angular", - "version": "5.0.46", + "version": "5.0.47", "description": "AWS Amplify Angular Components", "main": "bundles/aws-amplify-angular.umd.js", "module": "dist/index.js", @@ -39,7 +39,7 @@ "@types/zen-observable": "^0.5.3", "angular2-template-loader": "^0.6.2", "awesome-typescript-loader": "^4.0.1", - "aws-amplify": "3.3.17", + "aws-amplify": "3.3.18", "babel-core": "^6.26.3", "babel-plugin-lodash": "^3.3.4", "babel-preset-env": "^1.7.0", diff --git a/packages/aws-amplify-react/CHANGELOG.md b/packages/aws-amplify-react/CHANGELOG.md index 60d4ff54453..551a89f49b3 100644 --- a/packages/aws-amplify-react/CHANGELOG.md +++ b/packages/aws-amplify-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.2.22](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.21...aws-amplify-react@4.2.22) (2021-02-09) + +**Note:** Version bump only for package aws-amplify-react + + + + + ## [4.2.21](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.20...aws-amplify-react@4.2.21) (2021-02-03) **Note:** Version bump only for package aws-amplify-react diff --git a/packages/aws-amplify-react/package.json b/packages/aws-amplify-react/package.json index bb9d865a909..5b30754dbef 100644 --- a/packages/aws-amplify-react/package.json +++ b/packages/aws-amplify-react/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-react", - "version": "4.2.21", + "version": "4.2.22", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -38,7 +38,7 @@ "@types/enzyme-adapter-react-16": "^1.0.3", "@types/react": "^16.0.41", "@types/react-dom": "^16.0.11", - "aws-amplify": "3.3.17", + "aws-amplify": "3.3.18", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.3", "enzyme-to-json": "^3.2.1", diff --git a/packages/aws-amplify/CHANGELOG.md b/packages/aws-amplify/CHANGELOG.md index 57f4828f6b3..915823b0c5c 100644 --- a/packages/aws-amplify/CHANGELOG.md +++ b/packages/aws-amplify/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.18](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.17...aws-amplify@3.3.18) (2021-02-09) + +**Note:** Version bump only for package aws-amplify + + + + + ## [3.3.17](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.16...aws-amplify@3.3.17) (2021-02-03) **Note:** Version bump only for package aws-amplify diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index 5484960cce5..fa22cfe928f 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify", - "version": "3.3.17", + "version": "3.3.18", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -34,18 +34,18 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/analytics": "4.0.8", - "@aws-amplify/api": "3.2.20", - "@aws-amplify/auth": "3.4.20", - "@aws-amplify/cache": "3.1.45", - "@aws-amplify/core": "3.8.12", - "@aws-amplify/datastore": "2.9.6", - "@aws-amplify/interactions": "3.3.20", - "@aws-amplify/predictions": "3.2.20", - "@aws-amplify/pubsub": "3.2.18", - "@aws-amplify/storage": "3.3.20", + "@aws-amplify/analytics": "4.0.9", + "@aws-amplify/api": "3.2.21", + "@aws-amplify/auth": "3.4.21", + "@aws-amplify/cache": "3.1.46", + "@aws-amplify/core": "3.8.13", + "@aws-amplify/datastore": "2.9.7", + "@aws-amplify/interactions": "3.3.21", + "@aws-amplify/predictions": "3.2.21", + "@aws-amplify/pubsub": "3.2.19", + "@aws-amplify/storage": "3.3.21", "@aws-amplify/ui": "2.0.2", - "@aws-amplify/xr": "2.2.20" + "@aws-amplify/xr": "2.2.21" }, "jest": { "globals": { diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index 474925d2176..64cbd3634a6 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.46](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.45...@aws-amplify/cache@3.1.46) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/cache + + + + + ## [3.1.45](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.44...@aws-amplify/cache@3.1.45) (2021-02-03) **Note:** Version bump only for package @aws-amplify/cache diff --git a/packages/cache/package.json b/packages/cache/package.json index 3557651b731..bbaed02d5b5 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/cache", - "version": "3.1.45", + "version": "3.1.46", "description": "Cache category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,7 +44,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.12" + "@aws-amplify/core": "3.8.13" }, "jest": { "globals": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 5fefa60d49f..e56965b06f2 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.8.13](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.12...@aws-amplify/core@3.8.13) (2021-02-09) + + +### Reverts + +* Revert "chore: bump aws-sdk to 3.4.1 (#7674)" (#7716) ([f142314](https://github.com/aws-amplify/amplify-js/commit/f1423144cf73304f3dc048233b35c831c9a1742d)), closes [#7674](https://github.com/aws-amplify/amplify-js/issues/7674) [#7716](https://github.com/aws-amplify/amplify-js/issues/7716) + + + + + ## [3.8.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.11...@aws-amplify/core@3.8.12) (2021-02-03) **Note:** Version bump only for package @aws-amplify/core diff --git a/packages/core/package.json b/packages/core/package.json index cca4b4ef53d..40857a48e26 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/core", - "version": "3.8.12", + "version": "3.8.13", "description": "Core category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", diff --git a/packages/datastore/CHANGELOG.md b/packages/datastore/CHANGELOG.md index 409b852dd97..39ed8980b4e 100644 --- a/packages/datastore/CHANGELOG.md +++ b/packages/datastore/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.9.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.6...@aws-amplify/datastore@2.9.7) (2021-02-09) + + +### Bug Fixes + +* **@aws-amplify/datastore:** align AWSTime validation with AppSync ([#7717](https://github.com/aws-amplify/amplify-js/issues/7717)) ([feae503](https://github.com/aws-amplify/amplify-js/commit/feae503ba2ad22738e4a16639441f4dec6077f7a)) + + + + + ## [2.9.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.5...@aws-amplify/datastore@2.9.6) (2021-02-03) **Note:** Version bump only for package @aws-amplify/datastore diff --git a/packages/datastore/package.json b/packages/datastore/package.json index 86e6132fcb3..9f085a5604d 100644 --- a/packages/datastore/package.json +++ b/packages/datastore/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/datastore", - "version": "2.9.6", + "version": "2.9.7", "description": "AppSyncLocal support for aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -48,9 +48,9 @@ "fake-indexeddb": "3.0.0" }, "dependencies": { - "@aws-amplify/api": "3.2.20", - "@aws-amplify/core": "3.8.12", - "@aws-amplify/pubsub": "3.2.18", + "@aws-amplify/api": "3.2.21", + "@aws-amplify/core": "3.8.13", + "@aws-amplify/pubsub": "3.2.19", "idb": "5.0.6", "immer": "8.0.1", "ulid": "2.3.0", diff --git a/packages/interactions/CHANGELOG.md b/packages/interactions/CHANGELOG.md index 6e29871bfb7..e5bed1443d3 100644 --- a/packages/interactions/CHANGELOG.md +++ b/packages/interactions/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.20...@aws-amplify/interactions@3.3.21) (2021-02-09) + + +### Reverts + +* Revert "chore: bump aws-sdk to 3.4.1 (#7674)" (#7716) ([f142314](https://github.com/aws-amplify/amplify-js/commit/f1423144cf73304f3dc048233b35c831c9a1742d)), closes [#7674](https://github.com/aws-amplify/amplify-js/issues/7674) [#7716](https://github.com/aws-amplify/amplify-js/issues/7716) + + + + + ## [3.3.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.19...@aws-amplify/interactions@3.3.20) (2021-02-03) **Note:** Version bump only for package @aws-amplify/interactions diff --git a/packages/interactions/package.json b/packages/interactions/package.json index 940b9926797..f377c1bc017 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/interactions", - "version": "3.3.20", + "version": "3.3.21", "description": "Interactions category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.12", + "@aws-amplify/core": "3.8.13", "@aws-sdk/client-lex-runtime-service": "1.0.0-rc.4" }, "jest": { diff --git a/packages/predictions/CHANGELOG.md b/packages/predictions/CHANGELOG.md index 9e91a02ae23..47a8a959643 100644 --- a/packages/predictions/CHANGELOG.md +++ b/packages/predictions/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.20...@aws-amplify/predictions@3.2.21) (2021-02-09) + + +### Reverts + +* Revert "chore: bump aws-sdk to 3.4.1 (#7674)" (#7716) ([f142314](https://github.com/aws-amplify/amplify-js/commit/f1423144cf73304f3dc048233b35c831c9a1742d)), closes [#7674](https://github.com/aws-amplify/amplify-js/issues/7674) [#7716](https://github.com/aws-amplify/amplify-js/issues/7716) + + + + + ## [3.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.19...@aws-amplify/predictions@3.2.20) (2021-02-03) **Note:** Version bump only for package @aws-amplify/predictions diff --git a/packages/predictions/package.json b/packages/predictions/package.json index 927450ab652..1992b51bc24 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/predictions", - "version": "3.2.20", + "version": "3.2.21", "description": "Machine learning category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -40,8 +40,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.12", - "@aws-amplify/storage": "3.3.20", + "@aws-amplify/core": "3.8.13", + "@aws-amplify/storage": "3.3.21", "@aws-sdk/client-comprehend": "1.0.0-rc.4", "@aws-sdk/client-polly": "1.0.0-rc.4", "@aws-sdk/client-rekognition": "1.0.0-rc.4", diff --git a/packages/pubsub/CHANGELOG.md b/packages/pubsub/CHANGELOG.md index 8ce60eeda3d..5d4c718f93d 100644 --- a/packages/pubsub/CHANGELOG.md +++ b/packages/pubsub/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.18...@aws-amplify/pubsub@3.2.19) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/pubsub + + + + + ## [3.2.18](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.17...@aws-amplify/pubsub@3.2.18) (2021-02-03) **Note:** Version bump only for package @aws-amplify/pubsub diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index dc6319e8eb4..0d9124f005d 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pubsub", - "version": "3.2.18", + "version": "3.2.19", "description": "Pubsub category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -45,9 +45,9 @@ "cpx": "^1.5.0" }, "dependencies": { - "@aws-amplify/auth": "3.4.20", - "@aws-amplify/cache": "3.1.45", - "@aws-amplify/core": "3.8.12", + "@aws-amplify/auth": "3.4.21", + "@aws-amplify/cache": "3.1.46", + "@aws-amplify/core": "3.8.13", "graphql": "14.0.0", "paho-mqtt": "^1.1.0", "uuid": "^3.2.1", diff --git a/packages/pushnotification/CHANGELOG.md b/packages/pushnotification/CHANGELOG.md index 959b7289ba6..7262ce5607f 100644 --- a/packages/pushnotification/CHANGELOG.md +++ b/packages/pushnotification/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.20...@aws-amplify/pushnotification@3.2.21) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/pushnotification + + + + + ## [3.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.19...@aws-amplify/pushnotification@3.2.20) (2021-02-03) **Note:** Version bump only for package @aws-amplify/pushnotification diff --git a/packages/pushnotification/package.json b/packages/pushnotification/package.json index 982a4fe19be..9a3167ef218 100644 --- a/packages/pushnotification/package.json +++ b/packages/pushnotification/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pushnotification", - "version": "3.2.20", + "version": "3.2.21", "description": "Push notifications category of aws-amplify", "main": "./lib/index.js", "module": "./lib/index.js", @@ -44,7 +44,7 @@ "webpack": "^3.5.5" }, "dependencies": { - "@aws-amplify/core": "3.8.12", + "@aws-amplify/core": "3.8.13", "@react-native-community/push-notification-ios": "1.0.3" }, "peerdependencies": { diff --git a/packages/storage/CHANGELOG.md b/packages/storage/CHANGELOG.md index 1a665373be0..c3d89f4fbaf 100644 --- a/packages/storage/CHANGELOG.md +++ b/packages/storage/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.20...@aws-amplify/storage@3.3.21) (2021-02-09) + + +### Reverts + +* Revert "chore: bump aws-sdk to 3.4.1 (#7674)" (#7716) ([f142314](https://github.com/aws-amplify/amplify-js/commit/f1423144cf73304f3dc048233b35c831c9a1742d)), closes [#7674](https://github.com/aws-amplify/amplify-js/issues/7674) [#7716](https://github.com/aws-amplify/amplify-js/issues/7716) + + + + + ## [3.3.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.19...@aws-amplify/storage@3.3.20) (2021-02-03) **Note:** Version bump only for package @aws-amplify/storage diff --git a/packages/storage/package.json b/packages/storage/package.json index aa69df641d4..23f843130e3 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/storage", - "version": "3.3.20", + "version": "3.3.21", "description": "Storage category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.12", + "@aws-amplify/core": "3.8.13", "@aws-sdk/client-s3": "1.0.0-rc.4", "@aws-sdk/s3-request-presigner": "1.0.0-rc.4", "@aws-sdk/util-create-request": "1.0.0-rc.4", diff --git a/packages/xr/CHANGELOG.md b/packages/xr/CHANGELOG.md index e0c69bd7d82..d41856a8207 100644 --- a/packages/xr/CHANGELOG.md +++ b/packages/xr/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.20...@aws-amplify/xr@2.2.21) (2021-02-09) + +**Note:** Version bump only for package @aws-amplify/xr + + + + + ## [2.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.19...@aws-amplify/xr@2.2.20) (2021-02-03) **Note:** Version bump only for package @aws-amplify/xr diff --git a/packages/xr/package.json b/packages/xr/package.json index 6549675129c..5c394a67efe 100644 --- a/packages/xr/package.json +++ b/packages/xr/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/xr", - "version": "2.2.20", + "version": "2.2.21", "description": "XR category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.12" + "@aws-amplify/core": "3.8.13" }, "jest": { "globals": { From 1e5e2e2db2fff250f9dd37a2cf5475757695a9ba Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Tue, 9 Feb 2021 21:14:13 +0000 Subject: [PATCH 28/35] chore(release): update version.ts [ci skip] --- packages/core/src/Platform/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/Platform/version.ts b/packages/core/src/Platform/version.ts index ae21238ad39..7f9bfc20a98 100644 --- a/packages/core/src/Platform/version.ts +++ b/packages/core/src/Platform/version.ts @@ -1,2 +1,2 @@ // generated by genversion -export const version = '3.8.12'; +export const version = '3.8.13'; From e39a71d8631c9e203e1bcbcb1abdf6f0379fae14 Mon Sep 17 00:00:00 2001 From: Alex Hinson Date: Wed, 10 Feb 2021 14:43:12 -0800 Subject: [PATCH 29/35] chore: update to aws-sdk 3.4.1 (#7726) --- .circleci/config.yml | 9 +++----- .../bundle-size-action/webpack/package.json | 8 +++---- .../bundle-size-action/webpack4/package.json | 2 +- packages/analytics/package.json | 10 ++++---- .../src/Providers/AWSPinpointProvider.ts | 2 +- packages/core/package.json | 8 +++---- packages/interactions/package.json | 2 +- packages/predictions/package.json | 14 +++++------ packages/storage/package.json | 8 +++---- .../providers/AWSS3ProviderManagedUpload.ts | 23 +++++++++++++++++-- .../src/providers/axios-http-handler.ts | 4 ++-- 11 files changed, 53 insertions(+), 37 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 33b63a48422..2e138a68f2f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -885,8 +885,7 @@ workflows: - integ_react_predictions - integ_react_datastore - integ_react_storage - # Removing this until AWS SDK issue is resolved: https://github.com/aws/aws-sdk-js-v3/issues/2000 - # - integ_react_storage_multipart_progress + - integ_react_storage_multipart_progress - integ_react_storage_ui - integ_react_interactions - integ_angular_interactions @@ -896,12 +895,10 @@ workflows: - integ_angular_auth - integ_vue_auth - integ_rn_ios_storage - # Removing this until AWS SDK issue is resolved: https://github.com/aws/aws-sdk-js-v3/issues/2000 - # - integ_rn_ios_storage_multipart_progress + - integ_rn_ios_storage_multipart_progress - integ_rn_ios_push_notifications - integ_rn_android_storage - # Removing this until AWS SDK issue is resolved: https://github.com/aws/aws-sdk-js-v3/issues/2000 - # - integ_rn_android_storage_multipart_progress + - integ_rn_android_storage_multipart_progress - integ_datastore_auth - post_release: filters: diff --git a/.github/actions/bundle-size-action/webpack/package.json b/.github/actions/bundle-size-action/webpack/package.json index 485aa245ad8..ff593366b50 100644 --- a/.github/actions/bundle-size-action/webpack/package.json +++ b/.github/actions/bundle-size-action/webpack/package.json @@ -31,11 +31,11 @@ }, { "path": "dist/Amplify+Auth.js.min.js", - "maxSize": "70kB" + "maxSize": "75kB" }, { "path": "dist/Amplify+Auth+Storage.js.min.js", - "maxSize": "110kB" + "maxSize": "115kB" }, { "path": "dist/Amplify+Storage.js.min.js", @@ -43,11 +43,11 @@ }, { "path": "dist/withSSRContext.js.min.js", - "maxSize": "140kB" + "maxSize": "145kB" }, { "path": "dist/withSSRContext+Storage.js.min.js", - "maxSize": "175kB" + "maxSize": "180kB" } ] }, diff --git a/.github/actions/bundle-size-action/webpack4/package.json b/.github/actions/bundle-size-action/webpack4/package.json index 779d595bcae..28cac33a403 100644 --- a/.github/actions/bundle-size-action/webpack4/package.json +++ b/.github/actions/bundle-size-action/webpack4/package.json @@ -27,7 +27,7 @@ }, { "path": "dist/Amplify+Auth.js.min.js", - "maxSize": "200kB" + "maxSize": "215kB" } ] }, diff --git a/packages/analytics/package.json b/packages/analytics/package.json index 747b6afcc09..c3eab6c1aea 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -45,11 +45,11 @@ "dependencies": { "@aws-amplify/cache": "3.1.46", "@aws-amplify/core": "3.8.13", - "@aws-sdk/client-firehose": "1.0.0-rc.4", - "@aws-sdk/client-kinesis": "1.0.0-rc.4", - "@aws-sdk/client-personalize-events": "1.0.0-rc.4", - "@aws-sdk/client-pinpoint": "1.0.0-rc.4", - "@aws-sdk/util-utf8-browser": "1.0.0-rc.3", + "@aws-sdk/client-firehose": "3.4.1", + "@aws-sdk/client-kinesis": "3.4.1", + "@aws-sdk/client-personalize-events": "3.4.1", + "@aws-sdk/client-pinpoint": "3.4.1", + "@aws-sdk/util-utf8-browser": "3.4.1", "lodash": "^4.17.20", "uuid": "^3.2.1" }, diff --git a/packages/analytics/src/Providers/AWSPinpointProvider.ts b/packages/analytics/src/Providers/AWSPinpointProvider.ts index cd4a2682049..29b4c95ecd1 100644 --- a/packages/analytics/src/Providers/AWSPinpointProvider.ts +++ b/packages/analytics/src/Providers/AWSPinpointProvider.ts @@ -21,12 +21,12 @@ import { getAmplifyUserAgent, } from '@aws-amplify/core'; import { + EventsBatch, PinpointClient, PutEventsCommand, PutEventsCommandInput, UpdateEndpointCommand, } from '@aws-sdk/client-pinpoint'; -import { EventsBatch } from '@aws-sdk/client-pinpoint/models'; import Cache from '@aws-amplify/cache'; import { diff --git a/packages/core/package.json b/packages/core/package.json index 40857a48e26..c66a9fcbb87 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -55,10 +55,10 @@ }, "dependencies": { "@aws-crypto/sha256-js": "1.0.0-alpha.0", - "@aws-sdk/client-cognito-identity": "1.0.0-rc.4", - "@aws-sdk/credential-provider-cognito-identity": "1.0.0-rc.4", - "@aws-sdk/types": "1.0.0-rc.3", - "@aws-sdk/util-hex-encoding": "1.0.0-rc.3", + "@aws-sdk/client-cognito-identity": "3.4.1", + "@aws-sdk/credential-provider-cognito-identity": "3.4.1", + "@aws-sdk/types": "3.4.1", + "@aws-sdk/util-hex-encoding": "3.4.1", "universal-cookie": "^4.0.4", "zen-observable-ts": "0.8.19" }, diff --git a/packages/interactions/package.json b/packages/interactions/package.json index f377c1bc017..7df10d4c1e9 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -42,7 +42,7 @@ "homepage": "https://aws-amplify.github.io/", "dependencies": { "@aws-amplify/core": "3.8.13", - "@aws-sdk/client-lex-runtime-service": "1.0.0-rc.4" + "@aws-sdk/client-lex-runtime-service": "3.4.1" }, "jest": { "globals": { diff --git a/packages/predictions/package.json b/packages/predictions/package.json index 1992b51bc24..321d5b791f3 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -42,13 +42,13 @@ "dependencies": { "@aws-amplify/core": "3.8.13", "@aws-amplify/storage": "3.3.21", - "@aws-sdk/client-comprehend": "1.0.0-rc.4", - "@aws-sdk/client-polly": "1.0.0-rc.4", - "@aws-sdk/client-rekognition": "1.0.0-rc.4", - "@aws-sdk/client-textract": "1.0.0-rc.4", - "@aws-sdk/client-translate": "1.0.0-rc.4", - "@aws-sdk/eventstream-marshaller": "1.0.0-rc.3", - "@aws-sdk/util-utf8-node": "1.0.0-rc.3", + "@aws-sdk/client-comprehend": "3.4.1", + "@aws-sdk/client-polly": "3.4.1", + "@aws-sdk/client-rekognition": "3.4.1", + "@aws-sdk/client-textract": "3.4.1", + "@aws-sdk/client-translate": "3.4.1", + "@aws-sdk/eventstream-marshaller": "3.4.1", + "@aws-sdk/util-utf8-node": "3.4.1", "uuid": "^3.2.1" }, "jest": { diff --git a/packages/storage/package.json b/packages/storage/package.json index 23f843130e3..b2da39e2e99 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -42,10 +42,10 @@ "homepage": "https://aws-amplify.github.io/", "dependencies": { "@aws-amplify/core": "3.8.13", - "@aws-sdk/client-s3": "1.0.0-rc.4", - "@aws-sdk/s3-request-presigner": "1.0.0-rc.4", - "@aws-sdk/util-create-request": "1.0.0-rc.4", - "@aws-sdk/util-format-url": "1.0.0-rc.4", + "@aws-sdk/client-s3": "3.4.1", + "@aws-sdk/s3-request-presigner": "3.4.1", + "@aws-sdk/util-create-request": "3.4.1", + "@aws-sdk/util-format-url": "3.4.1", "axios": "0.21.1", "events": "^3.1.0", "sinon": "^7.5.0" diff --git a/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts b/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts index 59176fe59c6..018d2de5036 100644 --- a/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts +++ b/packages/storage/src/providers/AWSS3ProviderManagedUpload.ts @@ -31,7 +31,6 @@ import { } from '@aws-sdk/client-s3'; import { AxiosHttpHandler, SEND_PROGRESS_EVENT } from './axios-http-handler'; import * as events from 'events'; -import { parseUrl } from '@aws-sdk/url-parser-node'; import { streamCollector } from '@aws-sdk/fetch-http-handler'; const logger = new Logger('AWSS3ProviderManagedUpload'); @@ -140,6 +139,27 @@ export class AWSS3ProviderManagedUpload { this.params ); const s3 = await this._createNewS3Client(this.opts); + + // @aws-sdk/client-s3 seems to be ignoring the `ContentType` parameter, so we + // are explicitly adding it via middleware. + // https://github.com/aws/aws-sdk-js-v3/issues/2000 + s3.middlewareStack.add( + next => (args: any) => { + if ( + this.params.ContentType && + args && + args.request && + args.request.headers + ) { + args.request.headers['Content-Type'] = this.params.ContentType; + } + return next(args); + }, + { + step: 'build', + } + ); + const response = await s3.send(createMultiPartUploadCommand); logger.debug(response.UploadId); return response.UploadId; @@ -350,7 +370,6 @@ export class AWSS3ProviderManagedUpload { ...localTestingConfig, requestHandler: new AxiosHttpHandler({}, emitter), customUserAgent: getAmplifyUserAgent(), - urlParser: parseUrl, }); client.middlewareStack.remove(SET_CONTENT_LENGTH_HEADER); return client; diff --git a/packages/storage/src/providers/axios-http-handler.ts b/packages/storage/src/providers/axios-http-handler.ts index 592e94c0a3d..feebb586261 100644 --- a/packages/storage/src/providers/axios-http-handler.ts +++ b/packages/storage/src/providers/axios-http-handler.ts @@ -16,14 +16,14 @@ import { HttpHandler, HttpRequest, HttpResponse } from '@aws-sdk/protocol-http'; import { buildQueryString } from '@aws-sdk/querystring-builder'; import axios, { AxiosRequestConfig, Method } from 'axios'; import { ConsoleLogger as Logger } from '@aws-amplify/core'; -import { BrowserHttpOptions } from '@aws-sdk/fetch-http-handler'; +import { FetchHttpHandlerOptions } from '@aws-sdk/fetch-http-handler'; const logger = new Logger('axios-http-handler'); export const SEND_PROGRESS_EVENT = 'sendProgress'; export class AxiosHttpHandler implements HttpHandler { constructor( - private readonly httpOptions: BrowserHttpOptions = {}, + private readonly httpOptions: FetchHttpHandlerOptions = {}, private readonly emitter?: any ) {} From 990afb2133ac6a2f67964786afd54d716976e728 Mon Sep 17 00:00:00 2001 From: Eric Clemmons Date: Mon, 15 Feb 2021 14:03:28 -0600 Subject: [PATCH 30/35] =?UTF-8?q?chore(@aws-amplify/ui-components):=20v1?= =?UTF-8?q?=20=E2=98=82=EF=B8=8F=20(#7718)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Support React 17 (#7651) Co-authored-by: Alex Hinson * Move @aws-amplify/* dependencies to a single peerDependencies (#7650) This ensures customers including UI components in their projects won't include duplicate dependencies in development. Co-authored-by: Sam Martinez Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com> * Bump @aws-amplify/ui-* to 1.0.0 Co-authored-by: Alex Hinson Co-authored-by: Sam Martinez Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com> --- packages/amplify-ui-angular/package.json | 4 ++-- packages/amplify-ui-components/package.json | 10 ++++------ packages/amplify-ui-react/package.json | 8 ++++---- packages/amplify-ui-storybook/package.json | 2 +- packages/amplify-ui-vue/package.json | 4 ++-- 5 files changed, 13 insertions(+), 15 deletions(-) diff --git a/packages/amplify-ui-angular/package.json b/packages/amplify-ui-angular/package.json index c6057964648..d95ae9a530c 100644 --- a/packages/amplify-ui-angular/package.json +++ b/packages/amplify-ui-angular/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-angular", - "version": "0.4.21", + "version": "1.0.0", "description": "Angular specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -31,7 +31,7 @@ "dist/" ], "dependencies": { - "@aws-amplify/ui-components": "0.10.4" + "@aws-amplify/ui-components": "1.0.0" }, "devDependencies": { "@angular/compiler-cli": "^7.2.1", diff --git a/packages/amplify-ui-components/package.json b/packages/amplify-ui-components/package.json index 42ee0e70dfe..dd7f72ca5d2 100644 --- a/packages/amplify-ui-components/package.json +++ b/packages/amplify-ui-components/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-components", - "version": "0.10.4", + "version": "1.0.0", "description": "Core Amplify UI Component Library", "module": "dist/index.mjs", "main": "dist/index.js", @@ -34,12 +34,10 @@ "build:watch": "npm run clean && npm run stencil:watch", "clean": "rimraf dist .stencil" }, + "peerDependencies": { + "aws-amplify": "3.x.x" + }, "dependencies": { - "@aws-amplify/auth": "3.4.21", - "@aws-amplify/core": "3.8.13", - "@aws-amplify/interactions": "3.3.21", - "@aws-amplify/storage": "3.3.21", - "@aws-amplify/xr": "2.2.21", "qrcode": "^1.4.4", "uuid": "^8.2.0" }, diff --git a/packages/amplify-ui-react/package.json b/packages/amplify-ui-react/package.json index 35ab08f1b5d..632faefc206 100755 --- a/packages/amplify-ui-react/package.json +++ b/packages/amplify-ui-react/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-react", "sideEffects": false, - "version": "0.2.38", + "version": "1.0.0", "description": "React specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -32,10 +32,10 @@ "typescript": "^3.3.4000" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.4" + "@aws-amplify/ui-components": "1.0.0" }, "peerDependencies": { - "react": "^16.7.0", - "react-dom": "^16.7.0" + "react": ">= 16.7.0", + "react-dom": ">= 16.7.0" } } diff --git a/packages/amplify-ui-storybook/package.json b/packages/amplify-ui-storybook/package.json index 0b626a90c5c..e7ee3316f1f 100644 --- a/packages/amplify-ui-storybook/package.json +++ b/packages/amplify-ui-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-storybook", - "version": "0.2.38", + "version": "1.0.0", "private": true, "dependencies": { "@aws-amplify/ui-react": "0.2.38", diff --git a/packages/amplify-ui-vue/package.json b/packages/amplify-ui-vue/package.json index 9ccec516360..ccb3870881c 100644 --- a/packages/amplify-ui-vue/package.json +++ b/packages/amplify-ui-vue/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-vue", "sideEffects": true, - "version": "0.3.2", + "version": "1.0.0", "description": "Vue specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "url": "https://github.com/aws-amplify/amplify-js.git" }, "dependencies": { - "@aws-amplify/ui-components": "0.10.4" + "@aws-amplify/ui-components": "1.0.0" }, "peerDependencies": { "vue": "2.x.x" From 207c6c421d1c9b9c69f5659f25c15e42799dd8ef Mon Sep 17 00:00:00 2001 From: wlee221 Date: Mon, 15 Feb 2021 13:55:31 -0800 Subject: [PATCH 31/35] chore: preparing release From f3d3cee60659ccec8d31097808916a939b556323 Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Mon, 15 Feb 2021 22:20:42 +0000 Subject: [PATCH 32/35] chore(release): Publish [ci skip] - @aws-amplify/ui-angular@1.0.1 - @aws-amplify/ui-components@1.0.1 - @aws-amplify/ui-react@1.0.1 - @aws-amplify/ui-storybook@1.0.1 - @aws-amplify/ui-vue@1.0.1 - @aws-amplify/analytics@4.0.10 - @aws-amplify/api-graphql@1.2.22 - @aws-amplify/api-rest@1.2.22 - @aws-amplify/api@3.2.22 - @aws-amplify/auth@3.4.22 - aws-amplify-angular@5.0.48 - aws-amplify-react@4.2.23 - aws-amplify@3.3.19 - @aws-amplify/cache@3.1.47 - @aws-amplify/core@3.8.14 - @aws-amplify/datastore@2.9.8 - @aws-amplify/interactions@3.3.22 - @aws-amplify/predictions@3.2.22 - @aws-amplify/pubsub@3.2.20 - @aws-amplify/pushnotification@3.2.22 - @aws-amplify/storage@3.3.22 - @aws-amplify/xr@2.2.22 --- packages/amplify-ui-angular/CHANGELOG.md | 8 +++++++ packages/amplify-ui-angular/package.json | 4 ++-- packages/amplify-ui-components/CHANGELOG.md | 8 +++++++ packages/amplify-ui-components/package.json | 2 +- packages/amplify-ui-react/CHANGELOG.md | 8 +++++++ packages/amplify-ui-react/package.json | 4 ++-- packages/amplify-ui-storybook/CHANGELOG.md | 8 +++++++ packages/amplify-ui-storybook/package.json | 4 ++-- packages/amplify-ui-vue/CHANGELOG.md | 8 +++++++ packages/amplify-ui-vue/package.json | 4 ++-- packages/analytics/CHANGELOG.md | 8 +++++++ packages/analytics/package.json | 6 +++--- packages/api-graphql/CHANGELOG.md | 8 +++++++ packages/api-graphql/package.json | 12 +++++------ packages/api-rest/CHANGELOG.md | 8 +++++++ packages/api-rest/package.json | 4 ++-- packages/api/CHANGELOG.md | 8 +++++++ packages/api/package.json | 6 +++--- packages/auth/CHANGELOG.md | 8 +++++++ packages/auth/package.json | 6 +++--- packages/aws-amplify-angular/CHANGELOG.md | 8 +++++++ packages/aws-amplify-angular/package.json | 4 ++-- packages/aws-amplify-react/CHANGELOG.md | 8 +++++++ packages/aws-amplify-react/package.json | 4 ++-- packages/aws-amplify/CHANGELOG.md | 8 +++++++ packages/aws-amplify/package.json | 24 ++++++++++----------- packages/cache/CHANGELOG.md | 8 +++++++ packages/cache/package.json | 4 ++-- packages/core/CHANGELOG.md | 8 +++++++ packages/core/package.json | 2 +- packages/datastore/CHANGELOG.md | 8 +++++++ packages/datastore/package.json | 8 +++---- packages/interactions/CHANGELOG.md | 8 +++++++ packages/interactions/package.json | 4 ++-- packages/predictions/CHANGELOG.md | 8 +++++++ packages/predictions/package.json | 6 +++--- packages/pubsub/CHANGELOG.md | 8 +++++++ packages/pubsub/package.json | 8 +++---- packages/pushnotification/CHANGELOG.md | 8 +++++++ packages/pushnotification/package.json | 4 ++-- packages/storage/CHANGELOG.md | 8 +++++++ packages/storage/package.json | 4 ++-- packages/xr/CHANGELOG.md | 8 +++++++ packages/xr/package.json | 4 ++-- 44 files changed, 240 insertions(+), 64 deletions(-) diff --git a/packages/amplify-ui-angular/CHANGELOG.md b/packages/amplify-ui-angular/CHANGELOG.md index 3c9f9be05fc..c12bf40a9cb 100644 --- a/packages/amplify-ui-angular/CHANGELOG.md +++ b/packages/amplify-ui-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.21...@aws-amplify/ui-angular@1.0.1) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/ui-angular + + + + + ## [0.4.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@0.4.20...@aws-amplify/ui-angular@0.4.21) (2021-02-09) **Note:** Version bump only for package @aws-amplify/ui-angular diff --git a/packages/amplify-ui-angular/package.json b/packages/amplify-ui-angular/package.json index d95ae9a530c..b0f328a25fe 100644 --- a/packages/amplify-ui-angular/package.json +++ b/packages/amplify-ui-angular/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-angular", - "version": "1.0.0", + "version": "1.0.1", "description": "Angular specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -31,7 +31,7 @@ "dist/" ], "dependencies": { - "@aws-amplify/ui-components": "1.0.0" + "@aws-amplify/ui-components": "1.0.1" }, "devDependencies": { "@angular/compiler-cli": "^7.2.1", diff --git a/packages/amplify-ui-components/CHANGELOG.md b/packages/amplify-ui-components/CHANGELOG.md index 6159c71d19d..12fdab8ef13 100644 --- a/packages/amplify-ui-components/CHANGELOG.md +++ b/packages/amplify-ui-components/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.10.4...@aws-amplify/ui-components@1.0.1) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/ui-components + + + + + ## [0.10.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@0.10.3...@aws-amplify/ui-components@0.10.4) (2021-02-09) **Note:** Version bump only for package @aws-amplify/ui-components diff --git a/packages/amplify-ui-components/package.json b/packages/amplify-ui-components/package.json index dd7f72ca5d2..c24d0e5391f 100644 --- a/packages/amplify-ui-components/package.json +++ b/packages/amplify-ui-components/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-components", - "version": "1.0.0", + "version": "1.0.1", "description": "Core Amplify UI Component Library", "module": "dist/index.mjs", "main": "dist/index.js", diff --git a/packages/amplify-ui-react/CHANGELOG.md b/packages/amplify-ui-react/CHANGELOG.md index 0e53aea0978..0d138726116 100644 --- a/packages/amplify-ui-react/CHANGELOG.md +++ b/packages/amplify-ui-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.38...@aws-amplify/ui-react@1.0.1) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/ui-react + + + + + ## [0.2.38](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@0.2.37...@aws-amplify/ui-react@0.2.38) (2021-02-09) **Note:** Version bump only for package @aws-amplify/ui-react diff --git a/packages/amplify-ui-react/package.json b/packages/amplify-ui-react/package.json index 632faefc206..df8226e3088 100755 --- a/packages/amplify-ui-react/package.json +++ b/packages/amplify-ui-react/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-react", "sideEffects": false, - "version": "1.0.0", + "version": "1.0.1", "description": "React specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -32,7 +32,7 @@ "typescript": "^3.3.4000" }, "dependencies": { - "@aws-amplify/ui-components": "1.0.0" + "@aws-amplify/ui-components": "1.0.1" }, "peerDependencies": { "react": ">= 16.7.0", diff --git a/packages/amplify-ui-storybook/CHANGELOG.md b/packages/amplify-ui-storybook/CHANGELOG.md index 5b771c20d8a..397635ab4ab 100644 --- a/packages/amplify-ui-storybook/CHANGELOG.md +++ b/packages/amplify-ui-storybook/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.38...@aws-amplify/ui-storybook@1.0.1) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/ui-storybook + + + + + ## [0.2.38](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@0.2.37...@aws-amplify/ui-storybook@0.2.38) (2021-02-09) **Note:** Version bump only for package @aws-amplify/ui-storybook diff --git a/packages/amplify-ui-storybook/package.json b/packages/amplify-ui-storybook/package.json index e7ee3316f1f..93161e20e42 100644 --- a/packages/amplify-ui-storybook/package.json +++ b/packages/amplify-ui-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-storybook", - "version": "1.0.0", + "version": "1.0.1", "private": true, "dependencies": { "@aws-amplify/ui-react": "0.2.38", @@ -10,7 +10,7 @@ "@types/node": "^12.0.0", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", - "aws-amplify": "3.3.18", + "aws-amplify": "3.3.19", "react": "^16.12.0", "react-app-polyfill": "^1.0.6", "react-dom": "^16.12.0", diff --git a/packages/amplify-ui-vue/CHANGELOG.md b/packages/amplify-ui-vue/CHANGELOG.md index 23dafa97d38..aa145a9911a 100644 --- a/packages/amplify-ui-vue/CHANGELOG.md +++ b/packages/amplify-ui-vue/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.3.2...@aws-amplify/ui-vue@1.0.1) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/ui-vue + + + + + ## [0.3.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@0.3.1...@aws-amplify/ui-vue@0.3.2) (2021-02-09) **Note:** Version bump only for package @aws-amplify/ui-vue diff --git a/packages/amplify-ui-vue/package.json b/packages/amplify-ui-vue/package.json index ccb3870881c..38c67afde22 100644 --- a/packages/amplify-ui-vue/package.json +++ b/packages/amplify-ui-vue/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-vue", "sideEffects": true, - "version": "1.0.0", + "version": "1.0.1", "description": "Vue specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "url": "https://github.com/aws-amplify/amplify-js.git" }, "dependencies": { - "@aws-amplify/ui-components": "1.0.0" + "@aws-amplify/ui-components": "1.0.1" }, "peerDependencies": { "vue": "2.x.x" diff --git a/packages/analytics/CHANGELOG.md b/packages/analytics/CHANGELOG.md index 91c9de5c425..779e4db74de 100644 --- a/packages/analytics/CHANGELOG.md +++ b/packages/analytics/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.9...@aws-amplify/analytics@4.0.10) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/analytics + + + + + ## [4.0.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@4.0.8...@aws-amplify/analytics@4.0.9) (2021-02-09) diff --git a/packages/analytics/package.json b/packages/analytics/package.json index c3eab6c1aea..c95e5932bd9 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/analytics", - "version": "4.0.9", + "version": "4.0.10", "description": "Analytics category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -43,8 +43,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.46", - "@aws-amplify/core": "3.8.13", + "@aws-amplify/cache": "3.1.47", + "@aws-amplify/core": "3.8.14", "@aws-sdk/client-firehose": "3.4.1", "@aws-sdk/client-kinesis": "3.4.1", "@aws-sdk/client-personalize-events": "3.4.1", diff --git a/packages/api-graphql/CHANGELOG.md b/packages/api-graphql/CHANGELOG.md index 46aa3852a1f..70e3bf8ed43 100644 --- a/packages/api-graphql/CHANGELOG.md +++ b/packages/api-graphql/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.21...@aws-amplify/api-graphql@1.2.22) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/api-graphql + + + + + ## [1.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@1.2.20...@aws-amplify/api-graphql@1.2.21) (2021-02-09) **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 a5f86c1adaa..5ae17822597 100644 --- a/packages/api-graphql/package.json +++ b/packages/api-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-graphql", - "version": "1.2.21", + "version": "1.2.22", "description": "Api-graphql category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,11 +44,11 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-rest": "1.2.21", - "@aws-amplify/auth": "3.4.21", - "@aws-amplify/cache": "3.1.46", - "@aws-amplify/core": "3.8.13", - "@aws-amplify/pubsub": "3.2.19", + "@aws-amplify/api-rest": "1.2.22", + "@aws-amplify/auth": "3.4.22", + "@aws-amplify/cache": "3.1.47", + "@aws-amplify/core": "3.8.14", + "@aws-amplify/pubsub": "3.2.20", "graphql": "14.0.0", "uuid": "^3.2.1", "zen-observable-ts": "0.8.19" diff --git a/packages/api-rest/CHANGELOG.md b/packages/api-rest/CHANGELOG.md index e0dfea396e2..d5b1d51cd4a 100644 --- a/packages/api-rest/CHANGELOG.md +++ b/packages/api-rest/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.21...@aws-amplify/api-rest@1.2.22) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/api-rest + + + + + ## [1.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@1.2.20...@aws-amplify/api-rest@1.2.21) (2021-02-09) **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 6f4668bf949..8d530a139d1 100644 --- a/packages/api-rest/package.json +++ b/packages/api-rest/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-rest", - "version": "1.2.21", + "version": "1.2.22", "description": "Api-rest category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.13", + "@aws-amplify/core": "3.8.14", "axios": "0.21.1" }, "jest": { diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 56d4b1cc18a..2f534488869 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.21...@aws-amplify/api@3.2.22) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/api + + + + + ## [3.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@3.2.20...@aws-amplify/api@3.2.21) (2021-02-09) **Note:** Version bump only for package @aws-amplify/api diff --git a/packages/api/package.json b/packages/api/package.json index ea3212aced1..5dacfba5d85 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api", - "version": "3.2.21", + "version": "3.2.22", "description": "Api category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,8 +44,8 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-graphql": "1.2.21", - "@aws-amplify/api-rest": "1.2.21" + "@aws-amplify/api-graphql": "1.2.22", + "@aws-amplify/api-rest": "1.2.22" }, "jest": { "globals": { diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index 748398a26f4..fb56069751c 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.4.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.21...@aws-amplify/auth@3.4.22) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/auth + + + + + ## [3.4.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@3.4.20...@aws-amplify/auth@3.4.21) (2021-02-09) **Note:** Version bump only for package @aws-amplify/auth diff --git a/packages/auth/package.json b/packages/auth/package.json index 343d3d3b383..1f5e0555aa4 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/auth", - "version": "3.4.21", + "version": "3.4.22", "description": "Auth category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,8 +41,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/cache": "3.1.46", - "@aws-amplify/core": "3.8.13", + "@aws-amplify/cache": "3.1.47", + "@aws-amplify/core": "3.8.14", "amazon-cognito-identity-js": "4.5.10", "crypto-js": "^3.3.0" }, diff --git a/packages/aws-amplify-angular/CHANGELOG.md b/packages/aws-amplify-angular/CHANGELOG.md index a2752177a4e..6b4b54b8ea7 100644 --- a/packages/aws-amplify-angular/CHANGELOG.md +++ b/packages/aws-amplify-angular/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.48](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.47...aws-amplify-angular@5.0.48) (2021-02-15) + +**Note:** Version bump only for package aws-amplify-angular + + + + + ## [5.0.47](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@5.0.46...aws-amplify-angular@5.0.47) (2021-02-09) **Note:** Version bump only for package aws-amplify-angular diff --git a/packages/aws-amplify-angular/package.json b/packages/aws-amplify-angular/package.json index 82a523b6c6f..8ce10597631 100644 --- a/packages/aws-amplify-angular/package.json +++ b/packages/aws-amplify-angular/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-angular", - "version": "5.0.47", + "version": "5.0.48", "description": "AWS Amplify Angular Components", "main": "bundles/aws-amplify-angular.umd.js", "module": "dist/index.js", @@ -39,7 +39,7 @@ "@types/zen-observable": "^0.5.3", "angular2-template-loader": "^0.6.2", "awesome-typescript-loader": "^4.0.1", - "aws-amplify": "3.3.18", + "aws-amplify": "3.3.19", "babel-core": "^6.26.3", "babel-plugin-lodash": "^3.3.4", "babel-preset-env": "^1.7.0", diff --git a/packages/aws-amplify-react/CHANGELOG.md b/packages/aws-amplify-react/CHANGELOG.md index 551a89f49b3..69130f48295 100644 --- a/packages/aws-amplify-react/CHANGELOG.md +++ b/packages/aws-amplify-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.2.23](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.22...aws-amplify-react@4.2.23) (2021-02-15) + +**Note:** Version bump only for package aws-amplify-react + + + + + ## [4.2.22](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@4.2.21...aws-amplify-react@4.2.22) (2021-02-09) **Note:** Version bump only for package aws-amplify-react diff --git a/packages/aws-amplify-react/package.json b/packages/aws-amplify-react/package.json index 5b30754dbef..8d24f535da6 100644 --- a/packages/aws-amplify-react/package.json +++ b/packages/aws-amplify-react/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify-react", - "version": "4.2.22", + "version": "4.2.23", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -38,7 +38,7 @@ "@types/enzyme-adapter-react-16": "^1.0.3", "@types/react": "^16.0.41", "@types/react-dom": "^16.0.11", - "aws-amplify": "3.3.18", + "aws-amplify": "3.3.19", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.3", "enzyme-to-json": "^3.2.1", diff --git a/packages/aws-amplify/CHANGELOG.md b/packages/aws-amplify/CHANGELOG.md index 915823b0c5c..a13602ac6c3 100644 --- a/packages/aws-amplify/CHANGELOG.md +++ b/packages/aws-amplify/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.19](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.18...aws-amplify@3.3.19) (2021-02-15) + +**Note:** Version bump only for package aws-amplify + + + + + ## [3.3.18](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@3.3.17...aws-amplify@3.3.18) (2021-02-09) **Note:** Version bump only for package aws-amplify diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index fa22cfe928f..e83a86f6e12 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify", - "version": "3.3.18", + "version": "3.3.19", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -34,18 +34,18 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/analytics": "4.0.9", - "@aws-amplify/api": "3.2.21", - "@aws-amplify/auth": "3.4.21", - "@aws-amplify/cache": "3.1.46", - "@aws-amplify/core": "3.8.13", - "@aws-amplify/datastore": "2.9.7", - "@aws-amplify/interactions": "3.3.21", - "@aws-amplify/predictions": "3.2.21", - "@aws-amplify/pubsub": "3.2.19", - "@aws-amplify/storage": "3.3.21", + "@aws-amplify/analytics": "4.0.10", + "@aws-amplify/api": "3.2.22", + "@aws-amplify/auth": "3.4.22", + "@aws-amplify/cache": "3.1.47", + "@aws-amplify/core": "3.8.14", + "@aws-amplify/datastore": "2.9.8", + "@aws-amplify/interactions": "3.3.22", + "@aws-amplify/predictions": "3.2.22", + "@aws-amplify/pubsub": "3.2.20", + "@aws-amplify/storage": "3.3.22", "@aws-amplify/ui": "2.0.2", - "@aws-amplify/xr": "2.2.21" + "@aws-amplify/xr": "2.2.22" }, "jest": { "globals": { diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index 64cbd3634a6..0428b8c4f57 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.47](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.46...@aws-amplify/cache@3.1.47) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/cache + + + + + ## [3.1.46](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@3.1.45...@aws-amplify/cache@3.1.46) (2021-02-09) **Note:** Version bump only for package @aws-amplify/cache diff --git a/packages/cache/package.json b/packages/cache/package.json index bbaed02d5b5..6ede023da0d 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/cache", - "version": "3.1.46", + "version": "3.1.47", "description": "Cache category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -44,7 +44,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.13" + "@aws-amplify/core": "3.8.14" }, "jest": { "globals": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index e56965b06f2..3fa5044629b 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.8.14](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.13...@aws-amplify/core@3.8.14) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/core + + + + + ## [3.8.13](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@3.8.12...@aws-amplify/core@3.8.13) (2021-02-09) diff --git a/packages/core/package.json b/packages/core/package.json index c66a9fcbb87..1f7384a32d0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/core", - "version": "3.8.13", + "version": "3.8.14", "description": "Core category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", diff --git a/packages/datastore/CHANGELOG.md b/packages/datastore/CHANGELOG.md index 39ed8980b4e..b639f8ed044 100644 --- a/packages/datastore/CHANGELOG.md +++ b/packages/datastore/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.9.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.7...@aws-amplify/datastore@2.9.8) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/datastore + + + + + ## [2.9.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.6...@aws-amplify/datastore@2.9.7) (2021-02-09) diff --git a/packages/datastore/package.json b/packages/datastore/package.json index 9f085a5604d..4d9565bcaa6 100644 --- a/packages/datastore/package.json +++ b/packages/datastore/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/datastore", - "version": "2.9.7", + "version": "2.9.8", "description": "AppSyncLocal support for aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -48,9 +48,9 @@ "fake-indexeddb": "3.0.0" }, "dependencies": { - "@aws-amplify/api": "3.2.21", - "@aws-amplify/core": "3.8.13", - "@aws-amplify/pubsub": "3.2.19", + "@aws-amplify/api": "3.2.22", + "@aws-amplify/core": "3.8.14", + "@aws-amplify/pubsub": "3.2.20", "idb": "5.0.6", "immer": "8.0.1", "ulid": "2.3.0", diff --git a/packages/interactions/CHANGELOG.md b/packages/interactions/CHANGELOG.md index e5bed1443d3..a2c98b1ce3d 100644 --- a/packages/interactions/CHANGELOG.md +++ b/packages/interactions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.21...@aws-amplify/interactions@3.3.22) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/interactions + + + + + ## [3.3.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@3.3.20...@aws-amplify/interactions@3.3.21) (2021-02-09) diff --git a/packages/interactions/package.json b/packages/interactions/package.json index 7df10d4c1e9..45c7cf31d71 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/interactions", - "version": "3.3.21", + "version": "3.3.22", "description": "Interactions category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.13", + "@aws-amplify/core": "3.8.14", "@aws-sdk/client-lex-runtime-service": "3.4.1" }, "jest": { diff --git a/packages/predictions/CHANGELOG.md b/packages/predictions/CHANGELOG.md index 47a8a959643..01fb8e46d53 100644 --- a/packages/predictions/CHANGELOG.md +++ b/packages/predictions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.21...@aws-amplify/predictions@3.2.22) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/predictions + + + + + ## [3.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@3.2.20...@aws-amplify/predictions@3.2.21) (2021-02-09) diff --git a/packages/predictions/package.json b/packages/predictions/package.json index 321d5b791f3..b61a574131d 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/predictions", - "version": "3.2.21", + "version": "3.2.22", "description": "Machine learning category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -40,8 +40,8 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.13", - "@aws-amplify/storage": "3.3.21", + "@aws-amplify/core": "3.8.14", + "@aws-amplify/storage": "3.3.22", "@aws-sdk/client-comprehend": "3.4.1", "@aws-sdk/client-polly": "3.4.1", "@aws-sdk/client-rekognition": "3.4.1", diff --git a/packages/pubsub/CHANGELOG.md b/packages/pubsub/CHANGELOG.md index 5d4c718f93d..8ee3a1c6cdd 100644 --- a/packages/pubsub/CHANGELOG.md +++ b/packages/pubsub/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.19...@aws-amplify/pubsub@3.2.20) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/pubsub + + + + + ## [3.2.19](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@3.2.18...@aws-amplify/pubsub@3.2.19) (2021-02-09) **Note:** Version bump only for package @aws-amplify/pubsub diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index 0d9124f005d..2799d10999e 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pubsub", - "version": "3.2.19", + "version": "3.2.20", "description": "Pubsub category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -45,9 +45,9 @@ "cpx": "^1.5.0" }, "dependencies": { - "@aws-amplify/auth": "3.4.21", - "@aws-amplify/cache": "3.1.46", - "@aws-amplify/core": "3.8.13", + "@aws-amplify/auth": "3.4.22", + "@aws-amplify/cache": "3.1.47", + "@aws-amplify/core": "3.8.14", "graphql": "14.0.0", "paho-mqtt": "^1.1.0", "uuid": "^3.2.1", diff --git a/packages/pushnotification/CHANGELOG.md b/packages/pushnotification/CHANGELOG.md index 7262ce5607f..bdebab87e31 100644 --- a/packages/pushnotification/CHANGELOG.md +++ b/packages/pushnotification/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.21...@aws-amplify/pushnotification@3.2.22) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/pushnotification + + + + + ## [3.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@3.2.20...@aws-amplify/pushnotification@3.2.21) (2021-02-09) **Note:** Version bump only for package @aws-amplify/pushnotification diff --git a/packages/pushnotification/package.json b/packages/pushnotification/package.json index 9a3167ef218..51fc03052b0 100644 --- a/packages/pushnotification/package.json +++ b/packages/pushnotification/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pushnotification", - "version": "3.2.21", + "version": "3.2.22", "description": "Push notifications category of aws-amplify", "main": "./lib/index.js", "module": "./lib/index.js", @@ -44,7 +44,7 @@ "webpack": "^3.5.5" }, "dependencies": { - "@aws-amplify/core": "3.8.13", + "@aws-amplify/core": "3.8.14", "@react-native-community/push-notification-ios": "1.0.3" }, "peerdependencies": { diff --git a/packages/storage/CHANGELOG.md b/packages/storage/CHANGELOG.md index c3d89f4fbaf..54d8d06825b 100644 --- a/packages/storage/CHANGELOG.md +++ b/packages/storage/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.21...@aws-amplify/storage@3.3.22) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/storage + + + + + ## [3.3.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@3.3.20...@aws-amplify/storage@3.3.21) (2021-02-09) diff --git a/packages/storage/package.json b/packages/storage/package.json index b2da39e2e99..30d20fd1036 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/storage", - "version": "3.3.21", + "version": "3.3.22", "description": "Storage category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.13", + "@aws-amplify/core": "3.8.14", "@aws-sdk/client-s3": "3.4.1", "@aws-sdk/s3-request-presigner": "3.4.1", "@aws-sdk/util-create-request": "3.4.1", diff --git a/packages/xr/CHANGELOG.md b/packages/xr/CHANGELOG.md index d41856a8207..e85c478189f 100644 --- a/packages/xr/CHANGELOG.md +++ b/packages/xr/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.2.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.21...@aws-amplify/xr@2.2.22) (2021-02-15) + +**Note:** Version bump only for package @aws-amplify/xr + + + + + ## [2.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@2.2.20...@aws-amplify/xr@2.2.21) (2021-02-09) **Note:** Version bump only for package @aws-amplify/xr diff --git a/packages/xr/package.json b/packages/xr/package.json index 5c394a67efe..623d5986ebc 100644 --- a/packages/xr/package.json +++ b/packages/xr/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/xr", - "version": "2.2.21", + "version": "2.2.22", "description": "XR category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -41,7 +41,7 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/core": "3.8.13" + "@aws-amplify/core": "3.8.14" }, "jest": { "globals": { From 6a62e431cec434eab5b205c4ce3f7ed31881fb64 Mon Sep 17 00:00:00 2001 From: aws-amplify-bot Date: Mon, 15 Feb 2021 22:23:23 +0000 Subject: [PATCH 33/35] chore(release): update version.ts [ci skip] --- packages/core/src/Platform/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/Platform/version.ts b/packages/core/src/Platform/version.ts index 7f9bfc20a98..8a8901fc5ef 100644 --- a/packages/core/src/Platform/version.ts +++ b/packages/core/src/Platform/version.ts @@ -1,2 +1,2 @@ // generated by genversion -export const version = '3.8.13'; +export const version = '3.8.14'; From 3e423d017a98362a0117e1218dc3fa55abbff609 Mon Sep 17 00:00:00 2001 From: William Lee <43682783+wlee221@users.noreply.github.com> Date: Mon, 15 Feb 2021 15:01:34 -0800 Subject: [PATCH 34/35] docs(@aws-amplify/ui-components): link to latest npm tag --- packages/amplify-ui-components/Readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/amplify-ui-components/Readme.md b/packages/amplify-ui-components/Readme.md index 1adaa440668..551ed826eda 100644 --- a/packages/amplify-ui-components/Readme.md +++ b/packages/amplify-ui-components/Readme.md @@ -6,10 +6,10 @@ | Framework | Package | Version | READMEs | Quick Start | | ------------------ | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------: | ----------------------------------- | -| **React** | [`@aws-amplify/ui-react`](https://www.npmjs.com/package/@aws-amplify/ui-react) | [![version](https://img.shields.io/npm/v/@aws-amplify/ui-react/ui-preview.svg)](https://www.npmjs.com/package/@aws-amplify/ui-react) | [`README.md`](../amplify-ui-react/README.md) | [`React`](#react) | -| **Angular** | [`@aws-amplify/ui-angular`](https://www.npmjs.com/package/@aws-amplify/ui-angular) | [![version](https://img.shields.io/npm/v/@aws-amplify/ui-angular/ui-preview.svg)](https://www.npmjs.com/package/@aws-amplify/ui-angular) | [`README.md`](../amplify-ui-angular/README.md) | [`Angular`](#angular) | -| **Vue** | [`@aws-amplify/ui-vue`](https://www.npmjs.com/package/@aws-amplify/ui-vue) | [![version](https://img.shields.io/npm/v/@aws-amplify/ui-vue/ui-preview.svg)](https://www.npmjs.com/package/@aws-amplify/ui-vue) | [`README.md`](../amplify-ui-vue/README.md) | [`Vue`](#vue) | -| **Web Components** | [`@aws-amplify/ui-components`](https://www.npmjs.com/package/@aws-amplify/ui-components) | [![version](https://img.shields.io/npm/v/@aws-amplify/ui-components/ui-preview.svg)](https://www.npmjs.com/package/@aws-amplify/ui-components) | [`README.md`](README.md) | [`Web Components`](#web-components) | +| **React** | [`@aws-amplify/ui-react`](https://www.npmjs.com/package/@aws-amplify/ui-react) | [![version](https://img.shields.io/npm/v/@aws-amplify/ui-react/latest.svg)](https://www.npmjs.com/package/@aws-amplify/ui-react) | [`README.md`](../amplify-ui-react/README.md) | [`React`](#react) | +| **Angular** | [`@aws-amplify/ui-angular`](https://www.npmjs.com/package/@aws-amplify/ui-angular) | [![version](https://img.shields.io/npm/v/@aws-amplify/ui-angular/latest.svg)](https://www.npmjs.com/package/@aws-amplify/ui-angular) | [`README.md`](../amplify-ui-angular/README.md) | [`Angular`](#angular) | +| **Vue** | [`@aws-amplify/ui-vue`](https://www.npmjs.com/package/@aws-amplify/ui-vue) | [![version](https://img.shields.io/npm/v/@aws-amplify/ui-vue/latest.svg)](https://www.npmjs.com/package/@aws-amplify/ui-vue) | [`README.md`](../amplify-ui-vue/README.md) | [`Vue`](#vue) | +| **Web Components** | [`@aws-amplify/ui-components`](https://www.npmjs.com/package/@aws-amplify/ui-components) | [![version](https://img.shields.io/npm/v/@aws-amplify/ui-components/latest.svg)](https://www.npmjs.com/package/@aws-amplify/ui-components) | [`README.md`](README.md) | [`Web Components`](#web-components) | ## Quick Start From 104b2783cbf0f94b78f543c94956b98e3611aa4f Mon Sep 17 00:00:00 2001 From: Manuel Iglesias <6154160+manueliglesias@users.noreply.github.com> Date: Wed, 17 Feb 2021 17:33:25 -0800 Subject: [PATCH 35/35] fix: AuthenticationHelper - Handle negative BigIntegers (#7618) * fix: Handle negative BigIntegers Using two's complement for negative numbers * Address PR comments * Address comments * Remove unused variable * Update packages/amazon-cognito-identity-js/src/AuthenticationHelper.js Co-authored-by: crockeea * Update packages/amazon-cognito-identity-js/src/AuthenticationHelper.js Co-authored-by: crockeea * Address PR comments * Move special case handling to negative block * Pad SaltToHashDevices * Make SaltToHashDevices to be unambiguously represented as a postive integer Co-authored-by: Sam Martinez Co-authored-by: crockeea --- .../__tests__/AuthenticationHelper-test.js | 554 ++++++++++++++++++ .../{src => __tests__}/BigInteger.test.js | 2 +- .../amazon-cognito-identity-js/package.json | 7 +- .../src/AuthenticationHelper.js | 100 +++- 4 files changed, 644 insertions(+), 19 deletions(-) create mode 100644 packages/amazon-cognito-identity-js/__tests__/AuthenticationHelper-test.js rename packages/amazon-cognito-identity-js/{src => __tests__}/BigInteger.test.js (89%) diff --git a/packages/amazon-cognito-identity-js/__tests__/AuthenticationHelper-test.js b/packages/amazon-cognito-identity-js/__tests__/AuthenticationHelper-test.js new file mode 100644 index 00000000000..39e6a25c6de --- /dev/null +++ b/packages/amazon-cognito-identity-js/__tests__/AuthenticationHelper-test.js @@ -0,0 +1,554 @@ +import AuthenticationHelper from '../src/AuthenticationHelper'; + +import BigInteger from '../src/BigInteger'; + +describe('AuthenticatorHelper', () => { + const instance = new AuthenticationHelper('TestPoolName'); + + /* + Test cases generated in Java with: + + import java.math.BigInteger; + public class Main + { + private static final char[] HEX_ARRAY = "0123456789ABCDEF".toCharArray(); + public static String bytesToHex(byte[] bytes) { + char[] hexChars = new char[bytes.length * 2]; + for (int j = 0; j < bytes.length; j++) { + int v = bytes[j] & 0xFF; + hexChars[j * 2] = HEX_ARRAY[v >>> 4]; + hexChars[j * 2 + 1] = HEX_ARRAY[v & 0x0F]; + } + return new String(hexChars); + } + public static void main(String[] args) { + for(int i = -256; i <=256; i++) { + byte arr[] = BigInteger.valueOf(i).toByteArray(); + System.out.println("[" + i +", '" + bytesToHex(arr) + "'],"); + } + } + } + */ + test.each([ + [-256, 'FF00'], + [-255, 'FF01'], + [-254, 'FF02'], + [-253, 'FF03'], + [-252, 'FF04'], + [-251, 'FF05'], + [-250, 'FF06'], + [-249, 'FF07'], + [-248, 'FF08'], + [-247, 'FF09'], + [-246, 'FF0A'], + [-245, 'FF0B'], + [-244, 'FF0C'], + [-243, 'FF0D'], + [-242, 'FF0E'], + [-241, 'FF0F'], + [-240, 'FF10'], + [-239, 'FF11'], + [-238, 'FF12'], + [-237, 'FF13'], + [-236, 'FF14'], + [-235, 'FF15'], + [-234, 'FF16'], + [-233, 'FF17'], + [-232, 'FF18'], + [-231, 'FF19'], + [-230, 'FF1A'], + [-229, 'FF1B'], + [-228, 'FF1C'], + [-227, 'FF1D'], + [-226, 'FF1E'], + [-225, 'FF1F'], + [-224, 'FF20'], + [-223, 'FF21'], + [-222, 'FF22'], + [-221, 'FF23'], + [-220, 'FF24'], + [-219, 'FF25'], + [-218, 'FF26'], + [-217, 'FF27'], + [-216, 'FF28'], + [-215, 'FF29'], + [-214, 'FF2A'], + [-213, 'FF2B'], + [-212, 'FF2C'], + [-211, 'FF2D'], + [-210, 'FF2E'], + [-209, 'FF2F'], + [-208, 'FF30'], + [-207, 'FF31'], + [-206, 'FF32'], + [-205, 'FF33'], + [-204, 'FF34'], + [-203, 'FF35'], + [-202, 'FF36'], + [-201, 'FF37'], + [-200, 'FF38'], + [-199, 'FF39'], + [-198, 'FF3A'], + [-197, 'FF3B'], + [-196, 'FF3C'], + [-195, 'FF3D'], + [-194, 'FF3E'], + [-193, 'FF3F'], + [-192, 'FF40'], + [-191, 'FF41'], + [-190, 'FF42'], + [-189, 'FF43'], + [-188, 'FF44'], + [-187, 'FF45'], + [-186, 'FF46'], + [-185, 'FF47'], + [-184, 'FF48'], + [-183, 'FF49'], + [-182, 'FF4A'], + [-181, 'FF4B'], + [-180, 'FF4C'], + [-179, 'FF4D'], + [-178, 'FF4E'], + [-177, 'FF4F'], + [-176, 'FF50'], + [-175, 'FF51'], + [-174, 'FF52'], + [-173, 'FF53'], + [-172, 'FF54'], + [-171, 'FF55'], + [-170, 'FF56'], + [-169, 'FF57'], + [-168, 'FF58'], + [-167, 'FF59'], + [-166, 'FF5A'], + [-165, 'FF5B'], + [-164, 'FF5C'], + [-163, 'FF5D'], + [-162, 'FF5E'], + [-161, 'FF5F'], + [-160, 'FF60'], + [-159, 'FF61'], + [-158, 'FF62'], + [-157, 'FF63'], + [-156, 'FF64'], + [-155, 'FF65'], + [-154, 'FF66'], + [-153, 'FF67'], + [-152, 'FF68'], + [-151, 'FF69'], + [-150, 'FF6A'], + [-149, 'FF6B'], + [-148, 'FF6C'], + [-147, 'FF6D'], + [-146, 'FF6E'], + [-145, 'FF6F'], + [-144, 'FF70'], + [-143, 'FF71'], + [-142, 'FF72'], + [-141, 'FF73'], + [-140, 'FF74'], + [-139, 'FF75'], + [-138, 'FF76'], + [-137, 'FF77'], + [-136, 'FF78'], + [-135, 'FF79'], + [-134, 'FF7A'], + [-133, 'FF7B'], + [-132, 'FF7C'], + [-131, 'FF7D'], + [-130, 'FF7E'], + [-129, 'FF7F'], + [-128, '80'], + [-127, '81'], + [-126, '82'], + [-125, '83'], + [-124, '84'], + [-123, '85'], + [-122, '86'], + [-121, '87'], + [-120, '88'], + [-119, '89'], + [-118, '8A'], + [-117, '8B'], + [-116, '8C'], + [-115, '8D'], + [-114, '8E'], + [-113, '8F'], + [-112, '90'], + [-111, '91'], + [-110, '92'], + [-109, '93'], + [-108, '94'], + [-107, '95'], + [-106, '96'], + [-105, '97'], + [-104, '98'], + [-103, '99'], + [-102, '9A'], + [-101, '9B'], + [-100, '9C'], + [-99, '9D'], + [-98, '9E'], + [-97, '9F'], + [-96, 'A0'], + [-95, 'A1'], + [-94, 'A2'], + [-93, 'A3'], + [-92, 'A4'], + [-91, 'A5'], + [-90, 'A6'], + [-89, 'A7'], + [-88, 'A8'], + [-87, 'A9'], + [-86, 'AA'], + [-85, 'AB'], + [-84, 'AC'], + [-83, 'AD'], + [-82, 'AE'], + [-81, 'AF'], + [-80, 'B0'], + [-79, 'B1'], + [-78, 'B2'], + [-77, 'B3'], + [-76, 'B4'], + [-75, 'B5'], + [-74, 'B6'], + [-73, 'B7'], + [-72, 'B8'], + [-71, 'B9'], + [-70, 'BA'], + [-69, 'BB'], + [-68, 'BC'], + [-67, 'BD'], + [-66, 'BE'], + [-65, 'BF'], + [-64, 'C0'], + [-63, 'C1'], + [-62, 'C2'], + [-61, 'C3'], + [-60, 'C4'], + [-59, 'C5'], + [-58, 'C6'], + [-57, 'C7'], + [-56, 'C8'], + [-55, 'C9'], + [-54, 'CA'], + [-53, 'CB'], + [-52, 'CC'], + [-51, 'CD'], + [-50, 'CE'], + [-49, 'CF'], + [-48, 'D0'], + [-47, 'D1'], + [-46, 'D2'], + [-45, 'D3'], + [-44, 'D4'], + [-43, 'D5'], + [-42, 'D6'], + [-41, 'D7'], + [-40, 'D8'], + [-39, 'D9'], + [-38, 'DA'], + [-37, 'DB'], + [-36, 'DC'], + [-35, 'DD'], + [-34, 'DE'], + [-33, 'DF'], + [-32, 'E0'], + [-31, 'E1'], + [-30, 'E2'], + [-29, 'E3'], + [-28, 'E4'], + [-27, 'E5'], + [-26, 'E6'], + [-25, 'E7'], + [-24, 'E8'], + [-23, 'E9'], + [-22, 'EA'], + [-21, 'EB'], + [-20, 'EC'], + [-19, 'ED'], + [-18, 'EE'], + [-17, 'EF'], + [-16, 'F0'], + [-15, 'F1'], + [-14, 'F2'], + [-13, 'F3'], + [-12, 'F4'], + [-11, 'F5'], + [-10, 'F6'], + [-9, 'F7'], + [-8, 'F8'], + [-7, 'F9'], + [-6, 'FA'], + [-5, 'FB'], + [-4, 'FC'], + [-3, 'FD'], + [-2, 'FE'], + [-1, 'FF'], + [0, '00'], + [1, '01'], + [2, '02'], + [3, '03'], + [4, '04'], + [5, '05'], + [6, '06'], + [7, '07'], + [8, '08'], + [9, '09'], + [10, '0A'], + [11, '0B'], + [12, '0C'], + [13, '0D'], + [14, '0E'], + [15, '0F'], + [16, '10'], + [17, '11'], + [18, '12'], + [19, '13'], + [20, '14'], + [21, '15'], + [22, '16'], + [23, '17'], + [24, '18'], + [25, '19'], + [26, '1A'], + [27, '1B'], + [28, '1C'], + [29, '1D'], + [30, '1E'], + [31, '1F'], + [32, '20'], + [33, '21'], + [34, '22'], + [35, '23'], + [36, '24'], + [37, '25'], + [38, '26'], + [39, '27'], + [40, '28'], + [41, '29'], + [42, '2A'], + [43, '2B'], + [44, '2C'], + [45, '2D'], + [46, '2E'], + [47, '2F'], + [48, '30'], + [49, '31'], + [50, '32'], + [51, '33'], + [52, '34'], + [53, '35'], + [54, '36'], + [55, '37'], + [56, '38'], + [57, '39'], + [58, '3A'], + [59, '3B'], + [60, '3C'], + [61, '3D'], + [62, '3E'], + [63, '3F'], + [64, '40'], + [65, '41'], + [66, '42'], + [67, '43'], + [68, '44'], + [69, '45'], + [70, '46'], + [71, '47'], + [72, '48'], + [73, '49'], + [74, '4A'], + [75, '4B'], + [76, '4C'], + [77, '4D'], + [78, '4E'], + [79, '4F'], + [80, '50'], + [81, '51'], + [82, '52'], + [83, '53'], + [84, '54'], + [85, '55'], + [86, '56'], + [87, '57'], + [88, '58'], + [89, '59'], + [90, '5A'], + [91, '5B'], + [92, '5C'], + [93, '5D'], + [94, '5E'], + [95, '5F'], + [96, '60'], + [97, '61'], + [98, '62'], + [99, '63'], + [100, '64'], + [101, '65'], + [102, '66'], + [103, '67'], + [104, '68'], + [105, '69'], + [106, '6A'], + [107, '6B'], + [108, '6C'], + [109, '6D'], + [110, '6E'], + [111, '6F'], + [112, '70'], + [113, '71'], + [114, '72'], + [115, '73'], + [116, '74'], + [117, '75'], + [118, '76'], + [119, '77'], + [120, '78'], + [121, '79'], + [122, '7A'], + [123, '7B'], + [124, '7C'], + [125, '7D'], + [126, '7E'], + [127, '7F'], + [128, '0080'], + [129, '0081'], + [130, '0082'], + [131, '0083'], + [132, '0084'], + [133, '0085'], + [134, '0086'], + [135, '0087'], + [136, '0088'], + [137, '0089'], + [138, '008A'], + [139, '008B'], + [140, '008C'], + [141, '008D'], + [142, '008E'], + [143, '008F'], + [144, '0090'], + [145, '0091'], + [146, '0092'], + [147, '0093'], + [148, '0094'], + [149, '0095'], + [150, '0096'], + [151, '0097'], + [152, '0098'], + [153, '0099'], + [154, '009A'], + [155, '009B'], + [156, '009C'], + [157, '009D'], + [158, '009E'], + [159, '009F'], + [160, '00A0'], + [161, '00A1'], + [162, '00A2'], + [163, '00A3'], + [164, '00A4'], + [165, '00A5'], + [166, '00A6'], + [167, '00A7'], + [168, '00A8'], + [169, '00A9'], + [170, '00AA'], + [171, '00AB'], + [172, '00AC'], + [173, '00AD'], + [174, '00AE'], + [175, '00AF'], + [176, '00B0'], + [177, '00B1'], + [178, '00B2'], + [179, '00B3'], + [180, '00B4'], + [181, '00B5'], + [182, '00B6'], + [183, '00B7'], + [184, '00B8'], + [185, '00B9'], + [186, '00BA'], + [187, '00BB'], + [188, '00BC'], + [189, '00BD'], + [190, '00BE'], + [191, '00BF'], + [192, '00C0'], + [193, '00C1'], + [194, '00C2'], + [195, '00C3'], + [196, '00C4'], + [197, '00C5'], + [198, '00C6'], + [199, '00C7'], + [200, '00C8'], + [201, '00C9'], + [202, '00CA'], + [203, '00CB'], + [204, '00CC'], + [205, '00CD'], + [206, '00CE'], + [207, '00CF'], + [208, '00D0'], + [209, '00D1'], + [210, '00D2'], + [211, '00D3'], + [212, '00D4'], + [213, '00D5'], + [214, '00D6'], + [215, '00D7'], + [216, '00D8'], + [217, '00D9'], + [218, '00DA'], + [219, '00DB'], + [220, '00DC'], + [221, '00DD'], + [222, '00DE'], + [223, '00DF'], + [224, '00E0'], + [225, '00E1'], + [226, '00E2'], + [227, '00E3'], + [228, '00E4'], + [229, '00E5'], + [230, '00E6'], + [231, '00E7'], + [232, '00E8'], + [233, '00E9'], + [234, '00EA'], + [235, '00EB'], + [236, '00EC'], + [237, '00ED'], + [238, '00EE'], + [239, '00EF'], + [240, '00F0'], + [241, '00F1'], + [242, '00F2'], + [243, '00F3'], + [244, '00F4'], + [245, '00F5'], + [246, '00F6'], + [247, '00F7'], + [248, '00F8'], + [249, '00F9'], + [250, '00FA'], + [251, '00FB'], + [252, '00FC'], + [253, '00FD'], + [254, '00FE'], + [255, '00FF'], + [256, '0100'], + ])('padHex(bigInteger.fromInt(%p))\t=== %p', (i, expected) => { + const bigInt = new BigInteger(); + bigInt.fromInt(i); + + const x = instance.padHex(bigInt); + + expect(x.toLowerCase()).toBe(expected.toLowerCase()); + }); +}); diff --git a/packages/amazon-cognito-identity-js/src/BigInteger.test.js b/packages/amazon-cognito-identity-js/__tests__/BigInteger.test.js similarity index 89% rename from packages/amazon-cognito-identity-js/src/BigInteger.test.js rename to packages/amazon-cognito-identity-js/__tests__/BigInteger.test.js index cf7db5871be..6876dd841d4 100644 --- a/packages/amazon-cognito-identity-js/src/BigInteger.test.js +++ b/packages/amazon-cognito-identity-js/__tests__/BigInteger.test.js @@ -1,4 +1,4 @@ -import BigInteger from './BigInteger'; +import BigInteger from '../src/BigInteger'; describe('BigInteger', () => { describe('.toString(radix)', () => { diff --git a/packages/amazon-cognito-identity-js/package.json b/packages/amazon-cognito-identity-js/package.json index 940eda6bc48..960aea2c35b 100644 --- a/packages/amazon-cognito-identity-js/package.json +++ b/packages/amazon-cognito-identity-js/package.json @@ -52,7 +52,7 @@ "doc": "jsdoc src -d docs", "lint": "eslint src", "lint2": "eslint enhance-rn.js", - "test": "jest -w 1 --passWithNoTests", + "test": "jest -w 1", "format": "echo \"Not implemented\"" }, "main": "lib/index.js", @@ -102,7 +102,8 @@ "esnext.asynciterable", "es2017.object" ], - "allowJs": true + "allowJs": true, + "esModuleInterop": true } } }, @@ -135,4 +136,4 @@ "lib" ] } -} +} \ No newline at end of file diff --git a/packages/amazon-cognito-identity-js/src/AuthenticationHelper.js b/packages/amazon-cognito-identity-js/src/AuthenticationHelper.js index 1f4dfaed5ed..a2fe9b91264 100644 --- a/packages/amazon-cognito-identity-js/src/AuthenticationHelper.js +++ b/packages/amazon-cognito-identity-js/src/AuthenticationHelper.js @@ -22,12 +22,23 @@ import SHA256 from 'crypto-js/sha256'; import HmacSHA256 from 'crypto-js/hmac-sha256'; import WordArray from './utils/WordArray'; -const randomBytes = function(nBytes) { +/** + * Returns a Buffer with a sequence of random nBytes + * + * @param {number} nBytes + * @returns {Buffer} fixed-length sequence of random bytes + */ +function randomBytes(nBytes) { return Buffer.from(new WordArray().random(nBytes).toString(), 'hex'); }; import BigInteger from './BigInteger'; +/** + * Tests if a hex string has it most significant bit set (case-insensitive regex) + */ +const HEX_MSB_REGEX = /^[89a-f]/i; + const initN = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD1' + '29024E088A67CC74020BBEA63B139B22514A08798E3404DD' + @@ -58,12 +69,12 @@ export default class AuthenticationHelper { this.N = new BigInteger(initN, 16); this.g = new BigInteger('2', 16); this.k = new BigInteger( - this.hexHash(`00${this.N.toString(16)}0${this.g.toString(16)}`), + this.hexHash(`${this.padHex(this.N)}${this.padHex(this.g)}`), 16 ); this.smallAValue = this.generateRandomSmallA(); - this.getLargeAValue(() => {}); + this.getLargeAValue(() => { }); this.infoBits = Buffer.from('Caldera Derived Key', 'utf8'); @@ -102,12 +113,14 @@ export default class AuthenticationHelper { * @private */ generateRandomSmallA() { + // This will be interpreted as a postive 128-bit integer const hexRandom = randomBytes(128).toString('hex'); const randomBigInt = new BigInteger(hexRandom, 16); - const smallABigInt = randomBigInt.mod(this.N); - return smallABigInt; + // There is no need to do randomBigInt.mod(this.N - 1) as N (3072-bit) is > 128 bytes (1024-bit) + + return randomBigInt; } /** @@ -153,6 +166,8 @@ export default class AuthenticationHelper { const hashedString = this.hash(combinedString); const hexRandom = randomBytes(16).toString('hex'); + + // The random hex will be unambiguously represented as a postive integer this.SaltToHashDevices = this.padHex(new BigInteger(hexRandom, 16)); this.g.modPow( @@ -293,7 +308,7 @@ export default class AuthenticationHelper { const hkdf = this.computehkdf( Buffer.from(this.padHex(sValue), 'hex'), - Buffer.from(this.padHex(this.UValue.toString(16)), 'hex') + Buffer.from(this.padHex(this.UValue), 'hex') ); callback(null, hkdf); @@ -337,17 +352,72 @@ export default class AuthenticationHelper { } /** - * Converts a BigInteger (or hex string) to hex format padded with zeroes for hashing - * @param {BigInteger|String} bigInt Number or string to pad. - * @returns {String} Padded hex string. + * Returns an unambiguous, even-length hex string of the two's complement encoding of an integer. + * + * It is compatible with the hex encoding of Java's BigInteger's toByteArray(), wich returns a + * byte array containing the two's-complement representation of a BigInteger. The array contains + * the minimum number of bytes required to represent the BigInteger, including at least one sign bit. + * + * Examples showing how ambiguity is avoided by left padding with: + * "00" (for positive values where the most-significant-bit is set) + * "FF" (for negative values where the most-significant-bit is set) + * + * padHex(bigInteger.fromInt(-236)) === "FF14" + * padHex(bigInteger.fromInt(20)) === "14" + * + * padHex(bigInteger.fromInt(-200)) === "FF38" + * padHex(bigInteger.fromInt(56)) === "38" + * + * padHex(bigInteger.fromInt(-20)) === "EC" + * padHex(bigInteger.fromInt(236)) === "00EC" + * + * padHex(bigInteger.fromInt(-56)) === "C8" + * padHex(bigInteger.fromInt(200)) === "00C8" + * + * @param {BigInteger} bigInt Number to encode. + * @returns {String} even-length hex string of the two's complement encoding. */ padHex(bigInt) { - let hashStr = bigInt.toString(16); - if (hashStr.length % 2 === 1) { - hashStr = `0${hashStr}`; - } else if ('89ABCDEFabcdef'.indexOf(hashStr[0]) !== -1) { - hashStr = `00${hashStr}`; + if (!(bigInt instanceof BigInteger)) { + throw new Error('Not a BigInteger'); + } + + const isNegative = bigInt.compareTo(BigInteger.ZERO) < 0; + + /* Get a hex string for abs(bigInt) */ + let hexStr = bigInt.abs().toString(16); + + /* Pad hex to even length if needed */ + hexStr = hexStr.length % 2 !== 0 ? `0${hexStr}` : hexStr; + + /* Prepend "00" if the most significant bit is set */ + hexStr = HEX_MSB_REGEX.test(hexStr) ? `00${hexStr}` : hexStr; + + if (isNegative) { + /* Flip the bits of the representation */ + const invertedNibbles = hexStr.split('').map(x => { + const invertedNibble = ~parseInt(x, 16) & 0xf; + return '0123456789ABCDEF'.charAt(invertedNibble); + }).join(''); + + /* After flipping the bits, add one to get the 2's complement representation */ + const flippedBitsBI = new BigInteger(invertedNibbles, 16).add(BigInteger.ONE); + + hexStr = flippedBitsBI.toString(16); + + /* + For hex strings starting with 'FF8', 'FF' can be dropped, e.g. 0xFFFF80=0xFF80=0x80=-128 + + Any sequence of '1' bits on the left can always be substituted with a single '1' bit + without changing the represented value. + + This only happens in the case when the input is 80...00 + */ + if (hexStr.toUpperCase().startsWith('FF8')) { + hexStr = hexStr.substring(2); + } } - return hashStr; + + return hexStr; } }