diff --git a/.github/actions/bundle-size-action/next/package.json b/.github/actions/bundle-size-action/next/package.json index 5aa6d08a3fb..fcd125d911e 100644 --- a/.github/actions/bundle-size-action/next/package.json +++ b/.github/actions/bundle-size-action/next/package.json @@ -34,7 +34,7 @@ "dependencies": { "@next/bundle-analyzer": "^10.0.7", "aws-amplify": "unstable", - "next": "^11.1.3", + "next": "^12.1.0", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 998a9733098..df5633b202f 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -205,15 +205,15 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) - mini_portile2 (2.6.1) + mini_portile2 (2.8.0) minima (2.5.1) jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) minitest (5.14.4) multipart-post (2.1.1) - nokogiri (1.12.5) - mini_portile2 (~> 2.6.1) + nokogiri (1.13.3) + mini_portile2 (~> 2.8.0) racc (~> 1.4) octokit (4.20.0) faraday (>= 0.9) @@ -221,7 +221,7 @@ GEM pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (4.0.6) - racc (1.5.2) + racc (1.6.0) rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) diff --git a/packages/amazon-cognito-identity-js/CHANGELOG.md b/packages/amazon-cognito-identity-js/CHANGELOG.md index 3aadd9748d9..dafb9ffae87 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. +## [5.2.7](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@5.2.6...amazon-cognito-identity-js@5.2.7) (2022-02-28) + + +### Bug Fixes + +* pin async storage to 1.15.17 ([#9570](https://github.com/aws-amplify/amplify-js/issues/9570)) ([bc5235a](https://github.com/aws-amplify/amplify-js/commit/bc5235ac0d15242f7a13457f40999b5331823395)) +* pin babel-core and babel-cli version ([#9593](https://github.com/aws-amplify/amplify-js/issues/9593)) ([a0fc830](https://github.com/aws-amplify/amplify-js/commit/a0fc830626ea5466555f2f60d66cc496145a5d1b)) + + + + + ## [5.2.6](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@5.2.5...amazon-cognito-identity-js@5.2.6) (2022-02-03) **Note:** Version bump only for package amazon-cognito-identity-js diff --git a/packages/amazon-cognito-identity-js/LICENSE.txt b/packages/amazon-cognito-identity-js/LICENSE.txt index ec82dbef10d..137069b8238 100644 --- a/packages/amazon-cognito-identity-js/LICENSE.txt +++ b/packages/amazon-cognito-identity-js/LICENSE.txt @@ -1,27 +1,73 @@ -Amazon Software License -This Amazon Software License (“License”) governs your use, reproduction, and distribution of the accompanying software as specified below. -1. Definitions -“Licensor” means any person or entity that distributes its Work. - -“Software” means the original work of authorship made available under this License. - -“Work” means the Software and any additions to or derivative works of the Software that are made available under this License. - -The terms “reproduce,” “reproduction,” “derivative works,” and “distribution” have the meaning as provided under U.S. copyright law; provided, however, that for the purposes of this License, derivative works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work. - -Works, including the Software, are “made available” under this License by including in or with the Work either (a) a copyright notice referencing the applicability of this License to the Work, or (b) a copy of this License. -2. License Grants -2.1 Copyright Grant. Subject to the terms and conditions of this License, each Licensor grants to you a perpetual, worldwide, non-exclusive, royalty-free, copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense and distribute its Work and any resulting derivative works in any form. -2.2 Patent Grant. Subject to the terms and conditions of this License, each Licensor grants to you a perpetual, worldwide, non-exclusive, royalty-free patent license to make, have made, use, sell, offer for sale, import, and otherwise transfer its Work, in whole or in part. The foregoing license applies only to the patent claims licensable by Licensor that would be infringed by Licensor’s Work (or portion thereof) individually and excluding any combinations with any other materials or technology. -3. Limitations -3.1 Redistribution. You may reproduce or distribute the Work only if (a) you do so under this License, (b) you include a complete copy of this License with your distribution, and (c) you retain without modification any copyright, patent, trademark, or attribution notices that are present in the Work. -3.2 Derivative Works. You may specify that additional or different terms apply to the use, reproduction, and distribution of your derivative works of the Work (“Your Terms”) only if (a) Your Terms provide that the use limitation in Section 3.3 applies to your derivative works, and (b) you identify the specific derivative works that are subject to Your Terms. Notwithstanding Your Terms, this License (including the redistribution requirements in Section 3.1) will continue to apply to the Work itself. -3.3 Use Limitation. The Work and any derivative works thereof only may be used or intended for use with the web services, computing platforms or applications provided by Amazon.com, Inc. or its affiliates, including Amazon Web Services, Inc. -3.4 Patent Claims. If you bring or threaten to bring a patent claim against any Licensor (including any claim, cross-claim or counterclaim in a lawsuit) to enforce any patents that you allege are infringed by any Work, then your rights under this License from such Licensor (including the grants in Sections 2.1 and 2.2) will terminate immediately. -3.5 Trademarks. This License does not grant any rights to use any Licensor’s or its affiliates’ names, logos, or trademarks, except as necessary to reproduce the notices described in this License. -3.6 Termination. If you violate any term of this License, then your rights under this License (including the grants in Sections 2.1 and 2.2) will terminate immediately. -4. Disclaimer of Warranty. -THE WORK IS PROVIDED “AS IS” WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OR CONDITIONS OF M ERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT. YOU BEAR THE RISK OF UNDERTAKING ANY ACTIVITIES UNDER THIS LICENSE. SOME STATES’ CONSUMER LAWS DO NOT ALLOW EXCLUSION OF AN IMPLIED WARRANTY, SO THIS DISCLAIMER MAY NOT APPLY TO YOU. -5. Limitation of Liability. -EXCEPT AS PROHIBITED BY APPLICABLE LAW, IN NO EVENT AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE SHALL ANY LICENSOR BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATED TO THIS LICENSE, THE USE OR INABILITY TO USE THE WORK (INCLUDING BUT NOT LIMITED TO LOSS OF GOODWILL, BUSINESS INTERRUPTION, LOST PROFITS OR DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY OTHER COMM ERCIAL DAMAGES OR LOSSES), EVEN IF THE LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -Effective Date – April 18, 2008 © 2008 Amazon.com, Inc. or its affiliates. All rights reserved. +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/packages/amazon-cognito-identity-js/NOTICE.txt b/packages/amazon-cognito-identity-js/NOTICE.txt index 04372e1c1c1..678f9c69310 100644 --- a/packages/amazon-cognito-identity-js/NOTICE.txt +++ b/packages/amazon-cognito-identity-js/NOTICE.txt @@ -1,5 +1,5 @@ Amazon Cognito Identity Provider SDK for JavaScript -Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. ========================================================================= == JavaScript BN library Notice == @@ -8,6 +8,35 @@ Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. This product includes software developed by Tom Wu at Stanford University. http://www-cs-students.stanford.edu/%7Etjw/jsbn/jsbn.js +Copyright (c) 2003-2005 Tom Wu +All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, +EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY +WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER +RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF +THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +In addition, the following condition applies: + +All redistributions must retain an intact copy of this copyright notice +and disclaimer. + ========================================================================= == JKBigInteger library Notice == ========================================================================= diff --git a/packages/amazon-cognito-identity-js/RNAWSCognito.podspec b/packages/amazon-cognito-identity-js/RNAWSCognito.podspec index 99fbe9f04aa..b6184d82577 100644 --- a/packages/amazon-cognito-identity-js/RNAWSCognito.podspec +++ b/packages/amazon-cognito-identity-js/RNAWSCognito.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.version = package['version'] s.requires_arc = true s.platforms = { :ios => "8.0" } - s.license = { :file => 'LICENSE.txt' } + s.license = { :type => 'Apache-2.0', :file => 'LICENSE.txt' } s.homepage = "https://github.com/aws-amplify/amplify-js/tree/main/packages/amazon-cognito-identity-js" s.author = "Amazon" diff --git a/packages/amazon-cognito-identity-js/ios/JKBigInteger/LICENSE.txt b/packages/amazon-cognito-identity-js/ios/JKBigInteger/LICENSE.txt new file mode 100644 index 00000000000..319d57c4936 --- /dev/null +++ b/packages/amazon-cognito-identity-js/ios/JKBigInteger/LICENSE.txt @@ -0,0 +1,18 @@ +Copyright (C) 2013 Jānis Kiršteins + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/packages/amazon-cognito-identity-js/package.json b/packages/amazon-cognito-identity-js/package.json index 26befc2b565..66479b0b345 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": "5.2.6", + "version": "5.2.7", "author": { "name": "Amazon Web Services", "email": "aws@amazon.com", @@ -26,13 +26,7 @@ "type": "git", "url": "https://github.com/aws-amplify/amplify-js.git" }, - "license": "SEE LICENSE IN LICENSE.txt", - "licenses": [ - { - "type": "Amazon Software License", - "url": "http://aws.amazon.com/asl" - } - ], + "license": "Apache-2.0", "keywords": [ "amazon", "aws", diff --git a/packages/amazon-cognito-identity-js/src/AuthenticationDetails.js b/packages/amazon-cognito-identity-js/src/AuthenticationDetails.js index 2d69472c491..3d667dcec96 100644 --- a/packages/amazon-cognito-identity-js/src/AuthenticationDetails.js +++ b/packages/amazon-cognito-identity-js/src/AuthenticationDetails.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ /** @class */ diff --git a/packages/amazon-cognito-identity-js/src/AuthenticationHelper.js b/packages/amazon-cognito-identity-js/src/AuthenticationHelper.js index c3878ae3b59..4bc355af5ad 100644 --- a/packages/amazon-cognito-identity-js/src/AuthenticationHelper.js +++ b/packages/amazon-cognito-identity-js/src/AuthenticationHelper.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ import { Buffer } from 'buffer'; diff --git a/packages/amazon-cognito-identity-js/src/CognitoAccessToken.js b/packages/amazon-cognito-identity-js/src/CognitoAccessToken.js index ed92668e783..aa5ff246ec7 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoAccessToken.js +++ b/packages/amazon-cognito-identity-js/src/CognitoAccessToken.js @@ -1,18 +1,6 @@ -/* - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. +/*! + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ import CognitoJwtToken from './CognitoJwtToken'; diff --git a/packages/amazon-cognito-identity-js/src/CognitoIdToken.js b/packages/amazon-cognito-identity-js/src/CognitoIdToken.js index a6f44092eda..86a11d6d856 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoIdToken.js +++ b/packages/amazon-cognito-identity-js/src/CognitoIdToken.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ import CognitoJwtToken from './CognitoJwtToken'; diff --git a/packages/amazon-cognito-identity-js/src/CognitoJwtToken.js b/packages/amazon-cognito-identity-js/src/CognitoJwtToken.js index 396e5fed01b..84a34d91219 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoJwtToken.js +++ b/packages/amazon-cognito-identity-js/src/CognitoJwtToken.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ import { Buffer } from 'buffer'; diff --git a/packages/amazon-cognito-identity-js/src/CognitoRefreshToken.js b/packages/amazon-cognito-identity-js/src/CognitoRefreshToken.js index 577a7229161..7eefa8882ac 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoRefreshToken.js +++ b/packages/amazon-cognito-identity-js/src/CognitoRefreshToken.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ /** @class */ diff --git a/packages/amazon-cognito-identity-js/src/CognitoUser.js b/packages/amazon-cognito-identity-js/src/CognitoUser.js index be9e3a0a0c7..e76745818a2 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoUser.js +++ b/packages/amazon-cognito-identity-js/src/CognitoUser.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ import { Buffer } from 'buffer'; diff --git a/packages/amazon-cognito-identity-js/src/CognitoUserAttribute.js b/packages/amazon-cognito-identity-js/src/CognitoUserAttribute.js index da163cf87fe..ed3745fe8e6 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoUserAttribute.js +++ b/packages/amazon-cognito-identity-js/src/CognitoUserAttribute.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ /** @class */ diff --git a/packages/amazon-cognito-identity-js/src/CognitoUserPool.js b/packages/amazon-cognito-identity-js/src/CognitoUserPool.js index b2af531f4c7..87a134cdc8e 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoUserPool.js +++ b/packages/amazon-cognito-identity-js/src/CognitoUserPool.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ import Client from './Client'; diff --git a/packages/amazon-cognito-identity-js/src/CognitoUserSession.js b/packages/amazon-cognito-identity-js/src/CognitoUserSession.js index fe30b6d562d..c6a7b1fa18b 100644 --- a/packages/amazon-cognito-identity-js/src/CognitoUserSession.js +++ b/packages/amazon-cognito-identity-js/src/CognitoUserSession.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ /** @class */ diff --git a/packages/amazon-cognito-identity-js/src/DateHelper.js b/packages/amazon-cognito-identity-js/src/DateHelper.js index de35bda1375..7678b78b3b0 100644 --- a/packages/amazon-cognito-identity-js/src/DateHelper.js +++ b/packages/amazon-cognito-identity-js/src/DateHelper.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ const monthNames = [ diff --git a/packages/amazon-cognito-identity-js/src/Platform/index.js b/packages/amazon-cognito-identity-js/src/Platform/index.js index bfd216da353..99c16a8c9be 100644 --- a/packages/amazon-cognito-identity-js/src/Platform/index.js +++ b/packages/amazon-cognito-identity-js/src/Platform/index.js @@ -1,14 +1,6 @@ -/* - * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with - * the License. A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions - * and limitations under the License. +/*! + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ import { version } from './version'; diff --git a/packages/amazon-cognito-identity-js/src/StorageHelper-rn.js b/packages/amazon-cognito-identity-js/src/StorageHelper-rn.js index 02c35391cd1..51a57fc912b 100644 --- a/packages/amazon-cognito-identity-js/src/StorageHelper-rn.js +++ b/packages/amazon-cognito-identity-js/src/StorageHelper-rn.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ import AsyncStorage from '@react-native-async-storage/async-storage'; diff --git a/packages/amazon-cognito-identity-js/src/StorageHelper.js b/packages/amazon-cognito-identity-js/src/StorageHelper.js index bd85a15ff0e..17a5c46e33b 100644 --- a/packages/amazon-cognito-identity-js/src/StorageHelper.js +++ b/packages/amazon-cognito-identity-js/src/StorageHelper.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ let dataMemory = {}; diff --git a/packages/amazon-cognito-identity-js/src/index.js b/packages/amazon-cognito-identity-js/src/index.js index 8a5d3c0cab0..c82856b7740 100644 --- a/packages/amazon-cognito-identity-js/src/index.js +++ b/packages/amazon-cognito-identity-js/src/index.js @@ -1,18 +1,6 @@ /*! - * Copyright 2016 Amazon.com, - * Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Amazon Software License (the "License"). - * You may not use this file except in compliance with the - * License. A copy of the License is located at - * - * http://aws.amazon.com/asl/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, express or implied. See the License - * for the specific language governing permissions and - * limitations under the License. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 */ export { default as AuthenticationDetails } from './AuthenticationDetails'; diff --git a/packages/amazon-cognito-identity-js/webpack.config.js b/packages/amazon-cognito-identity-js/webpack.config.js index d344cb92c51..23c7fd54d53 100644 --- a/packages/amazon-cognito-identity-js/webpack.config.js +++ b/packages/amazon-cognito-identity-js/webpack.config.js @@ -7,20 +7,8 @@ var webpack = require('webpack'); var banner = '/*!\n' + - ' * Copyright 2016 Amazon.com,\n' + - ' * Inc. or its affiliates. All Rights Reserved.\n' + - ' * \n' + - ' * Licensed under the Amazon Software License (the "License").\n' + - ' * You may not use this file except in compliance with the\n' + - ' * License. A copy of the License is located at\n' + - ' * \n' + - ' * http://aws.amazon.com/asl/\n' + - ' * \n' + - ' * or in the "license" file accompanying this file. This file is\n' + - ' * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR\n' + - ' * CONDITIONS OF ANY KIND, express or implied. See the License\n' + - ' * for the specific language governing permissions and\n' + - ' * limitations under the License. \n' + + ' * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n' + + ' * SPDX-License-Identifier: Apache-2.0\n' + ' */\n\n'; var config = { diff --git a/packages/amplify-ui-angular/CHANGELOG.md b/packages/amplify-ui-angular/CHANGELOG.md index b62d92d3131..87f76cc6362 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.42](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@1.0.41...@aws-amplify/ui-angular@1.0.42) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/ui-angular + + + + + ## [1.0.41](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@1.0.40...@aws-amplify/ui-angular@1.0.41) (2022-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 4a81d35815a..0f13dd20d34 100644 --- a/packages/amplify-ui-angular/package.json +++ b/packages/amplify-ui-angular/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-angular", "private": "true", - "version": "1.0.41", + "version": "1.0.42", "description": "Angular specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -32,7 +32,7 @@ "dist/" ], "dependencies": { - "@aws-amplify/ui-components": "1.9.12" + "@aws-amplify/ui-components": "1.9.13" }, "devDependencies": { "@angular/compiler-cli": "^7.2.1", diff --git a/packages/amplify-ui-components/CHANGELOG.md b/packages/amplify-ui-components/CHANGELOG.md index 1b2585f529b..1eb13dcf616 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.9.13](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@1.9.12...@aws-amplify/ui-components@1.9.13) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/ui-components + + + + + ## [1.9.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@1.9.11...@aws-amplify/ui-components@1.9.12) (2022-02-03) **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 be0192b87c3..c2466a162c2 100644 --- a/packages/amplify-ui-components/package.json +++ b/packages/amplify-ui-components/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-components", "private": "true", - "version": "1.9.12", + "version": "1.9.13", "description": "Core Amplify UI Component Library", "module": "dist/index.mjs", "main": "dist/index.js", @@ -43,7 +43,7 @@ "uuid": "^8.2.0" }, "devDependencies": { - "@aws-amplify/auth": "4.4.1", + "@aws-amplify/auth": "4.4.2", "@stencil/angular-output-target": "^0.0.2", "@stencil/core": "1.15.0", "@stencil/eslint-plugin": "0.2.1", diff --git a/packages/amplify-ui-react/CHANGELOG.md b/packages/amplify-ui-react/CHANGELOG.md index 1ec62472f19..36ab88cd491 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.2.33](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@1.2.32...@aws-amplify/ui-react@1.2.33) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/ui-react + + + + + ## [1.2.32](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@1.2.31...@aws-amplify/ui-react@1.2.32) (2022-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 40ae5483b61..7221ef9fc9d 100755 --- a/packages/amplify-ui-react/package.json +++ b/packages/amplify-ui-react/package.json @@ -2,7 +2,7 @@ "name": "@aws-amplify/ui-react", "private": "true", "sideEffects": false, - "version": "1.2.32", + "version": "1.2.33", "description": "React specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -33,7 +33,7 @@ "typescript": "^3.3.4000" }, "dependencies": { - "@aws-amplify/ui-components": "1.9.12" + "@aws-amplify/ui-components": "1.9.13" }, "peerDependencies": { "react": ">= 16.7.0", diff --git a/packages/amplify-ui-storybook/CHANGELOG.md b/packages/amplify-ui-storybook/CHANGELOG.md index 5a97ec0221b..f70a3c56447 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. +## [2.0.33](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@2.0.32...@aws-amplify/ui-storybook@2.0.33) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/ui-storybook + + + + + ## [2.0.32](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@2.0.31...@aws-amplify/ui-storybook@2.0.32) (2022-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 40983386757..8a6d7cdf45d 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": "2.0.32", + "version": "2.0.33", "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": "4.3.14", + "aws-amplify": "4.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 6d33aa62ca5..9c48aa26a2b 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.1.27](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@1.1.26...@aws-amplify/ui-vue@1.1.27) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/ui-vue + + + + + ## [1.1.26](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@1.1.25...@aws-amplify/ui-vue@1.1.26) (2022-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 78048ea5fe6..d6205ab6f80 100644 --- a/packages/amplify-ui-vue/package.json +++ b/packages/amplify-ui-vue/package.json @@ -2,7 +2,7 @@ "name": "@aws-amplify/ui-vue", "private": "true", "sideEffects": true, - "version": "1.1.26", + "version": "1.1.27", "description": "Vue specific wrapper for @aws-amplify/ui-components", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "url": "https://github.com/aws-amplify/amplify-js.git" }, "dependencies": { - "@aws-amplify/ui-components": "1.9.12" + "@aws-amplify/ui-components": "1.9.13" }, "devDependencies": { "rimraf": "^3.0.2" diff --git a/packages/analytics/CHANGELOG.md b/packages/analytics/CHANGELOG.md index 3589a1bdebf..3dd96172aae 100644 --- a/packages/analytics/CHANGELOG.md +++ b/packages/analytics/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.2.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.12...@aws-amplify/analytics@5.2.0) (2022-02-28) + + +### Bug Fixes + +* **@aws-amplify/analytics:** Analytics/types hotfix ([#9648](https://github.com/aws-amplify/amplify-js/issues/9648)) ([ad45ef6](https://github.com/aws-amplify/amplify-js/commit/ad45ef6538675b59b15eba513eab916e8b5d36e1)) + + +### Features + +* **@aws-amplify/analytics:** Analytics Typescript updates ([#9272](https://github.com/aws-amplify/amplify-js/issues/9272)) ([9a52c2b](https://github.com/aws-amplify/amplify-js/commit/9a52c2b6a59bf0d9622a2572f8752b7b419c0817)) + + + + + ## [5.1.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.11...@aws-amplify/analytics@5.1.12) (2022-02-03) **Note:** Version bump only for package @aws-amplify/analytics diff --git a/packages/analytics/package.json b/packages/analytics/package.json index 2a12989734b..9385ca062ad 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/analytics", - "version": "5.1.12", + "version": "5.2.0", "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": "4.0.34", - "@aws-amplify/core": "4.3.14", + "@aws-amplify/cache": "4.0.35", + "@aws-amplify/core": "4.4.0", "@aws-sdk/client-firehose": "3.6.1", "@aws-sdk/client-kinesis": "3.6.1", "@aws-sdk/client-personalize-events": "3.6.1", diff --git a/packages/analytics/src/Analytics.ts b/packages/analytics/src/Analytics.ts index b949414dd0f..3873cb86cf1 100644 --- a/packages/analytics/src/Analytics.ts +++ b/packages/analytics/src/Analytics.ts @@ -24,7 +24,9 @@ import { EventAttributes, EventMetrics, AnalyticsEvent, - AutoTrackOpts, + AutoTrackSessionOpts, + AutoTrackPageViewOpts, + AutoTrackEventOpts, } from './types'; import { PageViewTracker, EventTracker, SessionTracker } from './trackers'; @@ -62,7 +64,7 @@ export class AnalyticsClass { private _config; private _pluggables: AnalyticsProvider[]; private _disabled: boolean; - private _trackers: Trackers; + private _trackers: Trackers | {}; /** * Initialize Analtyics @@ -72,6 +74,7 @@ export class AnalyticsClass { this._config = {}; this._pluggables = []; this._disabled = false; + this._trackers = {}; _instance = this; this.record = this.record.bind(this); @@ -298,7 +301,15 @@ export class AnalyticsClass { * @param trackerType - The type of tracker to activate. * @param [opts] - Auto tracking options. */ - public autoTrack(trackerType: TrackerTypes, opts: AutoTrackOpts) { + public autoTrack(trackerType: 'session', opts: AutoTrackSessionOpts); + public autoTrack(trackerType: 'pageView', opts: AutoTrackPageViewOpts); + public autoTrack(trackerType: 'event', opts: AutoTrackEventOpts); + // ensures backwards compatibility for non-pinpoint provider users + public autoTrack( + trackerType: TrackerTypes, + opts: { provider: string; [key: string]: any } + ); + public autoTrack(trackerType: TrackerTypes, opts: { [key: string]: any }) { if (!trackers[trackerType]) { logger.debug('invalid tracker type'); return; diff --git a/packages/analytics/src/types/Analytics.ts b/packages/analytics/src/types/Analytics.ts index 962cfc26554..38427360af1 100644 --- a/packages/analytics/src/types/Analytics.ts +++ b/packages/analytics/src/types/Analytics.ts @@ -59,10 +59,31 @@ export interface SessionTrackOpts { provider?: string; } -export interface AutoTrackOpts { +export type AutoTrackAttributes = + | (() => EventAttributes | Promise) + | EventAttributes; + +export interface AutoTrackSessionOpts { enable: boolean; - attributes?: EventAttributes; + attributes?: AutoTrackAttributes; + provider?: string; +} + +export interface AutoTrackPageViewOpts { + enable: boolean; + eventName?: string; + attributes?: AutoTrackAttributes; + type?: 'SPA' | 'multiPageApp'; + provider?: string; + getUrl?: () => string; +} + +export interface AutoTrackEventOpts { + enable: boolean; + events?: string[]; + selectorPrefix?: string; provider?: string; + attributes?: AutoTrackAttributes; } export interface AnalyticsEvent { diff --git a/packages/api-graphql/CHANGELOG.md b/packages/api-graphql/CHANGELOG.md index 4be20930302..733f84a1ad8 100644 --- a/packages/api-graphql/CHANGELOG.md +++ b/packages/api-graphql/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.2.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@2.2.21...@aws-amplify/api-graphql@2.2.22) (2022-02-28) + + +### Bug Fixes + +* **@aws-amplify/api:** Improve API.graphql return type ([#9197](https://github.com/aws-amplify/amplify-js/issues/9197)) ([9a0531b](https://github.com/aws-amplify/amplify-js/commit/9a0531b11e9eb6659d36ca0c51c642b3d947f63c)) + + + + + ## [2.2.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@2.2.20...@aws-amplify/api-graphql@2.2.21) (2022-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 0e617cf1557..bd5aa4de6c8 100644 --- a/packages/api-graphql/package.json +++ b/packages/api-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-graphql", - "version": "2.2.21", + "version": "2.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": "2.0.32", - "@aws-amplify/auth": "4.4.1", - "@aws-amplify/cache": "4.0.34", - "@aws-amplify/core": "4.3.14", - "@aws-amplify/pubsub": "4.2.8", + "@aws-amplify/api-rest": "2.0.33", + "@aws-amplify/auth": "4.4.2", + "@aws-amplify/cache": "4.0.35", + "@aws-amplify/core": "4.4.0", + "@aws-amplify/pubsub": "4.2.9", "graphql": "15.8.0", "uuid": "^3.2.1", "zen-observable-ts": "0.8.19" diff --git a/packages/api-graphql/src/GraphQLAPI.ts b/packages/api-graphql/src/GraphQLAPI.ts index 6a17bfd5762..ce6f0fdcd23 100644 --- a/packages/api-graphql/src/GraphQLAPI.ts +++ b/packages/api-graphql/src/GraphQLAPI.ts @@ -16,6 +16,7 @@ import { print, parse, GraphQLError, + OperationTypeNode, } from 'graphql'; import Observable from 'zen-observable-ts'; import { @@ -28,7 +29,12 @@ import { import PubSub from '@aws-amplify/pubsub'; import Auth from '@aws-amplify/auth'; import Cache from '@aws-amplify/cache'; -import { GraphQLAuthError, GraphQLOptions, GraphQLResult } from './types'; +import { + GraphQLAuthError, + GraphQLOptions, + GraphQLResult, + GraphQLOperation, +} from './types'; import { RestClient } from '@aws-amplify/api-rest'; const USER_AGENT_HEADER = 'x-amz-user-agent'; @@ -124,10 +130,8 @@ export class GraphQLAPIClass { defaultAuthenticationType?, additionalHeaders: { [key: string]: string } = {} ) { - const { - aws_appsync_authenticationType, - aws_appsync_apiKey: apiKey, - } = this._options; + const { aws_appsync_authenticationType, aws_appsync_apiKey: apiKey } = + this._options; const authenticationType = defaultAuthenticationType || aws_appsync_authenticationType || 'AWS_IAM'; let headers = {}; @@ -203,11 +207,10 @@ export class GraphQLAPIClass { * to get the operation type * @param operation */ - getGraphqlOperationType(operation) { + getGraphqlOperationType(operation: GraphQLOperation): OperationTypeNode { const doc = parse(operation); - const definitions = doc.definitions as ReadonlyArray< - OperationDefinitionNode - >; + const definitions = + doc.definitions as ReadonlyArray; const [{ operation: operationType }] = definitions; return operationType; @@ -216,25 +219,24 @@ export class GraphQLAPIClass { /** * Executes a GraphQL operation * - * @param {GraphQLOptions} GraphQL Options - * @param {object} additionalHeaders headers to merge in after any `graphql_headers` set in the config - * @returns {Promise | Observable} + * @param options - GraphQL Options + * @param [additionalHeaders] - headers to merge in after any `graphql_headers` set in the config + * @returns An Observable if the query is a subscription query, else a promise of the graphql result. */ - graphql( + graphql( { query: paramQuery, variables = {}, authMode, authToken }: GraphQLOptions, additionalHeaders?: { [key: string]: string } - ) { + ): Observable> | Promise> { const query = typeof paramQuery === 'string' ? parse(paramQuery) : parse(print(paramQuery)); const [operationDef = {}] = query.definitions.filter( - def => def.kind === 'OperationDefinition' + (def) => def.kind === 'OperationDefinition' ); - const { - operation: operationType, - } = operationDef as OperationDefinitionNode; + const { operation: operationType } = + operationDef as OperationDefinitionNode; const headers = additionalHeaders || {}; @@ -248,7 +250,7 @@ export class GraphQLAPIClass { case 'mutation': const cancellableToken = this._api.getCancellableToken(); const initParams = { cancellableToken }; - const responsePromise = this._graphql( + const responsePromise = this._graphql( { query, variables, authMode }, headers, initParams @@ -260,16 +262,16 @@ export class GraphQLAPIClass { return responsePromise; case 'subscription': return this._graphqlSubscribe({ query, variables, authMode }, headers); + default: + throw new Error(`invalid operation type: ${operationType}`); } - - throw new Error(`invalid operation type: ${operationType}`); } - private async _graphql( + private async _graphql( { query, variables, authMode }: GraphQLOptions, additionalHeaders = {}, initParams = {} - ): Promise { + ): Promise> { if (!this._api) { await this.createInstance(); } @@ -410,14 +412,14 @@ export class GraphQLAPIClass { */ _ensureCredentials() { return this.Credentials.get() - .then(credentials => { + .then((credentials) => { if (!credentials) return false; const cred = this.Credentials.shear(credentials); logger.debug('set credentials for api', cred); return true; }) - .catch(err => { + .catch((err) => { logger.warn('ensure credentials error', err); return false; }); diff --git a/packages/api-graphql/src/types/index.ts b/packages/api-graphql/src/types/index.ts index c52bab34948..ffd7283e3fc 100644 --- a/packages/api-graphql/src/types/index.ts +++ b/packages/api-graphql/src/types/index.ts @@ -10,9 +10,8 @@ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ -// @ts-ignore -import { GraphQLError } from 'graphql/error/GraphQLError'; -import { DocumentNode } from 'graphql/language/ast'; +import { Source, DocumentNode, GraphQLError } from 'graphql'; +export { OperationTypeNode } from 'graphql'; export interface GraphQLOptions { query: string | DocumentNode; @@ -44,3 +43,9 @@ export enum GraphQLAuthError { NO_FEDERATED_JWT = 'No federated jwt', NO_AUTH_TOKEN = 'No auth token specified', } + +/** + * GraphQLSource or string, the type of the parameter for calling graphql.parse + * @see: https://graphql.org/graphql-js/language/#parse + */ +export type GraphQLOperation = Source | string; diff --git a/packages/api-rest/CHANGELOG.md b/packages/api-rest/CHANGELOG.md index 10f601b82f7..09ebc82fc43 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. +## [2.0.33](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@2.0.32...@aws-amplify/api-rest@2.0.33) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/api-rest + + + + + ## [2.0.32](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@2.0.31...@aws-amplify/api-rest@2.0.32) (2022-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 8265bb42568..7c3306bcc2e 100644 --- a/packages/api-rest/package.json +++ b/packages/api-rest/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api-rest", - "version": "2.0.32", + "version": "2.0.33", "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": "4.3.14", + "@aws-amplify/core": "4.4.0", "axios": "0.21.4" }, "jest": { diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index fbf3deb0444..1cb2f6ff49e 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/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.33](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@4.0.32...@aws-amplify/api@4.0.33) (2022-02-28) + + +### Bug Fixes + +* **@aws-amplify/api:** Improve API.graphql return type ([#9197](https://github.com/aws-amplify/amplify-js/issues/9197)) ([9a0531b](https://github.com/aws-amplify/amplify-js/commit/9a0531b11e9eb6659d36ca0c51c642b3d947f63c)) + + + + + ## [4.0.32](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@4.0.31...@aws-amplify/api@4.0.32) (2022-02-03) **Note:** Version bump only for package @aws-amplify/api diff --git a/packages/api/__tests__/API-test.ts b/packages/api/__tests__/API-test.ts index 2edd0fb5705..ecc84897591 100644 --- a/packages/api/__tests__/API-test.ts +++ b/packages/api/__tests__/API-test.ts @@ -82,6 +82,6 @@ describe('API test', () => { .spyOn(GraphQLAPIClass.prototype, 'graphql') .mockResolvedValue('grapqhqlResponse' as any); const api = new API(null); - expect(await api.graphql(null)).toBe('grapqhqlResponse'); + expect(await api.graphql({ query: 'query' })).toBe('grapqhqlResponse'); }); }); diff --git a/packages/api/package.json b/packages/api/package.json index f72e4d75827..7c0aed667d7 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/api", - "version": "4.0.32", + "version": "4.0.33", "description": "Api category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -51,8 +51,8 @@ "@types/zen-observable": "^0.8.0" }, "dependencies": { - "@aws-amplify/api-graphql": "2.2.21", - "@aws-amplify/api-rest": "2.0.32" + "@aws-amplify/api-graphql": "2.2.22", + "@aws-amplify/api-rest": "2.0.33" }, "jest": { "globals": { diff --git a/packages/api/src/API.ts b/packages/api/src/API.ts index 97e0034e4ee..94d48c1c13b 100644 --- a/packages/api/src/API.ts +++ b/packages/api/src/API.ts @@ -12,11 +12,14 @@ */ import { Auth } from '@aws-amplify/auth'; import Cache from '@aws-amplify/cache'; +import { AWSAppSyncRealTimeProvider } from '@aws-amplify/pubsub'; import { RestAPIClass } from '@aws-amplify/api-rest'; import { GraphQLAPIClass, GraphQLOptions, GraphQLResult, + GraphQLOperation, + OperationTypeNode, } from '@aws-amplify/api-graphql'; import { Amplify, @@ -24,6 +27,7 @@ import { Credentials, } from '@aws-amplify/core'; import Observable from 'zen-observable-ts'; +import { GraphQLQuery, GraphQLSubscription } from './types'; const logger = new Logger('API'); /** @@ -38,7 +42,7 @@ export class APIClass { */ private _options; private _restApi: RestAPIClass; - private _graphqlApi; + private _graphqlApi: GraphQLAPIClass; Auth = Auth; Cache = Cache; @@ -82,93 +86,118 @@ export class APIClass { /** * Make a GET request - * @param {string} apiName - The api name of the request - * @param {string} path - The path of the request - * @param {json} [init] - Request extra params - * @return {Promise} - A promise that resolves to an object with response status and JSON data, if successful. + * @param apiName - The api name of the request + * @param path - The path of the request + * @param [init] - Request extra params + * @return A promise that resolves to an object with response status and JSON data, if successful. */ - get(apiName, path, init): Promise { + get( + apiName: string, + path: string, + init: { [key: string]: any } + ): Promise { return this._restApi.get(apiName, path, init); } /** * Make a POST request - * @param {string} apiName - The api name of the request - * @param {string} path - The path of the request - * @param {json} [init] - Request extra params - * @return {Promise} - A promise that resolves to an object with response status and JSON data, if successful. + * @param apiName - The api name of the request + * @param path - The path of the request + * @param [init] - Request extra params + * @return A promise that resolves to an object with response status and JSON data, if successful. */ - post(apiName, path, init): Promise { + post( + apiName: string, + path: string, + init: { [key: string]: any } + ): Promise { return this._restApi.post(apiName, path, init); } /** * Make a PUT request - * @param {string} apiName - The api name of the request - * @param {string} path - The path of the request - * @param {json} [init] - Request extra params - * @return {Promise} - A promise that resolves to an object with response status and JSON data, if successful. + * @param apiName - The api name of the request + * @param path - The path of the request + * @param [init] - Request extra params + * @return A promise that resolves to an object with response status and JSON data, if successful. */ - put(apiName, path, init): Promise { + put( + apiName: string, + path: string, + init: { [key: string]: any } + ): Promise { return this._restApi.put(apiName, path, init); } /** * Make a PATCH request - * @param {string} apiName - The api name of the request - * @param {string} path - The path of the request - * @param {json} [init] - Request extra params - * @return {Promise} - A promise that resolves to an object with response status and JSON data, if successful. + * @param apiName - The api name of the request + * @param path - The path of the request + * @param [init] - Request extra params + * @return A promise that resolves to an object with response status and JSON data, if successful. */ - patch(apiName, path, init): Promise { + patch( + apiName: string, + path: string, + init: { [key: string]: any } + ): Promise { return this._restApi.patch(apiName, path, init); } /** * Make a DEL request - * @param {string} apiName - The api name of the request - * @param {string} path - The path of the request - * @param {json} [init] - Request extra params - * @return {Promise} - A promise that resolves to an object with response status and JSON data, if successful. + * @param apiName - The api name of the request + * @param path - The path of the request + * @param [init] - Request extra params + * @return A promise that resolves to an object with response status and JSON data, if successful. */ - del(apiName, path, init): Promise { + del( + apiName: string, + path: string, + init: { [key: string]: any } + ): Promise { return this._restApi.del(apiName, path, init); } /** * Make a HEAD request - * @param {string} apiName - The api name of the request - * @param {string} path - The path of the request - * @param {json} [init] - Request extra params - * @return {Promise} - A promise that resolves to an object with response status and JSON data, if successful. + * @param apiName - The api name of the request + * @param path - The path of the request + * @param [init] - Request extra params + * @return A promise that resolves to an object with response status and JSON data, if successful. */ - head(apiName, path, init): Promise { + head( + apiName: string, + path: string, + init: { [key: string]: any } + ): Promise { return this._restApi.head(apiName, path, init); } /** * Checks to see if an error thrown is from an api request cancellation - * @param {any} error - Any error - * @return {boolean} - A boolean indicating if the error was from an api request cancellation + * @param error - Any error + * @return If the error was from an api request cancellation */ - isCancel(error) { + isCancel(error: any): boolean { return this._restApi.isCancel(error); } /** * Cancels an inflight request - * @param {any} request - request to cancel - * @return {boolean} - A boolean indicating if the request was cancelled + * @param request - request to cancel + * @param [message] - custom error message + * @return If the request was cancelled */ - cancel(request: Promise, message?: string) { + cancel(request: Promise, message?: string): boolean { return this._restApi.cancel(request, message); } /** * Getting endpoint for API - * @param {string} apiName - The name of the api - * @return {string} - The endpoint of the api + * @param apiName - The name of the api + * @return The endpoint of the api */ - async endpoint(apiName) { + async endpoint(apiName: string): Promise { return this._restApi.endpoint(apiName); } @@ -176,21 +205,32 @@ export class APIClass { * to get the operation type * @param operation */ - getGraphqlOperationType(operation) { + getGraphqlOperationType(operation: GraphQLOperation): OperationTypeNode { return this._graphqlApi.getGraphqlOperationType(operation); } /** * Executes a GraphQL operation * - * @param {GraphQLOptions} GraphQL Options - * @param {object} additionalHeaders headers to merge in after any `graphql_headers` set in the config - * @returns {Promise | Observable} + * @param options - GraphQL Options + * @param [additionalHeaders] - headers to merge in after any `graphql_headers` set in the config + * @returns An Observable if queryType is 'subscription', else a promise of the graphql result from the query. */ - graphql( + graphql( options: GraphQLOptions, additionalHeaders?: { [key: string]: string } - ): Promise | Observable { + ): T extends GraphQLQuery + ? Promise> + : T extends GraphQLSubscription + ? Observable<{ + provider: AWSAppSyncRealTimeProvider; + value: GraphQLResult; + }> + : Promise> | Observable; + graphql( + options: GraphQLOptions, + additionalHeaders?: { [key: string]: string } + ): Promise> | Observable { return this._graphqlApi.graphql(options, additionalHeaders); } } diff --git a/packages/api/src/index.ts b/packages/api/src/index.ts index b15247fe01a..626e434038b 100644 --- a/packages/api/src/index.ts +++ b/packages/api/src/index.ts @@ -13,6 +13,7 @@ import { API } from './API'; +export { GraphQLQuery, GraphQLSubscription } from './types'; export { API, APIClass } from './API'; export { graphqlOperation, @@ -21,6 +22,7 @@ export { } from '@aws-amplify/api-graphql'; export type { GraphQLResult } from '@aws-amplify/api-graphql'; + /* * @deprecated use named import */ diff --git a/packages/api/src/types/index.ts b/packages/api/src/types/index.ts index d5c6446b6e1..a40c7ef5c2f 100644 --- a/packages/api/src/types/index.ts +++ b/packages/api/src/types/index.ts @@ -22,3 +22,11 @@ export { GraphQLResult, GRAPHQL_AUTH_MODE, } from '@aws-amplify/api-graphql'; + +// Opaque type used for determining the graphql query type +declare const queryType: unique symbol; + +export type GraphQLQuery = T & { readonly [queryType]: 'query' }; +export type GraphQLSubscription = T & { + readonly [queryType]: 'subscription'; +}; diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index 2678cf38d06..0cf22fab90b 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. +## [4.4.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@4.4.1...@aws-amplify/auth@4.4.2) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/auth + + + + + ## [4.4.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@4.4.0...@aws-amplify/auth@4.4.1) (2022-02-03) **Note:** Version bump only for package @aws-amplify/auth diff --git a/packages/auth/package.json b/packages/auth/package.json index 6b9094d8910..e759f53f924 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/auth", - "version": "4.4.1", + "version": "4.4.2", "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": "4.0.34", - "@aws-amplify/core": "4.3.14", - "amazon-cognito-identity-js": "5.2.6", + "@aws-amplify/cache": "4.0.35", + "@aws-amplify/core": "4.4.0", + "amazon-cognito-identity-js": "5.2.7", "crypto-js": "^4.1.1" }, "devDependencies": { diff --git a/packages/aws-amplify-angular/CHANGELOG.md b/packages/aws-amplify-angular/CHANGELOG.md index 89e2fbf627c..71315a6ecc8 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. +## [6.0.33](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@6.0.32...aws-amplify-angular@6.0.33) (2022-02-28) + +**Note:** Version bump only for package aws-amplify-angular + + + + + ## [6.0.32](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@6.0.31...aws-amplify-angular@6.0.32) (2022-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 ea613be12b6..1d56ef1a08a 100644 --- a/packages/aws-amplify-angular/package.json +++ b/packages/aws-amplify-angular/package.json @@ -1,7 +1,7 @@ { "name": "aws-amplify-angular", "private": "true", - "version": "6.0.32", + "version": "6.0.33", "description": "AWS Amplify Angular Components", "main": "bundles/aws-amplify-angular.umd.js", "module": "dist/index.js", @@ -40,7 +40,7 @@ "@types/zen-observable": "^0.5.3", "angular2-template-loader": "^0.6.2", "awesome-typescript-loader": "^4.0.1", - "aws-amplify": "4.3.14", + "aws-amplify": "4.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 ce89e5f8b50..61d93e5df1f 100644 --- a/packages/aws-amplify-react-native/CHANGELOG.md +++ b/packages/aws-amplify-react-native/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. +## [6.0.3](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react-native@6.0.2...aws-amplify-react-native@6.0.3) (2022-02-28) + + +### Bug Fixes + +* **aws-amplify-react-native:** Add linkUnderlay to theme object so it can be overridden ([#9446](https://github.com/aws-amplify/amplify-js/issues/9446)) ([#9650](https://github.com/aws-amplify/amplify-js/issues/9650)) ([8cdb8be](https://github.com/aws-amplify/amplify-js/commit/8cdb8bede75697443f16dae6bb6bd6c4b9e36712)) + + + + + ## [6.0.2](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react-native@6.0.1...aws-amplify-react-native@6.0.2) (2021-12-16) diff --git a/packages/aws-amplify-react-native/package.json b/packages/aws-amplify-react-native/package.json index 32c7b2005bd..377ff84712f 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": "6.0.2", + "version": "6.0.3", "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-native/src/AmplifyTheme.ts b/packages/aws-amplify-react-native/src/AmplifyTheme.ts index a1b01330727..98f4f32d31d 100644 --- a/packages/aws-amplify-react-native/src/AmplifyTheme.ts +++ b/packages/aws-amplify-react-native/src/AmplifyTheme.ts @@ -137,6 +137,9 @@ export default StyleSheet.create({ inputLabel: { marginBottom: 8, }, + linkUnderlay: { + color: linkUnderlayColor, + }, phoneContainer: { display: 'flex', flexDirection: 'row', diff --git a/packages/aws-amplify-react-native/src/AmplifyUI.tsx b/packages/aws-amplify-react-native/src/AmplifyUI.tsx index 0951c52fd96..74128966431 100644 --- a/packages/aws-amplify-react-native/src/AmplifyUI.tsx +++ b/packages/aws-amplify-react-native/src/AmplifyUI.tsx @@ -28,7 +28,7 @@ import { } from 'react-native'; import { Picker } from '@react-native-picker/picker'; import { I18n } from 'aws-amplify'; -import AmplifyTheme, { AmplifyThemeType, linkUnderlayColor, placeholderColor } from './AmplifyTheme'; +import AmplifyTheme, { AmplifyThemeType, placeholderColor } from './AmplifyTheme'; import countryDialCodes from './CountryDialCodes'; import TEST_ID from './AmplifyTestIDs'; import icons from './icons'; @@ -160,7 +160,7 @@ export const LinkCell: FC = (props) => { diff --git a/packages/aws-amplify-react/CHANGELOG.md b/packages/aws-amplify-react/CHANGELOG.md index eb8f084f027..0c37fb1d017 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. +## [5.1.16](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@5.1.15...aws-amplify-react@5.1.16) (2022-02-28) + +**Note:** Version bump only for package aws-amplify-react + + + + + ## [5.1.15](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@5.1.14...aws-amplify-react@5.1.15) (2022-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 8d0ce43b5bf..5be6855d048 100644 --- a/packages/aws-amplify-react/package.json +++ b/packages/aws-amplify-react/package.json @@ -1,7 +1,7 @@ { "name": "aws-amplify-react", "private": "true", - "version": "5.1.15", + "version": "5.1.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", @@ -39,7 +39,7 @@ "@types/enzyme-adapter-react-16": "^1.0.3", "@types/react": "^16.0.41", "@types/react-dom": "^16.0.11", - "aws-amplify": "4.3.14", + "aws-amplify": "4.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/CHANGELOG.md b/packages/aws-amplify/CHANGELOG.md index ad78efd6e0a..65af20db435 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. +## [4.3.15](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@4.3.14...aws-amplify@4.3.15) (2022-02-28) + +**Note:** Version bump only for package aws-amplify + + + + + ## [4.3.14](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@4.3.13...aws-amplify@4.3.14) (2022-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 8dcbce06768..9910525120b 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -1,6 +1,6 @@ { "name": "aws-amplify", - "version": "4.3.14", + "version": "4.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,19 +34,19 @@ }, "homepage": "https://aws-amplify.github.io/", "dependencies": { - "@aws-amplify/analytics": "5.1.12", - "@aws-amplify/api": "4.0.32", - "@aws-amplify/auth": "4.4.1", - "@aws-amplify/cache": "4.0.34", - "@aws-amplify/core": "4.3.14", - "@aws-amplify/datastore": "3.7.6", - "@aws-amplify/geo": "1.2.0", - "@aws-amplify/interactions": "4.0.32", - "@aws-amplify/predictions": "4.0.32", - "@aws-amplify/pubsub": "4.2.8", - "@aws-amplify/storage": "4.4.15", + "@aws-amplify/analytics": "5.2.0", + "@aws-amplify/api": "4.0.33", + "@aws-amplify/auth": "4.4.2", + "@aws-amplify/cache": "4.0.35", + "@aws-amplify/core": "4.4.0", + "@aws-amplify/datastore": "3.7.7", + "@aws-amplify/geo": "1.2.1", + "@aws-amplify/interactions": "4.0.33", + "@aws-amplify/predictions": "4.0.33", + "@aws-amplify/pubsub": "4.2.9", + "@aws-amplify/storage": "4.4.16", "@aws-amplify/ui": "2.0.5", - "@aws-amplify/xr": "3.0.32" + "@aws-amplify/xr": "3.0.33" }, "jest": { "globals": { diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index 639fe25579f..4431fc18fab 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. +## [4.0.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@4.0.34...@aws-amplify/cache@4.0.35) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/cache + + + + + ## [4.0.34](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@4.0.33...@aws-amplify/cache@4.0.34) (2022-02-03) **Note:** Version bump only for package @aws-amplify/cache diff --git a/packages/cache/package.json b/packages/cache/package.json index da093c791e1..ad4de954a57 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/cache", - "version": "4.0.34", + "version": "4.0.35", "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": "4.3.14" + "@aws-amplify/core": "4.4.0" }, "jest": { "globals": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 593a45009ec..51955034711 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.4.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.14...@aws-amplify/core@4.4.0) (2022-02-28) + + +### Bug Fixes + +* pin async storage to 1.15.17 ([#9570](https://github.com/aws-amplify/amplify-js/issues/9570)) ([bc5235a](https://github.com/aws-amplify/amplify-js/commit/bc5235ac0d15242f7a13457f40999b5331823395)) + + +### Features + +* **@aws-amplify/core:** add ui protected channel ([#9554](https://github.com/aws-amplify/amplify-js/issues/9554)) ([86e07fc](https://github.com/aws-amplify/amplify-js/commit/86e07fcd3ebbaa5f03d65ed8009b7531ee300e39)) + + + + + ## [4.3.14](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.13...@aws-amplify/core@4.3.14) (2022-02-03) **Note:** Version bump only for package @aws-amplify/core diff --git a/packages/core/package.json b/packages/core/package.json index 666405995e2..6c725e8c4c6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/core", - "version": "4.3.14", + "version": "4.4.0", "description": "Core category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", diff --git a/packages/core/src/Platform/version.ts b/packages/core/src/Platform/version.ts index c9c0e5d5c39..0ea274301aa 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 = '4.3.14'; +export const version = '4.4.0'; diff --git a/packages/datastore-storage-adapter/CHANGELOG.md b/packages/datastore-storage-adapter/CHANGELOG.md index 9da12117bf4..7fef27f6e60 100644 --- a/packages/datastore-storage-adapter/CHANGELOG.md +++ b/packages/datastore-storage-adapter/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.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.6...@aws-amplify/datastore-storage-adapter@1.2.7) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/datastore-storage-adapter + + + + + ## [1.2.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.5...@aws-amplify/datastore-storage-adapter@1.2.6) (2022-02-03) **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter diff --git a/packages/datastore-storage-adapter/package.json b/packages/datastore-storage-adapter/package.json index 759de6aa1c8..3d46df1ed5a 100644 --- a/packages/datastore-storage-adapter/package.json +++ b/packages/datastore-storage-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/datastore-storage-adapter", - "version": "1.2.6", + "version": "1.2.7", "description": "SQLite storage adapter for Amplify DataStore ", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -34,8 +34,8 @@ }, "homepage": "https://aws-amplify.github.io/", "devDependencies": { - "@aws-amplify/core": "4.3.14", - "@aws-amplify/datastore": "3.7.6", + "@aws-amplify/core": "4.4.0", + "@aws-amplify/datastore": "3.7.7", "react-native-sqlite-storage": "5.0.0" }, "jest": { diff --git a/packages/datastore/CHANGELOG.md b/packages/datastore/CHANGELOG.md index 59af8447d1e..57d79d43dac 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. +## [3.7.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.7.6...@aws-amplify/datastore@3.7.7) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/datastore + + + + + ## [3.7.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.7.5...@aws-amplify/datastore@3.7.6) (2022-02-03) diff --git a/packages/datastore/package.json b/packages/datastore/package.json index 608ddc4796a..04acf2ab764 100644 --- a/packages/datastore/package.json +++ b/packages/datastore/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/datastore", - "version": "3.7.6", + "version": "3.7.7", "description": "AppSyncLocal support for aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", @@ -48,11 +48,11 @@ "fake-indexeddb": "3.0.0" }, "dependencies": { - "@aws-amplify/api": "4.0.32", - "@aws-amplify/auth": "4.4.1", - "@aws-amplify/core": "4.3.14", - "@aws-amplify/pubsub": "4.2.8", - "amazon-cognito-identity-js": "5.2.6", + "@aws-amplify/api": "4.0.33", + "@aws-amplify/auth": "4.4.2", + "@aws-amplify/core": "4.4.0", + "@aws-amplify/pubsub": "4.2.9", + "amazon-cognito-identity-js": "5.2.7", "idb": "5.0.6", "immer": "9.0.6", "ulid": "2.3.0", diff --git a/packages/geo/CHANGELOG.md b/packages/geo/CHANGELOG.md index 5b67ac5f864..b1305385983 100644 --- a/packages/geo/CHANGELOG.md +++ b/packages/geo/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.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/geo@1.2.0...@aws-amplify/geo@1.2.1) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/geo + + + + + # [1.2.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/geo@1.1.13...@aws-amplify/geo@1.2.0) (2022-02-03) diff --git a/packages/geo/package.json b/packages/geo/package.json index 6b9f14d4261..bfd85776a26 100644 --- a/packages/geo/package.json +++ b/packages/geo/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/geo", - "version": "1.2.0", + "version": "1.2.1", "description": "Geo category for 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": "4.3.14", + "@aws-amplify/core": "4.4.0", "@aws-sdk/client-location": "3.48.0", "camelcase-keys": "6.2.2" }, diff --git a/packages/interactions/CHANGELOG.md b/packages/interactions/CHANGELOG.md index 7568485a280..d9f11207b6e 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. +## [4.0.33](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@4.0.32...@aws-amplify/interactions@4.0.33) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/interactions + + + + + ## [4.0.32](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/interactions@4.0.31...@aws-amplify/interactions@4.0.32) (2022-02-03) **Note:** Version bump only for package @aws-amplify/interactions diff --git a/packages/interactions/package.json b/packages/interactions/package.json index f4cba8df2a8..8e028012a06 100644 --- a/packages/interactions/package.json +++ b/packages/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/interactions", - "version": "4.0.32", + "version": "4.0.33", "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": "4.3.14", + "@aws-amplify/core": "4.4.0", "@aws-sdk/client-lex-runtime-service": "3.6.1" }, "jest": { diff --git a/packages/predictions/CHANGELOG.md b/packages/predictions/CHANGELOG.md index 0b2af13745f..29bf73a46d0 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. +## [4.0.33](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@4.0.32...@aws-amplify/predictions@4.0.33) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/predictions + + + + + ## [4.0.32](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/predictions@4.0.31...@aws-amplify/predictions@4.0.32) (2022-02-03) **Note:** Version bump only for package @aws-amplify/predictions diff --git a/packages/predictions/package.json b/packages/predictions/package.json index f4cd33c4257..7b4b06a8ff6 100644 --- a/packages/predictions/package.json +++ b/packages/predictions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/predictions", - "version": "4.0.32", + "version": "4.0.33", "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": "4.3.14", - "@aws-amplify/storage": "4.4.15", + "@aws-amplify/core": "4.4.0", + "@aws-amplify/storage": "4.4.16", "@aws-sdk/client-comprehend": "3.6.1", "@aws-sdk/client-polly": "3.6.1", "@aws-sdk/client-rekognition": "3.6.1", diff --git a/packages/pubsub/CHANGELOG.md b/packages/pubsub/CHANGELOG.md index c3c412693e3..711db6d33d4 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. +## [4.2.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@4.2.8...@aws-amplify/pubsub@4.2.9) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/pubsub + + + + + ## [4.2.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@4.2.7...@aws-amplify/pubsub@4.2.8) (2022-02-03) **Note:** Version bump only for package @aws-amplify/pubsub diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index 4ba553598e3..72e5eb13e98 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pubsub", - "version": "4.2.8", + "version": "4.2.9", "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": "4.4.1", - "@aws-amplify/cache": "4.0.34", - "@aws-amplify/core": "4.3.14", + "@aws-amplify/auth": "4.4.2", + "@aws-amplify/cache": "4.0.35", + "@aws-amplify/core": "4.4.0", "graphql": "15.8.0", "paho-mqtt": "^1.1.0", "uuid": "^3.2.1", diff --git a/packages/pushnotification/CHANGELOG.md b/packages/pushnotification/CHANGELOG.md index caa65d74b1f..ea754c1152c 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. +## [4.3.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@4.3.11...@aws-amplify/pushnotification@4.3.12) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/pushnotification + + + + + ## [4.3.11](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pushnotification@4.3.10...@aws-amplify/pushnotification@4.3.11) (2022-02-03) **Note:** Version bump only for package @aws-amplify/pushnotification diff --git a/packages/pushnotification/android/build.gradle b/packages/pushnotification/android/build.gradle index 18785c02308..0b6a323c78c 100644 --- a/packages/pushnotification/android/build.gradle +++ b/packages/pushnotification/android/build.gradle @@ -48,10 +48,9 @@ android { } dependencies { - compile fileTree(dir: "libs", include: ["*.jar"]) - compile "com.android.support:appcompat-v7:23.0.1" - compile "com.facebook.react:react-native:+" // From node_modules - compile 'com.google.firebase:firebase-messaging:23.0.0' - compile 'com.google.firebase:firebase-core:20.0.0' - compile 'com.firebase:firebase-jobdispatcher:0.6.0' + implementation fileTree(dir: "libs", include: ["*.jar"]) + implementation "com.android.support:appcompat-v7:23.0.1" + implementation "com.facebook.react:react-native:+" // From node_modules + implementation 'com.google.firebase:firebase-messaging:23.0.0' + implementation 'com.google.firebase:firebase-core:20.0.0' } diff --git a/packages/pushnotification/package.json b/packages/pushnotification/package.json index 644c9b0041f..495f1483aa3 100644 --- a/packages/pushnotification/package.json +++ b/packages/pushnotification/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/pushnotification", - "version": "4.3.11", + "version": "4.3.12", "description": "Push notifications category of aws-amplify", "main": "./lib/index.js", "module": "./lib/index.js", @@ -46,7 +46,7 @@ "webpack": "^3.5.5" }, "dependencies": { - "@aws-amplify/core": "4.3.14", + "@aws-amplify/core": "4.4.0", "@react-native-community/push-notification-ios": "1.0.3" }, "jest": { diff --git a/packages/storage/CHANGELOG.md b/packages/storage/CHANGELOG.md index 25a9cc16bf7..5adba054ea4 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. +## [4.4.16](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@4.4.15...@aws-amplify/storage@4.4.16) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/storage + + + + + ## [4.4.15](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/storage@4.4.14...@aws-amplify/storage@4.4.15) (2022-02-03) **Note:** Version bump only for package @aws-amplify/storage diff --git a/packages/storage/package.json b/packages/storage/package.json index 7e38fe3a493..efa375289cc 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/storage", - "version": "4.4.15", + "version": "4.4.16", "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": "4.3.14", + "@aws-amplify/core": "4.4.0", "@aws-sdk/client-s3": "3.6.1", "@aws-sdk/s3-request-presigner": "3.6.1", "@aws-sdk/util-create-request": "3.6.1", diff --git a/packages/xr/CHANGELOG.md b/packages/xr/CHANGELOG.md index b9e32b7fe0d..af8386faee0 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. +## [3.0.33](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@3.0.32...@aws-amplify/xr@3.0.33) (2022-02-28) + +**Note:** Version bump only for package @aws-amplify/xr + + + + + ## [3.0.32](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/xr@3.0.31...@aws-amplify/xr@3.0.32) (2022-02-03) **Note:** Version bump only for package @aws-amplify/xr diff --git a/packages/xr/package.json b/packages/xr/package.json index c7403addfd1..1af23272517 100644 --- a/packages/xr/package.json +++ b/packages/xr/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/xr", - "version": "3.0.32", + "version": "3.0.33", "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": "4.3.14" + "@aws-amplify/core": "4.4.0" }, "jest": { "globals": {