- Breaking: Parsley is now registered with a fluent builder β
Parsley.configure().β¦.register()β replacing the oldParsley.register()/Parsley.showInlineRenderingErrors(β¦)/Parsley.registerElementFactory(β¦)calls. The builder amends the current configuration, so a framework can register Parsley once and an app can add to that registration later.ParsleyConfiguration.defaultDevConfiguration()/defaultProductionConfiguration()provide ready-made starting points. - Binding-failure annotation (for inline error display) is now applied generically to every association type via a binding-layer proxy, rather than only key-value associations.
- Elements can be excluded from proxy wrapping by class or simple name via
.excludeFromWrapping(β¦). - New in-page development controls strip (
.controls(true)) β a small expanding control in the bottom-left corner for toggling Parsley's dev features at runtime. - The template parser was extracted into its own
ParsleyTemplateParserclass;Parsleyis now purely the library's entry point and configuration. - Parsley now only post-processes responses that were generated by its own template engine, rather than every dispatched response (#3).
Full Changelog: v1.4.2...v1.5.0