Lift-formality has supported the Lift 3.0 series in snapshots for
a little while, but it wasn't public. We now have builds for 1.1.0 for
both Lift 3.0 and 3.1 series, and will be putting out a dot release
and build for the 3.2 series when that goes final soon.
Scala support is still at 2.11, but we should be putting out a dot
release soon to also add cross-compile for 2.12 (some test
dependencies need to be bumped and we wanted 1.1.0 out the
door first).
So what's changed?
- #11 made it so fields that aren't sent to the server don't manifest
asFailure
s by default; instead, you have to actively make them
Failure
in a boxed validation, otherwise they show up asEmpty
.
This was a bug we ran into in our use of lift-formality at @elemica. - #23 allows
textarea
elements to have their default value set
correctly. The API is unchanged, it just works now. - #23 also allows for empty default values for fields whose final type
is not aString
. You do this by providing anEmpty
when you want
no default value for these fields. - Finally, #23 fixed defaults for checkboxes, which were not being
passed through correctly into the markup. - #19 added the ability to call
fieldGroup(".css-selector")
to scope
a field group to a given selector. Before,fieldGroup
only existed
with no parameters. The underlying code supported scoping, you
just had to call theFieldGroup
class constructor directly.
Enjoy the release!