Skip to content

Releases

0.4.0

Choose a tag to compare

@bitesomthing bitesomthing released this 21 Sep 17:08
c6a8411

Swift 6 + JavaScriptKit 0.47, SailorServer (SSR), typed events and element handles generated from Treasure, HTML boolean attributes by presence, Treasure spec audit (109/113 elements, 402/459 CSS properties, 57/60 events), 167 tests + CI. Depends on Sailboat 0.4.0. See #26 and #25.

0.3.0

Choose a tag to compare

@JoshSweaterGuy JoshSweaterGuy released this 15 Jul 06:43

This release focused on css properties and their usage. As well, creating more unique syntax separating sailor from swiftUIs syntax.

  • more css properties support
  • more "swifty" css properties redesign
  • minor bug fixes/improvements
  • syntax changes from swiftui-like State/StateObject to Signal/Store

Example:

...
            H1("Welcome to my \(testObject.num)")
                .style {
                    CSS.textEmphasis(style: .character(">"))
                    CSS.textEmphasis(color: .red)
                    CSS.object(fit: .fill)
                    CSS.object(position: .with(.left, .in(10), .bottom, .ch(10)))
                    CSS.margin(.auto)

                }
...

0.2.1

Choose a tag to compare

@JoshSweaterGuy JoshSweaterGuy released this 04 May 11:46
f9b9669

Fixed update with DOM updates incorrectly happening within the children of the Body of the HTML.
As well, State updates edge case for Website fixed. Minor bug fixed.

First Sailor Release

Choose a tag to compare

@JoshSweaterGuy JoshSweaterGuy released this 30 Apr 09:08

Sailor is a Signals based Web Framework with on strongly typed interface for CSS, HTML+Attributes, and Events. Still early in development, but stable enough to try it out! Next updates will focus on adding more events, more extensive testing, and fully typing CSS.

Known Issues

Not all CSS elements are typed

Only a small subset of Events are in Sailor at the moment

Canvas not supported, and missing some important passthrough functions for javascript such as requestAnimationFrame