Skip to content

Upgrading ipx 0.6 to 0.7

Breaking0.6.7 → 0.7.2Breaking2New4Fixed4

BreakingUpgrade verdict

2 breaking changes.

  • pkg: add exports field.
  • Move modifiers to path from query.
2 items need code or config changes
Breaking2
pkg: add exports field.
Move modifiers to path from query.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: interface IPXInputOptions
  • removed: property IPXInputOptions.modifiers?: Record<string, string>
  • removed: property IPXInputOptions.source?: string
  • changed: type IPX = (id: string, opts?: IPXInputOptions) => { src: () => Promise<SourceData>; data: () => Promise<{ data: Buffer; meta: ImageMeta; format: string }> } → type IPX = (id: string, modifiers?: Record<string, string>, reqOptions?: any) => { src: () => Promise<SourceData>; data: () => Promise<{ data: Buffer; meta: ImageMeta; fo…
  • changed: type Source = (src: string) => Promise<SourceData> → type Source = (src: string, reqOptions?: any) => Promise<SourceData>
  • added: property IPXHRequest.options?: any