-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
release(required): Amplify JS release #12539
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
9a8f7b4
chore: Merge `release` into `main` (#12462)
jimblanc 47e822d
chore: Switch release back to conventional commits (#12463)
jimblanc 9d6c0b2
chore: Re-enable OSX pre-build (#12460)
jimblanc 661ac60
chore: Restrict staging branch checkout logic (#12465)
jimblanc feaecfd
feat(adapter-nextjs)!: introduce createServerRunner and remove withAm…
HuiSF 702ee71
chore(adapter-nextjs)!: rename generateServerClient to generateServer…
HuiSF 48c195d
chore(adapter-nextjs): make package public
HuiSF db86d67
chore: Re-enables SSR tests (#12468)
jimblanc b63359a
fix: Check for OAuth URLs before splitting (#12469)
jimblanc c2423a3
chore: Setup v5 LTS CI infrastructure (#12455) (#12459)
jimblanc bd880d3
chore: Update yarn.lock (#12471)
jimblanc 18f8976
feat(predictions): specify identifyEntity metadata type (#12470)
erinleigh90 20e9a79
fix(storage): address actionable TODOs (#12414)
AllanZhengYP 5e48cb1
fix: Resolving in-flight OAuth promises when sign-in flow cancelled (…
jimblanc 3b7a1f3
chore(inapp): reduce todos, update error message, update tests and ad…
Samaritan1011001 4476eba
test: increase tsc-compliance test coverage (#12444)
AllanZhengYP 58d1375
chore: Tweak bundle size limits(increase) (#12480)
jimblanc aaa7e98
fix(aws-amplify): preserve default auth providers with repetitive cal…
HuiSF 5ce4435
chore(adapter-nextjs): update public APIs inline docs
HuiSF 6b2d06b
fix(adapter-nextjs): add api dir to the distribution list
HuiSF cfbde4c
chore(api): hide generateClient from api/server subpath
HuiSF 091f681
fix(adapter-nextjs): remove the constraint of calling createServerRun…
HuiSF ad5c83e
fix: Support tracking multiple inflight OAuth promise resolvers (#12482)
jimblanc 588b76b
chore(adapter-nextjs): bump Next.js version range (#12442)
HuiSF ecba1ec
chore(amplify-js/utils): expose storage helpers (#12493)
israx 1aa0c2b
test(core): unit validating clockskew offset is updated when client c…
AllanZhengYP 02a91a4
fix(auth): rename type CognitoAuthUser to AuthUser (#12500)
ashwinkumar6 c4f5983
test(core): fix clock skew unit test (#12509)
AllanZhengYP 2432d39
export connection state type and enum from /api (#12508)
iartemiev e1d88c2
fix(react-native): Update namespaces to be unique (#12510)
cshfang 3ae78c7
chore(types): expose CodeDeliveryDetails, HubCapsule types (#12501)
ashwinkumar6 0960fdd
fix(core): remove used symbol and remove usage of Symbol.for
HuiSF 39eacaa
chore(adapter-nextjs): bump the min support version of Next.js
HuiSF 7b514bb
chore(adapter-nextjs): remove unused server-only dep
HuiSF 7dde343
fix: add module loader for web browser native module (#12519)
cshfang 875e28a
fix(auth): vend the helpful types for custom providers (#12497)
Samaritan1011001 903a012
feat(repo): set up rollup to emit esm and cjs artifacts (#12522)
HuiSF 5f52c64
fix(auth): Do not sign out client if Oauth signout fails (#12520)
cshfang 5b52c3a
fix(analytics): add options for configuring pinpoint event buffer (#1…
0138c28
Clean up references to ConsoleLogger (#12499)
cshfang bd73367
chore(auth|aws-amplify): fix instance naming (use camel-case)
HuiSF 36de0bb
fix(auth): refreshToken unawaited async operation caused race condition
HuiSF eca4b5a
chore: Update release command.
jimblanc 296162c
Publish
jimblanc 250bff8
fix: API GraphQL dependencies on core & auth.
jimblanc 0bf1ad7
chore: Remove auth as DataStore dependency.
jimblanc ff4e8d7
chore: Prep v6.0.1 release (#12538)
jimblanc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Release LTS version to npm and update repository | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
target: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
deploy: | ||
name: Publish to Amplify Package | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f | ||
with: | ||
path: amplify-js | ||
token: ${{ secrets.GH_TOKEN_AMPLIFY_JS_WRITE }} | ||
|
||
- name: Setup node and build the repository | ||
uses: ./amplify-js/.github/actions/node-and-build | ||
|
||
- name: Run npm publish | ||
uses: ./amplify-js/.github/actions/npm-publish | ||
with: | ||
target: ${{ inputs.target }} | ||
npm_token: ${{ secrets.NPM_TOKEN }} | ||
github_user: ${{ vars.GH_USER}} | ||
github_email: ${{ vars.GH_EMAIL}} | ||
|
||
- name: Set github commit user | ||
env: | ||
GITHUB_EMAIL: ${{ vars.GH_EMAIL }} | ||
GITHUB_USER: ${{ vars.GH_USER }} | ||
run: | | ||
git config --global user.email $GITHUB_EMAIL | ||
git config --global user.name $GITHUB_USER | ||
- name: Update API documentation | ||
working-directory: ./amplify-js | ||
run: | | ||
yarn run docs | ||
git add ./docs/api/ | ||
git commit -m "chore(release): update API docs [ci skip]" | ||
- name: Push post release changes | ||
working-directory: ./amplify-js | ||
env: | ||
TARGET_BRANCH: ${{ inputs.target }} | ||
run: | | ||
git push origin $TARGET_BRANCH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Push - release from LTS branch to LTS dist tag | ||
|
||
concurrency: | ||
# group name unique for push to push-latest-release | ||
group: push-lts-release-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- v5-stable | ||
|
||
jobs: | ||
e2e: | ||
secrets: inherit | ||
uses: ./.github/workflows/callable-release-verification.yml | ||
release: | ||
needs: | ||
- e2e | ||
permissions: | ||
contents: write | ||
secrets: inherit | ||
uses: ./.github/workflows/callable-npm-publish-lts-release.yml | ||
with: | ||
target: v5-stable # TODO Update this to support other LTS branches in the future |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep this is correct, synced offline