Skip to content

Releases: ElementaryFramework/AirBubble

v1.4.0

16 May 11:23
Compare
Choose a tag to compare

🎉 New release of AirBubble! What's new in this package:

  • A lot of bug and issues are fixed
  • The template parser and the template renderer are been optimized
  • The parser can now interpret nested indexed variables (ex. users[0][data][name])
  • You can now use absolute paths when extending a template
  • AirBubble add Dynamic Data Contexts, learn more from the wiki
  • It's now possible to assign variables directly into templates, using the b:assign tag, learn more on the wiki
  • Add a new function @isset used to check if the given string is a template variable (ex. @isset('users'))
  • Now the template data resolver search for accessor when the given property doesn't exists in the IAirBubbleDataContext (ex. When in your template you want to access to this value ${user.name} and the User class, which implements the IAirBubbleDataContext interface, doesn't have a public property named name, the data resolver will try to call the accessor getName() from the User class. In case of failure, an PropertyNotFoundException will be thrown)
  • The b:dataTable tag can now have custom attributes
  • It's now possible to define the selected value in a b:selectItems
  • The template parser and tokens are been refactored to optimize the parsing time and avoid parse errors, learn more from commit 43a09db

v1.3.0

12 Dec 07:31
Compare
Choose a tag to compare

This release comes with a lot of bug fixes and optimizations:

  • Allow the use of HTML entities in templates
  • The path attribute of the b:include tag can now contain data binding values
  • Fix errors when processing includes
  • Propagate the parent data model into included files
  • Fix errors when parsing data tables
  • Skip the generation of thead and tfoot tags when necessary while parsing data tables
  • Allow the user to delete all template comments from the compiled output (through AirBubbleConfig)

v1.2.2

10 Jul 08:27
Compare
Choose a tag to compare
  • Allow the user to create their own tags
  • Allow the user to create their own tag namespace
  • Fix error when rendering an abstract template
  • Add missing key attribute on selectItems tag

v1.2.1

19 Jun 18:26
Compare
Choose a tag to compare
  • AirBubble namespace wraped in ElementaryFramework
  • Fix a bug when using conditions in templates

v1.2.0

22 Apr 20:29
Compare
Choose a tag to compare

Bubble is now AirBubble and will be a part of the Elementary Framework project.

v1.1.1

05 Apr 00:17
Compare
Choose a tag to compare
  • Fixes a bug when calling functions
    • Allow the user to use template variables in functions 😃
    • Allow the user to call functions in another function call

v1.1.0

01 Apr 16:36
Compare
Choose a tag to compare
  • Fix all known bugs of v1.0.0
  • Allow the user to call data context methods and passing parameters
  • Fix data resolving errors

v1.0.0

30 Mar 18:44
Compare
Choose a tag to compare

First release of Bubble.