SixtyFPS v0.0.6 Release Notes

Release Date: 2021-04-27 // almost 3 years ago
  • ๐Ÿ”„ Changed

    • Rectangle::color was deprecated and replaced by Rectangle::background, same for Window::color
    • Path::fill-color was renamed to fill, and Path::stroke-color was renamed to stroke, which are now brushes instead of color
    • Many other color property became brush in order to support gradients
    • the resource type was renamed to image
    • Calling a callback is done from C++/Rust with invoke_<name> instead of call_<name>

    โž• Added

    • @linear-gradient can be used to have gradients on rectangle and paths
    • Image::colorize allows to apply a color filter on image
    • 0 can be converted to anything with units
    • Support power of unit in intermediate expression. (eg: 3px * width / height is now supported but used to be an error)
    • Support for else if
    • The path fill rule can now be specified using Path::fill-rule.
    • Support for letter-spacing in Text/TextInput elements.
    • rgb() / rgba()
    • Layout in Flickable
    • LSP server with Live Preview and basic auto completion
    • The viewer tool gained the --auto-reload argument
    • Window.default-font-weight
    • Added opacity property that can be applied to elements
    • Added clip property in Rectangle, including clipping for rounded rectangle
    • API to load dynamically .60 files from C++ and Rust, including a way to embed sixtyfps widgets in Qt applications
    • Preferred size in Layouts
    • Math functions such as sin, cos, sqrt, ...
    • New printer demo design
    • Ability to load custom fonts using import statements

    ๐Ÿ›  Fixed

    • Image::image-fit's cover and contains variant are fixed to match the CSS spec
    • Flickable without scrollbar
    • Multiplying and dividing different units.
    • Many more bugfixes