MyGit

v2.3.0

tldraw/tldraw

版本发布时间: 2024-06-25 21:28:01

tldraw/tldraw最新发布版本:v3.0.3(2024-09-17 20:52:54)

The headlines

🖼️ Images/video storage improvements/hooks

When using a local-only storage of the whiteboard, we now store the images and videos in a separate indexedDB table. This is instead of storing them as base64-encoded blobs in the room's JSON. That wasn't very performant and blew up the size of the room's JSON quite a bit. This separates out those assets into a separate retrieval mechanism for better separation-of-concerns.

⛲️ Font/Icons CDN

We improved our out-of-the-box/batteries-included CDN for our assets (fonts/icons). We were using unpkg before but now we're just using Cloudflare directly for more fine-grained control.

🗜️ Images network/performance improvements/hooks (dogfooding currently, public release soon)

We've been working on something we call 'level-of-detail' internally for images. We're testing this currently on tldraw.com where for higher-resolution images (over a couple megabytes), the image will get transformed to an appropriate size depending on things like your viewport, zoom level, current network speed, among other considerations. This helps with bandwidth usage and browser memory usage especially when you have multiple high-res images on the board.

🪗 Flattening

@steveruizok worked on adding being able to select multiple shapes and flatten them into an image. For those moments when you need to press 🙏, clamp 🗜️, and squeeze things together. 🪗

📚 Documentation improvements

@SomeHats did a ton of unglorious work to make our documentation much more manageable. So sparkly ✨

🔐 Security improvements

We locked down our referrer network requests in #3884 and #3881 to make sure we weren't leaking tldraw rooms to external media/iframe requests.

🚀 Features

🔐 Security

💄 Improvements

🐛 Bug Fixes

📚 Documentation

🛠️ VS Code

Authors: 7

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-06-25发行的版本