Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(repo): Merge stable to main #3254

Merged
merged 88 commits into from
Jun 21, 2023
Merged

chore(repo): Merge stable to main #3254

merged 88 commits into from
Jun 21, 2023

Conversation

dnys1
Copy link
Contributor

@dnys1 dnys1 commented Jun 20, 2023

No description provided.

dnys1 and others added 30 commits April 17, 2023 14:16
* chore(notifications): Update mocks
Update packages/storage/amplify_storage_s3_dart/lib/src/model/s3_remove_plugin_options.dart

Co-authored-by: NikaHsn <[email protected]>
chore(aws_common): Add `dart` flag to prevent build errors in 3.0
Includes transitive dependencies in the `paths` of packages' CI workflows so that changes which could affect this package are caught in CI.
* ci: Disable Dart 3 checks

Trying to support Dart 3 right now is a game of whack-a-mole.. to be re-enabled when the repo is migrated fully.

* revert(core): Dart 3 workarounds
* chore(github): Update BUG-REPORT template (#1705)

Adds beta platforms to the BUG-REPORT template

commit-id:41bf7773

* chore(repo): Update bug report to include deployment option (#1928)

Adds the following info to the bug report template:
- Whether the CLI or another mechanism was used to deploy their backend
- Their sanitized amplifyconfig

These both seem to provide a lot of insight and they can be missed in the conversation, especially the first one. We cannot assume that people filing issues are using pristine Amplify-generated backends.

* chore(repo): Slim down bug report template (#2586)

The current bug report template is very long and may discourage people from submitting feedback. While many of these would be great to know, only some are needed to begin triaging correctly.

I've removed the ask for their Amplify config as well. I've noticed some people are not sure how to provide it and that more often than not, it's the `schema.graphql` we need rather.
Removes developer preview references and updates any example code snippets.
chore: update repository url
Removes all but canaries from the CircleCI configuration
* chore(aft): generate `set-exit-if-changed` flag

* chore: add CI check for workflows

* chore: add `writeWorkflowFile` fn
`amplify_flutter` does not need to directly depend on plugins and can use mocking in unit tests instead.
This will prevent any publishing errors ahead of time
* chore(api): Decode optional ErrorType property

* chore: added errorInfo property
…2861)

* chore: add userAgent headers to anayltics calls

* chore: remove print and add update endpoint after settign user

* chore: updated mocks and added analyzer expection rule to ignore version.dart

* chore: pass testDispatcher to request permissions tes android native

* chore: update test name and useragent public

* chore: remove vesion dependency becuase user agent string does not need it

* chore: add comment on why setUser has no userAgent added

* chore: review comments
* chore(version): Bump version

Stable v1 release! 🎉

Updated-Components: amplify_lints, Amplify Flutter, Amplify Dart, Amplify UI, DB Common, Secure Storage, AWS Common, Smithy, Worker Bee

* chore(notifications): Fix pana issues

* Update DataStore spiel
`additionalInfo` now returns and empty map instead of `null` by default
If `aft version-bump` is run in a fresh repo/worktree, build_runner will fail since `pub get` has never been run. Running again also doesn't hurt.
### Fixes
- fix(repo): Flutter 3.3 support
- fix(storage): API doc errors
- fix: convert AuthUserAttributeKey in updateUserAttributes
- fix: remove AndroidKeysetManager log, upgrade to google/tink 1.8.0

Updated-Components: amplify_flutter, amplify_flutter_android, amplify_core, amplify_datastore, amplify_analytics_pinpoint, amplify_api, amplify_api_android, amplify_api_ios, amplify_auth_cognito, amplify_auth_cognito_android, amplify_auth_cognito_ios, amplify_push_notifications, amplify_push_notifications_pinpoint, amplify_storage_s3, Amplify Dart, Amplify UI, DB Common, Secure Storage, AWS Common, Smithy, Worker Bee
dependabot bot and others added 23 commits June 20, 2023 14:27
…in /packages/amplify_datastore/android (#3185)

chore(deps): bump com.android.tools.build:gradle

Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…in /packages/amplify_native_legacy_wrapper/android (#3184)

chore(deps): bump com.android.tools.build:gradle

Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…in /packages/secure_storage/amplify_secure_storage/android (#3219)

chore(deps): bump com.android.tools.build:gradle

Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ci: Fix storage bucket name

Bucket names must be globally unique. To ensure the infra stacks can be deployed to multiple accounts, use the bucket name as a prefix instead of the actual bucket name.
Adds new E2E backend for testing ASF features.
Adds advanced security features (ASF) support to the Auth library.
Adds unit and e2e tests for ASF features in the Auth library. E2E tests require some Admin methods in the AWS SDK for Cognito, and these operations are exposed via the `amplify_integration_test` package.
Regenerates AWSService class and makes it possible to use services not automatically generated.
Errors generated by the state machine are being logged at `error ` level regardless of whether they are handled by the developer. This can be confusing (as seen in #3226) since they print similar to how an unhandled exception would be printed.

By adjusting the log level, these messages are still available if desired and will not affect how errors are surfaced via throwing.
Should be Android Test not Android Build
…in /packages/analytics/amplify_analytics_pinpoint/android (#3215)

chore(deps): bump com.android.tools.build:gradle

Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dillon Nys <[email protected]>
### Fixes
- fix(api): GraphQL subscription with custom domain formats URI correctly ([#3148](#3148))
- fix(auth): Attribute key equality ([#3136](#3136))
- fix(auth): `signOut` after user deletion ([#3162](#3162))
- fix(core): Disallowed JS tearoff ([#3150](#3150))
- fix(storage): API doc errors

### Features
- feat(auth): ASF
- feat(storage): using path style URLs when bucket name contains dots

Updated-Components: amplify_lints, Amplify Flutter, Amplify Dart, Amplify UI, DB Common, Secure Storage, AWS Common, Smithy, Worker Bee
@dnys1 dnys1 requested a review from a team as a code owner June 20, 2023 23:52
Dillon Nys added 2 commits June 20, 2023 17:16
### Fixes
- fix(api): GraphQL subscription with custom domain formats URI correctly ([#3148](#3148))
- fix(auth): Attribute key equality ([#3136](#3136))
- fix(auth): `signOut` after user deletion ([#3162](#3162))
- fix(core): Disallowed JS tearoff ([#3150](#3150))
- fix(storage): API doc errors

### Features
- feat(auth): ASF
- feat(storage): using path style URLs when bucket name contains dots

Updated-Components: amplify_lints, Amplify Flutter, Amplify Dart, Amplify UI, DB Common, Secure Storage, AWS Common, Smithy, Worker Bee
@dnys1 dnys1 merged commit 5c45bf3 into main Jun 21, 2023
@dnys1 dnys1 deleted the chore/merge-stable-to-main branch June 21, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants