Upgrading ipx 0.8 to 0.9
Breaking0.8.1 → 0.9.11Breaking2New3Changed1Fixed11
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Sharp is being lazy loaded.
- Several dependencies changes for better ESM compatibility.
Must act 2 items need code or config changes
Adds ohmyfetch ^0.4.18, pathe ^0.3.5.
Drops fs-extra, is-valid-path, node-fetch.
Installs 87 packages in all (was 97).
What you must change
Breaking2
Sharp is being lazy loaded.
Several dependencies changes for better ESM compatibility.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- changed:
function createIPXMiddleware(ipx: IPX): (req: IncomingMessage, res: ServerResponse) => void → function createIPXMiddleware(ipx: IPX): (req: IncomingMessage, res: ServerResponse) => Promise<void> - changed:
type SourceFactory = (options?: any) => Source → type SourceFactory<T = Record<string, any>> = (options: T) => Source - added:
property IPXOptions.fetchOptions: RequestInit - added:
property IPXOptions.maxAge?: number