-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@remix-run/server-runtime": minor | ||
--- | ||
|
||
Add `errorHeaders` parameter to the leaf `headers()` function to expose headers from thrown responses that bubble up to ancestor route boundaries. If the throwing route contains the boundary, then `errorHeaders` will be the same object as `loaderHeaders`/`actionHeaders` for that route. |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
"@remix-run/server-runtime": minor | ||
"@remix-run/react": minor | ||
--- | ||
|
||
Force Typescript to simplify type produced by `Serialize`. | ||
|
||
As a result, the following types and functions have simplified return types: | ||
- SerializeFrom | ||
- useLoaderData | ||
- useActionData | ||
- useFetcher | ||
|
||
```ts | ||
type Data = { hello: string; when: Date } | ||
|
||
// BEFORE | ||
type Unsimplified = SerializeFrom<Data> | ||
// ^? SerializeObject<UndefinedToOptional<{ hello: string; when: Date }>> | ||
|
||
// AFTER | ||
type Simplified = SerializeFrom<Data> | ||
// ^? { hello: string; when: string } | ||
``` |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,16 +28,15 @@ on: | |
TEST_VERCEL_USER_ID: | ||
required: true | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
arc_deploy: | ||
name: Architect Deploy | ||
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -72,6 +71,9 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -107,6 +109,9 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -143,6 +148,9 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -182,6 +190,9 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -217,6 +228,9 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -249,6 +263,9 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,16 +6,15 @@ on: | |
- main | ||
- dev | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
format: | ||
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,14 @@ on: | |
- dev | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
name: ⬣ Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: 📦 Merged PR | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
branches: | ||
- dev | ||
paths: | ||
- "packages/**" | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
merged: | ||
name: Add label to merged PR | ||
if: github.event.pull_request.merged == true && github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/github-script@v6 | ||
with: | ||
retries: 3 | ||
script: | | ||
await github.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.issue.number, | ||
labels: 'awaiting release', | ||
}) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,6 @@ on: | |
schedule: | ||
- cron: "0 7 * * *" # every day at 12AM PST | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
CI: true | ||
|
||
|
@@ -26,6 +22,9 @@ jobs: | |
# allows this to be used in the `comment` job below - will be undefined if there's no release necessary | ||
NEXT_VERSION: ${{ steps.version.outputs.NEXT_VERSION }} | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
|