Skip to content

Upgrading @takumi-rs/core 0.9 to 0.10

Breaking0.9.0 → 0.10.0Breaking1Other1

BreakingUpgrade verdict

1 breaking change.

  • FontSource::from_static takes a &'static [u8], so an include_bytes! face is read where it already sits, in the read-only segment, and the caller writes no Arc of its own: the one held internally…
1 item needs code or config changes
Breaking1
FontSource::from_static takes a &'static [u8], so an include_bytes! face is read where it already sits, in the read-only segment, and the caller writes no Arc of its own: the one held internally…
FontSource::from_staticinclude_bytes!Arc

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

  • removed: method Renderer.clearLocalImageStore(): void
  • removed: method Renderer.loadLocalImageAsync(key: string, data: ArrayBuffer, signal?: AbortSignal | undefined | null): Promise<void>
  • removed: method Renderer.preloadImageAsync(url: string, signal?: AbortSignal | undefined | null): Promise<void>
  • added: method Renderer.putPersistentImageAsync(src: string, data: ArrayBuffer, signal?: AbortSignal | undefined | null): Promise<void>