Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
d13cf43
feat: initial image cdn handling
pieh May 28, 2025
1521d5b
Merge remote-tracking branch 'origin/main' into michalpiechowiak/frb-…
pieh May 30, 2025
7dda011
chore: fix lint
pieh May 30, 2025
279af0a
chore: format
pieh May 30, 2025
984eed3
chore: TODO note about serverAddress
pieh May 30, 2025
10de36f
feat: warn about invalid remote patterns
pieh May 30, 2025
3541d01
test: add tests for remote images
pieh May 30, 2025
868d6e3
test: add tests for images endpoint and request method
pieh Jun 2, 2025
98e440c
Merge remote-tracking branch 'origin/main' into michalpiechowiak/frb-…
pieh Jun 4, 2025
a2b1065
post-merge fixes
pieh Jun 4, 2025
99db75e
adjust feature support matrix
pieh Jun 4, 2025
2e7f8fb
test: adjust assertions for added feature
pieh Jun 4, 2025
d6476cd
chore: fix lint
pieh Jun 4, 2025
a49fdc5
test: adjust to not use .bytes(), match mocked response, not response…
pieh Jun 4, 2025
281e4bb
fix: use originServerAddress
pieh Jun 4, 2025
9909754
Merge remote-tracking branch 'origin/main' into michalpiechowiak/frb-…
pieh Jun 4, 2025
3d8fcc2
chore: remove not existign server.d.ts from package.json#files
pieh Jun 4, 2025
5f667c9
test: use mock logger from dev-utils
pieh Jun 4, 2025
65aa6b3
test: add first local image test
pieh Jun 4, 2025
bff46f9
test: add tests for resizing
pieh Jun 4, 2025
be1420c
test: test image cdn handling in vite
pieh Jun 4, 2025
996a715
Merge remote-tracking branch 'origin/main' into michalpiechowiak/frb-…
pieh Jun 4, 2025
6986b42
chore: add jsdoc for generateImage
pieh Jun 4, 2025
2c53d92
chore: no need to supress n/no-unsupported-features/node-builtins
pieh Jun 4, 2025
5c473d8
docs: fix shield url for netlify/images
pieh Jun 4, 2025
723270e
fix: drop node 18
pieh Jun 4, 2025
d575532
chore: add images to .release-please-manifest.json
pieh Jun 4, 2025
b0eadc2
Merge remote-tracking branch 'origin/main' into michalpiechowiak/frb-…
pieh Jun 4, 2025
7621a4d
fix: spin up server when images are enabled and there is no origin se…
pieh Jun 4, 2025
a38db95
chore: fix lint
pieh Jun 4, 2025
74dc91a
Update packages/images/src/main.ts
pieh Jun 5, 2025
3021856
chore: http.createServer -> HTTPServer
pieh Jun 5, 2025
92becbb
fix: early bail to limit nesting
pieh Jun 5, 2025
24d3ec7
refactor: create helper function for HTTPServer handler that serves r…
pieh Jun 5, 2025
f025ef1
test: use own http server for testing remote images instead of unsplash
pieh Jun 5, 2025
955c109
fix: move image matching to before function matching
pieh Jun 5, 2025
0af3615
fix: handle image cdn rewrites
pieh Jun 5, 2025
58f0e0e
fix: log error when image generation for tests fails
pieh Jun 5, 2025
5cf290e
Merge remote-tracking branch 'origin/main' into michalpiechowiak/frb-…
pieh Jun 6, 2025
d9332c2
Merge branch 'main' into michalpiechowiak/frb-1858-add-passthrough-im…
pieh Jun 6, 2025
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
4 changes: 4 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ jobs:
if: ${{ steps.release.outputs['packages/headers--release_created'] }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm publish packages/images/ --provenance --access=public
if: ${{ steps.release.outputs['packages/images--release_created'] }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm publish packages/redirects/ --provenance --access=public
if: ${{ steps.release.outputs['packages/redirects--release_created'] }}
env:
Expand Down
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"packages/edge-functions": "2.14.3",
"packages/functions": "4.1.3",
"packages/headers": "2.0.1",
"packages/images": "0.0.0",
"packages/otel": "3.0.2",
"packages/redirects": "3.0.1",
"packages/runtime": "4.0.2",
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ npm run build --workspaces=true
| 🔧 [@netlify/dev-utils](packages/dev-utils) | TypeScript utilities for the local emulation of the Netlify environment | [![npm version](https://img.shields.io/npm/v/@netlify/dev-utils.svg)](https://www.npmjs.com/package/@netlify/dev-utils) |
| ⚡ [@netlify/functions](packages/functions) | TypeScript utilities for interacting with Netlify Functions | [![npm version](https://img.shields.io/npm/v/@netlify/functions.svg)](https://www.npmjs.com/package/@netlify/functions) |
| 📋 [@netlify/headers](packages/headers) | TypeScript implementation of Netlify's headers engine | [![npm version](https://img.shields.io/npm/v/@netlify/headers.svg)](https://www.npmjs.com/package/@netlify/headers) |
| 🖼️ [@netlify/images](packages/images) | TypeScript utilities for interacting with Netlify Image CDN | [![npm version](https://img.shields.io/npm/v/@netlify/images.svg)](https://www.npmjs.com/package/@netlify/images) |
| 🔍 [@netlify/otel](packages/otel) | TypeScript utilities to interact with Netlify's OpenTelemetry | [![npm version](https://img.shields.io/npm/v/@netlify/otel.svg)](https://www.npmjs.com/package/@netlify/otel) |
| 🔄 [@netlify/redirects](packages/redirects) | TypeScript implementation of Netlify's rewrites and redirects engine | [![npm version](https://img.shields.io/npm/v/@netlify/redirects.svg)](https://www.npmjs.com/package/@netlify/redirects) |
| 🏛️ [@netlify/runtime](packages/runtime) | Netlify compute runtime | [![npm version](https://img.shields.io/npm/v/@netlify/runtime.svg)](https://www.npmjs.com/package/@netlify/runtime) |
Expand Down
8 changes: 8 additions & 0 deletions eslint_temporary_suppressions.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,14 @@ export default [
'@typescript-eslint/no-unused-vars': 'off',
},
},
{
files: ['packages/images/src/main.test.ts'],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
},
},
{
files: ['packages/otel/src/bootstrap/main.ts'],
rules: {
Expand Down
Loading