All Versions
Latest Version
Avg Release Cycle
Latest Release

Changelog History
Page 1

  • v1.0.0 Changes

    ๐ŸŽ‰ phx_component_helpers is stable for months and complete feature-wise. It's ready for 1.0.0 :) ๐Ÿ”ฅ

  • v0.14.0 Changes

    • โœ‚ removed interpolation of raw attributes as HEEX is now the only templating engine target by phx_component_helpers
    • removed support of phx_* attributes in favor of phx-* attributes
  • v0.13.1 Changes

    • fixed an issue of duplicate attributes when combining set_phx_attributes with set_attributes
  • v0.13.0 Changes

    • using Phoenix LiveView.assign/2 instead of Map.put/3. Big thanks to @thenrio!
  • v0.12.0 Changes

    • now injecting heex_attributes into assigns that can be used from heex templates
    • switched examples to HEEX templating
    • ๐Ÿ†• new PhxComponentHelpers.has_errors?/1 function
    • validate_required_attributes/2 now raises a more comprehensive exception
  • v0.11.0 Changes

    • PhxComponentHelpers.forward_assigns/2 with prefix :icon will now forward all :icon_* keys and :icon as well
    • removed error_class option on PhxComponentHelpers.extend_class/2 which can now be handled by using a function as the first parameter
    • merged first PR (mainly english mistakes ... ๐Ÿ‡ซ๐Ÿ‡ท) ;-)
  • v0.10.0 Changes

    • ๐Ÿ†• new :merge option on PhxComponentHelpers.forward_assigns/2
    • 0๏ธโƒฃ PhxComponentHelpers.extend_class/2 can now take defaults as a function
  • v0.9.0 Changes

    • renamed PhxComponentHelpers.set_component_attributes/3 into PhxComponentHelpers.set_attributes/3
    • removed PhxComponentHelpers.set_data_attributes/3 which has been replaced by a data: true option passed to PhxComponentHelpers.set_attributes/3
    • ๐Ÿ†• new PhxComponentHelpers.forward_assigns/2 to pass assigns to child components
  • v0.8.1 Changes

    • ๐Ÿ›  fixed default attributes behavior
  • v0.8.0 Changes

    • :into option of PhxComponentHelpers.extend_class/2 is renamed in :attribute
    • PhxComponentHelpers.extend_class/2 will overwrite input assign class with extended class
    • PhxComponentHelpers.set_form_attributes/1 will now set default form attributes when keys exist but are nil
    • PhxComponentHelpers.set_attributes/3 and PhxComponentHelpers.set_data_attributes/3 can now take default values