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: merge main into dev-preview branch #1874

Merged
merged 256 commits into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
86de585
Merge remote-tracking branch 'origin/main' into cpk_query
poojamat Jan 10, 2022
5022022
Adding support for custom primary key across the codebase.
poojamat Feb 2, 2022
b8ac23a
Adding support for custom primary key across the codebase.
poojamat Feb 2, 2022
c7c5116
Merge branch 'main' into cpk_query
poojamat Feb 2, 2022
edc6bc0
Added default implementation for resolveIdentifier in Model interface…
poojamat Feb 3, 2022
689cfbd
Added default implementation for resolveIdentifier in Model interface…
poojamat Feb 4, 2022
51d8f41
Added default implementation for resolveIdentifier in Model interface…
poojamat Feb 4, 2022
86575d7
Work in progress Custom primary key in storage engine.
poojamat Mar 22, 2022
1a56a6a
Merge branch 'main' into cpk_query
poojamat Mar 23, 2022
bf50967
Work in progress Custom primary key in storage engine.
poojamat Mar 24, 2022
53b9834
test fixes and check style.
poojamat Mar 30, 2022
5b29f5a
Merge branch 'main' into cpk_query
poojamat Mar 30, 2022
5cffc04
Adding custom primary key support to SerializedModel.
poojamat Apr 7, 2022
0e2f458
Updating selection set of leaf element to get primary key fields from…
poojamat Apr 7, 2022
5718d74
Added __typename to appsync selection set so the type can be computed…
poojamat Apr 8, 2022
7bf9536
Fixed integration test.
poojamat Apr 10, 2022
4a1e207
Fixed sql index on undefined index not getting created.
poojamat Apr 12, 2022
a86fbfd
Fixed sql index on undefined index not getting created.
poojamat Apr 12, 2022
3067629
Reverting not needed change.
poojamat Apr 12, 2022
fab0401
Clean up and updated concatenation logic for primary key.
poojamat Apr 13, 2022
2fee313
Merge branch 'main' into cpk_query
poojamat Apr 13, 2022
8c873ef
Merge branch 'main' into cpk_query
poojamat Apr 13, 2022
32f53c4
Making SerializedModel resolve identifier return Serializable.
poojamat Apr 13, 2022
a279a37
Merge branch 'cpk_query' of https://github.com/aws-amplify/amplify-an…
poojamat Apr 13, 2022
78e5e12
Checkstyle fixes.
poojamat Apr 13, 2022
8a3500a
Updated concatenation code for model primary key.
poojamat Apr 13, 2022
49f1a94
Test fix.
poojamat Apr 13, 2022
802eaad
Test fix.
poojamat Apr 13, 2022
c30b29f
Test fix.
poojamat Apr 13, 2022
6399c10
Test fix.
poojamat Apr 13, 2022
461463b
Test fix.
poojamat Apr 13, 2022
23da55c
Optimization to make @@primary key only in case of composite primary …
poojamat Apr 15, 2022
3dc09ab
Clean up
poojamat Apr 15, 2022
a3f625d
Increasing timeout for flaky test.
poojamat Apr 18, 2022
e02a9ff
Merge branch 'main' into cpk_query
poojamat Apr 18, 2022
c3e60b6
Ignoring the test failing in the build.
poojamat Apr 18, 2022
bc5fb2a
Merge branch 'cpk_query' of https://github.com/aws-amplify/amplify-an…
poojamat Apr 18, 2022
0a44923
Increasing timeout on AWSDatastore plugin for tests.
poojamat Apr 18, 2022
3778a94
Updating where.identifier method.
poojamat Apr 19, 2022
65d4a6b
Increasing timeout for slow running test.
poojamat Apr 19, 2022
ef0b908
Update testmodels/src/main/java/com/amplifyframework/testmodels/perso…
poojamat Apr 19, 2022
7d1096a
Update aws-api-appsync/src/main/java/com/amplifyframework/datastore/a…
poojamat Apr 19, 2022
638581b
Update aws-api-appsync/src/main/java/com/amplifyframework/datastore/a…
poojamat Apr 19, 2022
cd0ff50
Update aws-api-appsync/src/main/java/com/amplifyframework/datastore/a…
poojamat Apr 19, 2022
af5a819
Code review suggestions.
poojamat Apr 19, 2022
5008814
Update aws-datastore/src/main/java/com/amplifyframework/datastore/sto…
poojamat Apr 19, 2022
0f23495
Update core/src/main/java/com/amplifyframework/core/model/ModelPrimar…
poojamat Apr 19, 2022
64bd1fb
Update aws-datastore/src/androidTest/java/com/amplifyframework/datast…
poojamat Apr 19, 2022
d5d1a2f
Code review suggestions.
poojamat Apr 19, 2022
0c5a8c0
Merge branch 'cpk_query' of https://github.com/aws-amplify/amplify-an…
poojamat Apr 19, 2022
f0920dd
Merge branch 'main' into cpk_query
poojamat Apr 19, 2022
0233d76
Increasing time out for orchestrator semaphore
poojamat Apr 19, 2022
1c59455
Merge branch 'cpk_query' of https://github.com/aws-amplify/amplify-an…
poojamat Apr 19, 2022
8fa8ad8
Update aws-datastore/src/main/java/com/amplifyframework/datastore/sto…
poojamat Apr 19, 2022
2e0a6b0
Merge branch 'main' into cpk_query
poojamat Apr 19, 2022
a6acaaa
Formatting fixes.
poojamat Apr 20, 2022
22925e5
Merge branch 'cpk_query' of https://github.com/aws-amplify/amplify-an…
poojamat Apr 20, 2022
5a68f4e
PR suggestions.
poojamat Apr 20, 2022
d2e3f66
Update core/src/main/java/com/amplifyframework/core/model/ModelPrimar…
poojamat Apr 20, 2022
fc8c0c5
Update core/src/main/java/com/amplifyframework/core/model/ModelPrimar…
poojamat Apr 21, 2022
6729532
Deprecating where.id method.
poojamat Apr 22, 2022
8b8be0a
Merge branch 'cpk_query' of https://github.com/aws-amplify/amplify-an…
poojamat Apr 22, 2022
31fdcdd
Checkstyle
poojamat Apr 22, 2022
a982a17
where.id deprecation in datastore integration tests.
poojamat Apr 22, 2022
06710a5
Merge branch 'main' into cpk_query
poojamat Apr 22, 2022
e42a9d9
Code optimization to create SQL index for primary key fields only if …
poojamat Apr 22, 2022
60fa8d7
Merge branch 'main' into cpk_query
poojamat Apr 22, 2022
c514f65
Merge branch 'cpk_query' of https://github.com/aws-amplify/amplify-an…
poojamat Apr 22, 2022
18c9cac
Fixed flaky test.
poojamat Apr 23, 2022
b0b00b5
Added an integration test for a flaky unit test.
poojamat Apr 25, 2022
ff77694
fix(datastore): #1584 When DateTimeParseException is not available fo…
gpanshu Apr 26, 2022
48ee8f3
Refactored the code around sync expression predicate of QueryPredicat…
poojamat Apr 28, 2022
e43861d
Checkstyle
poojamat Apr 28, 2022
dbe6443
Removing integration test for custom primary untill I find a way to f…
poojamat Apr 28, 2022
8713112
Version bumps (#1721)
tjleing Apr 28, 2022
6412873
chore: add geo to bug and feature report templates (#1722)
eeatonaws Apr 28, 2022
1462791
Merge branch 'main' into cpk_query
poojamat Apr 29, 2022
2ba17c9
Accidental change.
poojamat May 1, 2022
80b243a
Merge remote-tracking branch 'refs/remotes/origin/cpk_query' into cpk…
poojamat May 1, 2022
c7f56e9
Indentations.
poojamat May 1, 2022
1c2b356
Update changelog after manual release v1.35.3 (#1724)
tjleing May 3, 2022
a8e01a9
Fixing get unique key function on Model primary key helper.
poojamat May 4, 2022
4e1e27e
Update aws-datastore/src/main/java/com/amplifyframework/datastore/sto…
poojamat May 4, 2022
463a0cf
Merge branch 'main' into cpk_query
poojamat May 4, 2022
ef65e1a
Fixing cascade delete on a child with custom primary key. (#1731)
poojamat May 11, 2022
993877a
chore: Update CODEOWNERS [skip ci] (#1733)
palpatim May 11, 2022
a3762b0
Updated schema version of
mikschn-aws May 13, 2022
ef8cbe8
Modifying create mutation to handle custom foreign keys.
mikschn-aws May 14, 2022
dc0cb2a
Updating Create mutation to work with custom foreign keys.
mikschn-aws May 18, 2022
a5b613c
chore: notify comments on closed issues (#1739)
div5yesh May 19, 2022
49741fb
Update SDK version in build.gradle (#1741)
eeatonaws May 19, 2022
8891fae
release: Amplify Android 1.35.4 (#1742)
github-actions[bot] May 19, 2022
d2f6c1c
Updating Create mutation to work with custom foreign keys.
mikschn-aws May 18, 2022
841fa19
Merge branch 'fix-mutations' of https://github.com/aws-amplify/amplif…
mikschn-aws May 19, 2022
9e8897b
Fix format errors
mikschn-aws May 19, 2022
23b6278
Updating Create mutation to work with custom foreign keys.
mikschn-aws May 18, 2022
daf479d
Fix unit tests
mikschn-aws May 20, 2022
ac13772
Fix format errors
mikschn-aws May 20, 2022
6b80ced
Fixing cascade delete on a child with custom primary key. (#1731)
poojamat May 11, 2022
3977e5c
chore: update gson version (#1744)
eeatonaws May 23, 2022
c69b334
Update notify_comments.yml (#1746)
div5yesh May 23, 2022
551f278
Update SDK version in build.gradle (#1747)
tjleing May 23, 2022
9484593
release: Amplify Android 1.35.5 (#1748)
github-actions[bot] May 23, 2022
85775cf
Fix typos
mikschn-aws May 24, 2022
a25e1ba
Fix typos
mikschn-aws May 24, 2022
f3f7b89
add comment
mikschn-aws May 24, 2022
5604b0d
Updating custom key models and adding a unit test with no sort keys
mikschn-aws May 25, 2022
63b932a
Updated comment models. Added unit test for custom key with no sor…
mikschn-aws May 25, 2022
4f33052
Updated tests and db models to match new schema version. Added a tes…
mikschn-aws May 25, 2022
d211758
Merge branch 'cpk_query' into fix-mutations
mikepschneider May 25, 2022
1375235
chore: update notify_release.yml (#1720)
div5yesh May 26, 2022
d5c3cec
Cpk bidirectional (#1751)
poojamat May 26, 2022
2ea29ad
Fix create mutations for custom PK (#1740)
mikepschneider May 26, 2022
cb6b478
Merge branch 'fix-mutations' into cpk_query
poojamat May 27, 2022
2852ec3
Added logic to delete with class name and predicate to support custom…
poojamat May 30, 2022
d67fa02
Revert "Added logic to delete with class name and predicate to suppor…
poojamat May 30, 2022
fc2d374
Delete with class and predicate as parameters support for custom prim…
poojamat May 31, 2022
82b79f7
Get pk (#1761)
poojamat Jun 1, 2022
c9962b2
Merge branch 'main' into cpk_query
poojamat Jun 1, 2022
b18cfae
Appsync mutation fk (#1762)
poojamat Jun 4, 2022
1d493e0
fix: start transfer service as foreground for >= API26 (#1759)
sdhuka Jun 8, 2022
1884339
Fixing outbox event processed, (#1765)
poojamat Jun 8, 2022
b9fe843
ignore flaky test (#1768)
div5yesh Jun 9, 2022
2ea4a1c
upgrade jmespath to version 1.6.1 (#1766)
div5yesh Jun 9, 2022
96e1820
Create closed_issue_message.yml (#1754)
div5yesh Jun 9, 2022
ab85e4a
Bump SDK version to 2.48.0 (#1773)
div5yesh Jun 9, 2022
7f1319f
release version bump (#1774)
div5yesh Jun 9, 2022
84fdd9b
Fix for adding data back to the delete request if it contains data as…
gpanshu Jun 13, 2022
7d0f0e3
chore: Update CODEOWNERS [skip ci] (#1778)
palpatim Jun 14, 2022
f6425c7
Fix/1485 : Fix for sending the session expired hub event when all cre…
gpanshu Jun 15, 2022
e92d59b
chore: add PR guidelines (#1780)
div5yesh Jun 16, 2022
556e4fa
Updating build.gradle to include the latest version of the aws sdk (#…
gpanshu Jun 16, 2022
5c9cb45
release: Amplify Android 1.35.7 (#1784)
github-actions[bot] Jun 16, 2022
c31de90
chore: update release_pr.yml (#1781)
div5yesh Jun 17, 2022
216f243
chore: add statebot for pending response issues (#1785)
div5yesh Jun 20, 2022
a406343
chore: add GH workflow to automate projects (#1756)
div5yesh Jun 21, 2022
d5faa6e
Merge branch 'main' into cpk_query
poojamat Jun 22, 2022
eb361b0
Suppress belongsto index (#1789)
poojamat Jun 23, 2022
21d3788
chore: update PR template (#1786)
div5yesh Jun 23, 2022
d3b13e2
Update build.gradle
banji180 Jun 23, 2022
6af3d77
chore: Update aws android sdk version in build.gradle
banji180 Jun 23, 2022
39c4245
feat: Add flushEvents HubEvent for analytics (#1792)
sdhuka Jun 23, 2022
a717aa6
release: Amplify Android 1.36.0 (#1796)
github-actions[bot] Jun 23, 2022
45e5aae
fix orchestrator failing if emitter is disposed (#1755)
joekiller Jun 27, 2022
57a48ed
test(datastore): Flutter update (#1801)
mikepschneider Jun 28, 2022
6a5d750
catch exceptions from processOutboxItem (#1743)
joekiller Jun 28, 2022
f78c0bd
ci: added canary workflow (#1770)
yeung-wah Jun 28, 2022
527c5e0
release: Amplify Android 1.36.1
Jun 30, 2022
7437793
Merge pull request #1805 from aws-amplify/bump_version
tylerjroach Jun 30, 2022
3179079
Merge branch 'main' into cpk_query
poojamat Jul 2, 2022
d4402fa
Expand a catch clause to catch all (#1806)
mikepschneider Jul 6, 2022
99ae6ef
chore(datastore): Add SchemaDrift integration tests (#1800)
lawmicha Jul 6, 2022
48d3239
release: Amplify Android 1.36.2 (#1812)
github-actions[bot] Jul 7, 2022
f07ab2c
Flutter fix (#1769)
poojamat Jul 8, 2022
7452310
Merge branch 'main' into cpk_query
poojamat Jul 8, 2022
4964cf0
Call to start TransferService regardless of if it has already been st…
tylerjroach Jul 11, 2022
484965a
Integration test fix (#1815)
poojamat Jul 11, 2022
c2a07b8
Checkstyle fixes.
poojamat Jul 11, 2022
aa5c255
Integration test fix (#1820)
poojamat Jul 12, 2022
f2eddfc
Checkstyle fixes
poojamat Jul 12, 2022
434bde5
Increasing timeout for test.
poojamat Jul 12, 2022
b72b0cf
Ignoring flaky test.
poojamat Jul 12, 2022
72f5f91
Integration test (#1821)
poojamat Jul 13, 2022
f670229
Version update (#1825)
poojamat Jul 15, 2022
b4ca978
Cpk version update (#1826)
poojamat Jul 15, 2022
d6dc0cc
fix(api): catch all exceptions when making rest request (#1827)
eeatonaws Jul 18, 2022
68518a2
Fixing flutter sql predicate issue Version update. (#1832)
poojamat Jul 18, 2022
882e25f
Flutter update (#1833)
poojamat Jul 18, 2022
6df9be8
version update (#1837)
poojamat Jul 19, 2022
6d70fb1
release: Amplify Android 1.36.3 (#1839)
github-actions[bot] Jul 20, 2022
b8b57cc
Merge branch 'main' into tjroach/fix-transfer-service-start
tylerjroach Jul 22, 2022
8e206f6
Merge pull request #1838 from aws-amplify/tjroach/fix-transfer-servic…
tylerjroach Jul 22, 2022
bd91ef0
Update transfer message in notification
tylerjroach Jul 22, 2022
709f427
Merge pull request #1844 from aws-amplify/tjroach/update-transfer-not…
tylerjroach Jul 22, 2022
7c80a2c
Update the Delete REST API to ensure it would work with and without a…
gpanshu Jul 25, 2022
7bfa0f5
Chore(Release): Updating mobile client to the latest (#1847)
gpanshu Jul 26, 2022
9f66ca3
release: Amplify Android 1.36.4 (#1856)
github-actions[bot] Jul 26, 2022
8e6aec0
Updating the version to 2.50.1 for AWS SDK (#1861)
gpanshu Jul 28, 2022
41ebc8f
Merge branch 'main' into cpk_query
poojamat Jul 28, 2022
0c99aa1
Reduce the importance level of transfer channel for foreground servic…
tylerjroach Jul 28, 2022
d6c56dd
release: Amplify Android 1.36.5 (#1863)
github-actions[bot] Jul 28, 2022
93c0033
Merge branch 'main' into cpk_query
poojamat Jul 29, 2022
9074d87
Merge pull request #1650 from aws-amplify/cpk_query
poojamat Jul 29, 2022
58e7877
Fix for flutter backtick
poojamat Jul 30, 2022
57307e2
Update aws-datastore/src/main/java/com/amplifyframework/datastore/sto…
poojamat Aug 1, 2022
f5a74ed
version update for flutter backtick
poojamat Aug 1, 2022
5dbea2b
fix(api): allow post request with empty body (#1864)
eeatonaws Aug 2, 2022
8ca41ac
release: Amplify Android 1.36.6
Aug 4, 2022
93685f7
update version numbers and removed miscellaneous section in changelog.md
Aug 4, 2022
758b909
update version numbers and removed miscellaneous section in changelog.md
Aug 4, 2022
c77cfd8
update version numbers and removed miscellaneous section in changelog.md
Aug 4, 2022
63083d1
Merge pull request #1871 from aws-amplify/bump_version
banji180 Aug 4, 2022
3ff1dab
Moving TransferService responsibility to Amplify to track when to saf…
tylerjroach Aug 4, 2022
807f600
Set AmplifyTransferService to internal
tylerjroach Aug 4, 2022
b97a195
correct logic to stop transfer service
tylerjroach Aug 5, 2022
5b29647
Ensure startForeground is always called after startForegroundService
tylerjroach Aug 5, 2022
4167345
Merge branch 'main' into dev-preview-merge
Aug 5, 2022
471e7ad
Merge branch 'main' into dev-preview-merge
Aug 5, 2022
b706f62
Replace problematic startForegroundService with bind.
tylerjroach Aug 5, 2022
10419f2
Removing ignore from tests
tylerjroach Aug 5, 2022
9d110d6
Merge branch 'main' into tjroach/replace-startForegroundService-with-…
tylerjroach Aug 5, 2022
7595224
ktlint
tylerjroach Aug 8, 2022
84efe07
Merge remote-tracking branch 'origin/tjroach/replace-startForegroundS…
tylerjroach Aug 8, 2022
8805310
Update storage tests and add stress test
tylerjroach Aug 8, 2022
1330075
fix import
tylerjroach Aug 8, 2022
242ad5b
start unbind check in onServiceConnected to ensure handler is started…
tylerjroach Aug 8, 2022
bc395ef
pr comments
tylerjroach Aug 9, 2022
6ad3edf
Merge pull request #1875 from aws-amplify/tjroach/replace-startForegr…
tylerjroach Aug 9, 2022
dce523f
resolved merge conflict
Aug 10, 2022
230a59c
Merge remote-tracking branch 'origin/dev-preview' into dev-preview-merge
Aug 10, 2022
a46e715
chore: update AWS SDK for Android version (#1880)
eeatonaws Aug 11, 2022
0af5803
release: Amplify Android 1.37.1 (#1881)
github-actions[bot] Aug 11, 2022
d9cc59d
Merge branch 'main' into flutter-fix-backticks
poojamat Aug 11, 2022
abf1ec5
Update gradle.properties
poojamat Aug 11, 2022
2db6f0d
Merge pull request #1866 from aws-amplify/flutter-fix-backticks
poojamat Aug 11, 2022
d875fd7
Run more devices in farm
tylerjroach Aug 12, 2022
b790260
Update region
tylerjroach Aug 12, 2022
be8d114
change device filters
tylerjroach Aug 12, 2022
77ebd72
Removing unused code.
poojamat Aug 14, 2022
44362a0
Merge remote-tracking branch 'origin/dev-preview' into dev-preview-merge
Aug 15, 2022
bd6501c
fixed codebuiled nonexhaustive loop
Aug 15, 2022
026d5ac
fixed codebuiled nonexhaustive loop
Aug 15, 2022
8dc23d3
Merge branch 'main' into model-type-fix
tylerjroach Aug 15, 2022
ae3ed3d
Merge pull request #1883 from aws-amplify/model-type-fix
tylerjroach Aug 16, 2022
6a38bf9
release: Amplify Android 1.37.2
Aug 16, 2022
7d2f12b
Update changelog
tylerjroach Aug 16, 2022
afb6431
Merge pull request #1890 from aws-amplify/bump_version
tylerjroach Aug 16, 2022
e597aea
Merge branch 'main' into tjroach/run-integration-multiple-devices
div5yesh Aug 16, 2022
2039e63
chore: change pull request template (#1892)
sktimalsina Aug 17, 2022
686e106
Fixing test failure because of list ordering.
poojamat Aug 17, 2022
b47e805
namespace test report for multiple devices
sktimalsina Aug 18, 2022
b89b413
Merge branch 'tjroach/run-integration-multiple-devices' of github.com…
tylerjroach Aug 18, 2022
84a5bb5
Merge remote-tracking branch 'origin/dev-preview' into dev-preview-merge
Aug 18, 2022
debb2e0
chore: add device run suffix to test report generator (#1895)
sktimalsina Aug 18, 2022
7410408
Merge branch 'main' into tjroach/run-integration-multiple-devices
sktimalsina Aug 18, 2022
a18e240
Update generate_df_testrun_report
sktimalsina Aug 18, 2022
fe6a8cd
Merge branch 'main' into integration_test_fix
tylerjroach Aug 18, 2022
0f82095
Merge pull request #1894 from aws-amplify/integration_test_fix
poojamat Aug 18, 2022
e679a51
lower polling on device farm
tylerjroach Aug 19, 2022
784bb8d
Merge branch 'main' into tjroach/run-integration-multiple-devices
tylerjroach Aug 19, 2022
6405ce1
Merge pull request #1882 from aws-amplify/tjroach/run-integration-mul…
tylerjroach Aug 19, 2022
2e8fdba
Merge remote-tracking branch 'origin/main' into dev-preview-merge
div5yesh Aug 19, 2022
b0c5017
Merge branch 'dev-preview' into dev-preview-merge
div5yesh Aug 20, 2022
a334a61
fix merge errors
div5yesh Aug 20, 2022
30ab36c
fix lint and test errors
div5yesh Aug 22, 2022
b613392
Merge branch 'dev-preview' into dev-preview-merge
div5yesh Aug 22, 2022
3a5bee3
fix merge errors and ignore tests
div5yesh Aug 23, 2022
ea91c4e
Merge branch 'dev-preview' into dev-preview-merge
div5yesh Aug 23, 2022
471cb67
ignore storage tests
div5yesh Aug 23, 2022
c6c5a21
Merge branch 'dev-preview' into dev-preview-merge
div5yesh Aug 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

orbs:
getting-started-smoke-test:
orbs:
android: circleci/android@2.0.0

jobs:
android:
working_directory: ~/android-canaries/canaries/example
executor:
name: android/android-machine
resource-class: xlarge
tag: 2022.03.1
steps:
- checkout:
path: ~/android-canaries
- android/create-avd:
avd-name: myavd
install: true
system-image: system-images;android-29;default;x86
- android/start-emulator:
avd-name: myavd
- android/run-tests



workflows:
canaries:
when:
and:
- equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
- equal: [ "Canaries", << pipeline.schedule.name >> ]
jobs:
- getting-started-smoke-test/android
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @aws-amplify/amplify-android
* @aws-amplify/amplify-android @aws-amplify/amplify-data
5 changes: 3 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- [ ] PR title and description conform to [Pull Request](https://github.com/aws-amplify/amplify-android/blob/main/CONTRIBUTING.md#pull-request-guidelines) guidelines.

*Issue #, if available:*

*Description of changes:*
Expand All @@ -6,8 +8,7 @@
(Please add a line here how the changes were tested)

- [ ] Added Unit Tests
- [ ] Tested on frontend (Add Screenshots)
- [ ] Successful logs (Attach them to the PR)
- [ ] Added Integration Tests

*Documentation update required?*
- [ ] No
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/priority_bumper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Projects priority automation
on:
issue_comment:
types: [created]

jobs:
bump_to_p2:
runs-on: ubuntu-latest
if: ${{ github.event.issue.comments > 10 }}
steps:
- name: Bump to P2
env:
GITHUB_TOKEN: ${{ secrets.PROJECT_WORKFLOW_TOKEN }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
ISSUE_ID: ${{ github.event.issue.node_id }}
FIELD_ID: ${{ secrets.PRIORITY_COL }}
FIELD_OPT_ID: ${{ secrets.P2_OPT_ID }}
shell: bash
run: curl -s POST https://api.github.com/graphql -H "Authorization:Bearer $GITHUB_TOKEN" --data '{"query":"mutation {updateProjectNextItemField(input:{projectId:\"${{ env.PROJECT_ID }}\" itemId:\"${{ env.ISSUE_ID }}\" fieldId:\"${{ env.FIELD_ID }}\" value:\"${{ env.FIELD_OPT_ID }}\"}) {projectNextItem {id}}}"}' > /dev/null

bump_to_p1:
runs-on: ubuntu-latest
if: ${{ github.event.issue.comments > 15 }}
steps:
- name: Bump to P1
env:
GITHUB_TOKEN: ${{ secrets.PROJECT_WORKFLOW_TOKEN }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
ISSUE_ID: ${{ github.event.issue.node_id }}
FIELD_ID: ${{ secrets.PRIORITY_COL }}
FIELD_OPT_ID: ${{ secrets.P1_OPT_ID }}
shell: bash
run: curl -s POST https://api.github.com/graphql -H "Authorization:Bearer $GITHUB_TOKEN" --data '{"query":"mutation {updateProjectNextItemField(input:{projectId:\"${{ env.PROJECT_ID }}\" itemId:\"${{ env.ISSUE_ID }}\" fieldId:\"${{ env.FIELD_ID }}\" value:\"${{ env.FIELD_OPT_ID }}\"}) {projectNextItem {id}}}"}' > /dev/null

50 changes: 50 additions & 0 deletions .github/workflows/project_automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Projects beta automation
on:
issues:
types: [opened, assigned, unassigned, labeled, unlabeled]

jobs:
add_issue:
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' }}
steps:
- name: Add to project
env:
GITHUB_TOKEN: ${{ secrets.PROJECT_WORKFLOW_TOKEN }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
ISSUE_ID: ${{ github.event.issue.node_id }}
shell: bash
run: |
curl -s POST https://api.github.com/graphql -H "Authorization:Bearer $GITHUB_TOKEN" --data '{"query":"mutation {addProjectNextItem(input:{projectId:\"${{ env.PROJECT_ID }}\" contentId:\"${{ env.ISSUE_ID }}\"}) {projectNextItem {id}}}"}' > /dev/null

move_to_wip:
runs-on: ubuntu-latest
if: ${{ github.event.action == 'assigned' || contains(github.event.issue.labels.*.name, 'pending-response') || contains(github.event.issue.labels.*.name, 'closing soon') }}
steps:
- name: Move to WIP column
env:
GITHUB_TOKEN: ${{ secrets.PROJECT_WORKFLOW_TOKEN }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
ISSUE_ID: ${{ github.event.issue.node_id }}
FIELD_ID: ${{ secrets.STATUS_COL }}
FIELD_OPT_ID: ${{ secrets.WIP_OPT_ID }}
shell: bash
run: |
curl -s POST https://api.github.com/graphql -H "Authorization:Bearer $GITHUB_TOKEN" —data '{"query":"mutation {updateProjectNextItemField(input:{projectId:\"${{ env.PROJECT_ID }}\" itemId:\"${{ env.ISSUE_ID }}\" fieldId:\"${{ env.FIELD_ID }}\" value:\"${{ env.FIELD_OPT_ID }}\"}) {projectNextItem {id}}}"}' > /dev/null

move_to_todo:
runs-on: ubuntu-latest
if: ${{ join(github.event.issue.assignees.*.login) == '' && !contains(github.event.issue.labels.*.name, 'pending-response') && !contains(github.event.issue.labels.*.name, 'closing soon') }}
steps:
- name: Move to Todo column
env:
GITHUB_TOKEN: ${{ secrets.PROJECT_WORKFLOW_TOKEN }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
ISSUE_ID: ${{ github.event.issue.node_id }}
FIELD_ID: ${{ secrets.STATUS_COL }}
FIELD_OPT_ID: ${{ secrets.TODO_OPT_ID }}
shell: bash
run: |
curl -s POST https://api.github.com/graphql -H "Authorization:Bearer $GITHUB_TOKEN" --data '{"query":"mutation {updateProjectNextItemField(input:{projectId:\"${{ env.PROJECT_ID }}\" itemId:\"${{ env.ISSUE_ID }}\" fieldId:\"${{ env.FIELD_ID }}\" value:\"${{ env.FIELD_OPT_ID }}\"}) {projectNextItem {id}}}"}' > /dev/null


7 changes: 6 additions & 1 deletion .github/workflows/release_pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Prepare Next Release
on:
workflow_dispatch:
inputs:
release_tag:
description: 'Release Tag'
required: false
type: string
env:
GIT_USER_NAME: amplify-android-dev+ghops
GIT_USER_EMAIL: amplify-android-dev+ghops@amazon.com
Expand Down Expand Up @@ -42,7 +47,7 @@ jobs:
RELEASE_MANAGER_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
cd scripts
bundle exec fastlane android create_next_release_pr
bundle exec fastlane android create_next_release_pr release_tag:${{ github.event.inputs.release_tag }}
- name: Check modified file content
run: |
cat gradle.properties
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Close stale issues"

on:
schedule:
- cron: "30 1 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
operations-per-run: 200
stale-issue-message: "This issue is stale since it's been open 30 days with no activity. This will be closed in 7 days unless the `Closing Soon` label is removed or a comment is added. Thank you for your contributions."
close-issue-message: "This issue was closed since it's been 7 days with no activity."
stale-issue-label: "closing soon"
debug-only: true
days-before-stale: 30
days-before-close: 7
# PRs wont go stale
days-before-pr-stale: -1
# Issues with any of these labels are checked.
any-of-labels: "pending-response, closing soon"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ __pycache__/
# Credentials
**/awsconfiguration.json
**/amplifyconfiguration.json
**/amplifyconfiguration_v2.json
**/credentials.json
**/google_client_creds.json

Expand Down
92 changes: 87 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,90 @@
## [Release 1.37.2](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.37.2)

### Bug Fixes
- **datastore**: Fix for Flutter backtick (#1866)

[See all changes between 1.37.1 and 1.37.2](https://github.com/aws-amplify/amplify-android/compare/release_v1.37.1...release_v1.37.2)

## [Release 1.37.1](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.37.1)

### Bug Fixes
- **storage**: Remove startForegroundService in favor of binding service

### Miscellaneous
- Update AWS SDK for Android version

[See all changes between 1.37.0 and 1.37.1](https://github.com/aws-amplify/amplify-android/compare/release_v1.37.0...release_v1.37.1)

## [Release 1.37.0](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.37.0)

### Features
- **datastore**: Implemented support for custom primary key (#1650)

### Bug Fixes
- **api:** allow post request with empty body (#1864)

[See all changes between 1.36.5 and 1.37.0](https://github.com/aws-amplify/amplify-android/compare/release_v1.36.5...release_v1.37.0)

## [Release 1.36.5](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.36.5)

### Miscellaneous
- Updating the version to 2.50.1 for AWS SDK (#1861)
- Reduce the importance level of transfer channel for foreground service to prevent sound/vibrate (#1860)

[See all changes between 1.36.4 and 1.36.5](https://github.com/aws-amplify/amplify-android/compare/release_v1.36.4...release_v1.36.5)

## [Release 1.36.4](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.36.4)

### Miscellaneous
- Call to start TransferService regardless of if it has already been started
- Update transfer message in notification
- Update the Delete REST API to ensure it would work with and without a body (#1842)
- Chore(Release): Updating mobile client to the latest (#1847)

[See all changes between 1.36.3 and 1.36.4](https://github.com/aws-amplify/amplify-android/compare/release_v1.36.3...release_v1.36.4)

## [Release 1.36.3](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.36.3)

### Bug Fixes
- **api:** catch all exceptions when making rest request (#1827)

[See all changes between 1.36.2 and 1.36.3](https://github.com/aws-amplify/amplify-android/compare/release_v1.36.2...release_v1.36.3)

## [Release 1.36.2](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.36.2)

### Miscellaneous
- Expand a catch clause to catch all (#1806)

[See all changes between 1.36.1 and 1.36.2](https://github.com/aws-amplify/amplify-android/compare/release_v1.36.1...release_v1.36.2)

## [Release 1.36.1](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.36.1)

### Miscellaneous
- fix orchestrator failing if emitter is disposed (#1755)
- catch exceptions from processOutboxItem (#1743)
- ci: added canary workflow (#1770)

[See all changes between 1.36.0 and 1.36.1](https://github.com/aws-amplify/amplify-android/compare/release_v1.36.0...release_v1.36.1)

## [Release 1.36.0](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.36.0)

### Features
- Add flushEvents HubEvent for analytics (#1792)

### Miscellaneous
- Update build.gradle

[See all changes between 1.35.7 and 1.36.0](https://github.com/aws-amplify/amplify-android/compare/release_v1.35.7...release_v1.36.0)

## [Release 1.35.7](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.35.7)

### Miscellaneous
- Fix for adding data back to the delete request if it contains data as that is allowed for the Delete api (#1735)
- Fix/1485 : Fix for sending the session expired hub event when all credentials are expired (#1779)
- Updating build.gradle to include the latest version of the aws sdk (#1783)

[See all changes between 1.35.6 and 1.35.7](https://github.com/aws-amplify/amplify-android/compare/release_v1.35.6...release_v1.35.7)

## [Release 1.35.6](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.35.6)

### Bug Fixes
Expand All @@ -15,15 +102,13 @@
## [Release 1.36.5-dev-preview.0](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.36.5-dev-preview.0)

### Miscellaneous

- Dev preview update and version bump (#1752)

[See all changes between 1.35.5 and 1.36.5-dev-preview.0](https://github.com/aws-amplify/amplify-android/compare/release_v1.35.5...release_v1.36.5-dev-preview.0)

## [Release 1.35.5](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.35.5)

### Miscellaneous

- chore: update gson version (#1744)
- Update notify_comments.yml (#1746)
- Update SDK version in build.gradle (#1747)
Expand All @@ -33,19 +118,16 @@
## [Release 1.35.4](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.35.4)

### Miscellaneous

- Update SDK version in build.gradle (#1741)

[See all changes between 1.35.3 and 1.35.4](https://github.com/aws-amplify/amplify-android/compare/release_v1.35.3...release_v1.35.4)

## [Release 1.35.3](https://github.com/aws-amplify/amplify-android/releases/tag/release_v1.35.3)

### Bug Fixes

- When DateTimeParseException is not available for lower apis (#1701)

### Miscellaneous

- Version bumps (#1721)

[See all changes between 1.35.2 and 1.35.3](https://github.com/aws-amplify/amplify-android/compare/release_v1.35.2...release_v1.35.3)
Expand Down
23 changes: 16 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,15 +425,24 @@ This last step will give you a URL to view a GitHub page in your browser.
Copy-paste this, and complete the workflow in the UI. It will invite you to
"create a PR" from your newly published branch.

Your PR must be reviewed by at least one repository maintainer, in order
### Pull Request Guidelines
- The title of your PR must be descriptive to the specific change.
- The title of your PR must be of below format since next release version is determined from PR titles in the commit history.
- For a bugfix: `fix(category): description of changes`
- For a feature: `feat(catgory): add awesome feature`
- Everything else: `chore: fix build script`
- Eg. `fix(auth): throw correct auth exception for code mismatch`. Refer https://github.com/aws-amplify/amplify-android/pull/1370
- No period at the end of the title.
- Pull Request message should indicate which issues are fixed: `fixes #<issue>` or `closes #<issue>`.
- If not obvious (i.e. from unit tests), describe how you verified that your change works.
- If this PR includes breaking changes, they must be listed at the top of the changelog as described above in the Pull Request Checklist.
- PR must be reviewed by at least one repository maintainer, in order
to be considered for inclusion.

your PR must also pass the CircleCI workflow and LGTM validations. CircleCI
- PR must also pass the CodeBuild workflow and LGTM validations. CodeBuild
will run all build tasks (Checkstyle, Lint, unit tests).

Currently, CircleCI **DOES NOT** run instrumentation tests for PRs that come
from user forks. You should run these tests on your laptop before submitting
the PR.
- Usually all these are going to be **squashed** when you merge to main.
- Make sure to update the PR title/description if things change.
- Rebase with the `main` branch if it has commits ahead of your fork.

## Troubleshooting

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ dependencies section:
```groovy
dependencies {
// Only specify modules that provide functionality your app will use
implementation 'com.amplifyframework:aws-analytics-pinpoint:1.36.6-dev-preview.0'
implementation 'com.amplifyframework:aws-api:1.36.6-dev-preview.0'
implementation 'com.amplifyframework:aws-auth-cognito:1.36.6-dev-preview.0'
implementation 'com.amplifyframework:aws-datastore:1.36.6-dev-preview.0'
implementation 'com.amplifyframework:aws-predictions:1.36.6-dev-preview.0'
implementation 'com.amplifyframework:aws-storage-s3:1.36.6-dev-preview.0'
implementation 'com.amplifyframework:aws-analytics-pinpoint:1.37.0-dev-preview.0'
implementation 'com.amplifyframework:aws-api:1.37.0-dev-preview.0'
implementation 'com.amplifyframework:aws-auth-cognito:1.37.0-dev-preview.0'
implementation 'com.amplifyframework:aws-datastore:1.37.0-dev-preview.0'
implementation 'com.amplifyframework:aws-predictions:1.37.0-dev-preview.0'
implementation 'com.amplifyframework:aws-storage-s3:1.37.0-dev-preview.0'
}
```

Expand Down
1 change: 1 addition & 0 deletions aws-analytics-pinpoint/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'com.android.library'
apply from: rootProject.file("configuration/checkstyle.gradle")
apply from: rootProject.file("configuration/publishing.gradle")
apply plugin: 'kotlin-android'
apply plugin: 'org.jlleitschuh.gradle.ktlint'

dependencies {
implementation project(path: ':core')
Expand Down
Loading