v0.17.3

tokio-rs/axumv0.17.3Feb 9, 2024by ad1992

AI Summary

This release addresses several rendering and build issues in the Excalidraw library, including preserving custom data during element conversion, fixing the UMD build for the browser, and resolving incorrect label rendering caused by premature bound caching.

Key Highlights

  • Preserved customData when converting to ExcalidrawElement
  • Fixed UMD build for the browser which was broken since v0.17.0
  • Updated Vite configuration to set process.env.IS_PREACT as a string
  • Disabled caching of bounds for arrow labels to fix incorrect rendering

Full Release Notes

### Fixes

- Keep customData when converting to ExcalidrawElement. [#7656](https://github.com/excalidraw/excalidraw/pull/7656)

- Umd build for browser since it was breaking in v0.17.0 [#7349](https://github.com/excalidraw/excalidraw/pull/7349). Also make sure that when using `Vite`, the `process.env.IS_PREACT` is set as `"true"` (string) and not a boolean.

```
define: {
  "process.env.IS_PREACT": JSON.stringify("true"),
}
```

- Disable caching bounds for arrow labels [#7343](https://github.com/excalidraw/excalidraw/pull/7343)

- Bounds cached prematurely resulting in incorrectly rendered labels [#7339](https://github.com/excalidraw/excalidraw/pull/7339)