Skip to content

v1.0-beta-7

Pre-release
Pre-release

Choose a tag to compare

@adrienbaron adrienbaron released this 16 Mar 11:30
· 281 commits to master since this release

Beta 7 of Vue GWT is here 🎉!

What's new

Annotation Processors for Templates

Annotation Processors are now used for template processing, this has several advantages:

  • Errors in HTML templates are caught by your IDE at build time.
  • Less boilerplate classes are generated.
  • No more dependency on GWT 2.x generators. Should make Vue GWT compatible with GWT 3.x out of the box.

⚠This require some setup on your project and IDE to work. Please check our migration guide to see how to update your project.

New HTML parser

We migrated from jsoup to Jericho for template HTML parsing.

When encountering a tag at an invalid place in HTML, jsoup was dropping it silently whereas Jericho is keeping it. This mean that for example this template will now work correctly:

<table>
    <tr>
        <my-child-component/>
    </tr>
</table>

See issue #25 for details.

Upgraded to Vue.js v2.5.16

Bug Fixes

  • Property binding is now checked when using camelCase or the is attribute. Fix #24
  • Java methods are generated correctly when using a loop variable multiple time in a Template Expression. Fix #26

Breaking Changes

VueGwtWidget is now in it's own maven dependency. This allow to depend on Vue GWT without including GWT User if you don't need it.
If you are currently using it simply add this Maven Dependency to your pom.xml:

<dependency>
	<groupId>com.axellience</groupId>
	<artifactId>vue-gwt-gwt2</artifactId>
	<version>1.0.0-beta-7</version>
</dependency>

And this in your gwt.xml:

<inherits name='com.axellience.vuegwt.GWT2'/>