Skip to content

1.5.0

Latest

Choose a tag to compare

@hugithordarson hugithordarson released this 18 Jun 10:36
· 1 commit to main since this release
  • Breaking: Parsley is now registered with a fluent builder β€” Parsley.configure().….register() β€” replacing the old Parsley.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 ParsleyTemplateParser class; Parsley is 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