TakumiTakumi
Upgrade

Upgrade to v1

Walks through what's new in v1 and how to upgrade from v0.

After over half year of development, Takumi is finally ready to reach its first stable release!

Install

The package/crate is in beta release now, install with beta tag.

NPM

npm i @takumi-rs/image-response@beta

Rust

[dependencies]
takumi = "1.0.0-beta" # Check https://crates.io/crates/takumi/versions for latest beta release

What changed?

display is set to inline by default

In the beginning of Takumi, the first minimal scope was to support most of the satori features, and theres only flex and grid layout support. ATM I just set display to flex and didn't enforce you to write it out explicitly like satori does.

After Takumi gained some attraction on X, more features are added to Takumi, and I realized that its not a good idea to implicitly point to something that's not aligned to the spec at all.

Especially LLM nowadays are so powerful at generating UIs, I have to make sure Takumi is designed to be close to spec as possible, so you can always get the expected result.

Please try to render your template or ask LLM to scan through your codebase to verify is display: flex or flex Tailwind class missing in your code.

Made takumi crate API more consistent and flexible

Takumi is designed to not only serve JavaScript ecosystem. With the portablility of Rust, it could theoretically be ran on any platform that supports C-API bindings.

Edit on GitHub

Last updated on

On this page