Skip to content

Commit 25b4c83

Browse files
authoredMay 14, 2022
feat: replace node-fetch with @remix-run/web-fetch (#2736)
feat: updated architect express, netlify, and vercel adapters for new fetch feat: breaking changes to the unstable upload handlers API feat: introduced unstable_composeUploadHandlers feat: `unstable_parseMultipartFormData` is now available in the Cloudflare runtime feat: `unstable_createMemoryUploadHandler` is now available in the Cloudflare runtime feat: updated node file upload handler to support slice on the resulting `File` feat: export `MaxPartSizeExceededError` to allow for `error instance of MaxPartSizeExceededError` when parsing multipart form data feat: add `ReadableStream` and `WritableStream` to Node globals chore: add arch to the playwright cache key feat: new node exports: `writeReadableStreamToWritable`, `writeAsyncIterableToWritable`, `createReadableStreamFromReadable` chore: updated cloudinary upload example feat: pass through request without clone Notes - Upload Handler API: - Each upload handler is now responsible for handling both files and fields. If undefined is `null` or `undefined` is returned nothing will end up in the resulting FormData. - Upload handlers now accept an `AsyncIterable<Uint8Array>` as the data field. You *do not* have to read it in full and can return early, or even throw exceptions from the handlers. Notes - Response - Regardless of runtime you can now use `new ReadableStream()` and return this as the body of a response. This enables things like resource routes for SSE (Server Sent Events)
1 parent 404f3c3 commit 25b4c83

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1661
-1417
lines changed
 

‎.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@ jobs:
151151
id: playwright-cache
152152
with:
153153
path: ${{ matrix.playwright_binary_path }}
154-
key: ${{ runner.os }}-cache-playwright-${{ steps.playwright-version.outputs.version }}
154+
key: ${{ runner.os }}-${{ runner.arch }}-cache-playwright-${{ steps.playwright-version.outputs.version }}
155155

156156
- name: 🖨️ Playwright info
157157
shell: bash
158158
run: |
159159
echo "OS: ${{ matrix.os }}"
160160
echo "Playwright version: ${{ steps.playwright-version.outputs.version }}"
161161
echo "Playwright install dir: ${{ matrix.playwright_binary_path }}"
162-
echo "Cache key: ${{ runner.os }}-cache-playwright-${{ steps.playwright-version.outputs.version }}"
162+
echo "Cache key: ${{ runner.os }}-${{ runner.arch }}-cache-playwright-${{ steps.playwright-version.outputs.version }}"
163163
echo "Cache hit: ${{ steps.playwright-cache.outputs.cache-hit == 'true' }}"
164164
165165
- name: 📥 Install Playwright

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ yarn-error.log
1111
/fixtures/deno-app
1212
/playwright-report
1313
/test-results
14+
/uploads
1415

1516
.eslintcache
1617
.tmp

0 commit comments

Comments
 (0)
Please sign in to comment.