Skip to content

0.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Mar 22:16
72f9dcf

This release adds support for LiveComponents which are small, reusable components whose state is maintained automatically from their parent LiveView. See: src/examples/decarbonize for an example.

We've also renamed LiveViewComponents to LiveViews which is more accurate and less confusing not what we have LiveComponents as well.

In order to support LiveComponents we've changed the signature of the LiveView render method to add a LiveViewMeta object with provides a helper method live_component to render (and manage) child LiveComponents. The LiveViewMeta object also provides the csrfToken (cross-site request forgery) token for future support of automatic cross-site security.

  • 72f9dcf Merge pull request #46 from floodfx/components
  • 0a9be7f coverage
  • 24f35cd changes to type signatures so bumping minor version to 0.1.0
  • 1535f83 update coverage
  • f0cacf1 rename base_component => base_live_view
  • 7c231c7 get to converage limits and fix other test
  • 6e88f45 improve test coverage for live_view_route and live_view_server
  • 12d8ec1 add tests for
  • 6145b01 add test fir isLiveComponent parts tree logic
  • 48c5712 updated to reflace renamed to and renamed to
  • fce3ae9 fully working implementation
  • 645d9ac udpated based on rename
  • b0147a6 updated based on renaming and added async support to
  • 7d81ddc refactored and fully commented and types
  • 98335e8 add cid to to support events
  • f7a4425 rendering example
  • d1f7125 basic api and support for s inside of s
  • 5a7fd51 add support to embed and identify s in HtmlSafeString particularly in building the tree.
  • 96b69f7 more import clean up
  • ef2dd37 moving LiveViewComponent and related to different file; fixing imports for examples
  • a9a3845 define and document LiveComponent type and abstract