Last updated by
2 years ago
Page: GWT Release Notes, Version:11
Version 0.5.2
- Fix for issue GRAILSPLUGINS-2238 - The GwtController now invokes service methods using service."$method"() notation now, rather than using invokeMethod() directly. This approach retains transactional behaviour whereas the previous code bypassed the transaction interceptor.
Version 0.5.1
- The plugin now works with Grails 1.3!
- You can now add GWT libraries as
provideddependencies - simply setgwt.use.provided.depsto true inBuildConfig.groovy.
Version 0.5
- Added support for GWT 2's dev mode!
- Added support for GWT 2's draft compile mode. Either set the
gwt.draft.compilebuild option totrueor pass the--draftcommand-line option to thecompile-gwt-modulescommand. - Added action handlers - the plugin's version of the Command Pattern.
- Added a servlet filter that ensures the *.nocache.* files are never cached. It can be activated by setting the
gwt.nocache.filter.enabledconfig option totrue. - Added a
gwt.sync.i18nbuild setting that allows you to disable the automatic generation of the Java interfaces from the i18n properties files. - Added a
create-gwt-eventcommand to simplify creating new logical events - particularly useful when combined with an event bus implementation. - Added support for the DTO plugin, which works well with the action handlers.
- Added a
gwt.shared.packagebuild setting that allows you to override the name of the "shared" sub-package. This used to be "client", but the plugin now defaults to "shared" instead. Make sure that the "shared" package is configured as a module source path. - Added a
gwt.local.workersbuild setting that allows you to specify how many worker threads to use for GWT compilation (GWT 1.6+ only). - Added a
gwt.run.argsbuild setting that allows you to provide extra JVM arguments when running GWT commands, such ascompile-gwt-modulesandrun-gwt-client. The value should be a closure with nested AntBuilderjvmargandargelements. - You can now specify the GWT location via a
gwt.homesystem property. - Added a
--debugcommand-line option to therun-gwt-clientcommand so that you can remote debug hosted mode. - The
run-appcommand no longer forces a GWT compile after a clean. In fact, a GWT compile is only forced for WAR generation now. - You no longer have to manually implement the workaround for Google Gin - it works out-of-the-box.
Version 0.4.1
Previously, the security fix was mentioned for version 0.4. Due to human error, the fix wasn't in that release. It is in this one.
- Fixed a security issue that meant clients could invoke methods on any Spring bean in the application. Requests are now only processed if the bean has an "expose" property configured for GWT.
- The
gwt-dev*.jarandgwt-user.jarfiles are no longer included in the application's WAR.
Version 0.4
- GWT RPC calls now go through a Grails controller. This means that the standard Grails filters and interceptors are invoked and also that you can change the URL mappings for GWT requests. Just map your preferred URL to controller "gwt", action "index".
- Added the create-gwt-i18n command, which creates GWT Constants and Messages properties files for a given module.
- There is now a new command, clean-gwt-modules, for cleaning all the generated GWT files.
- The plugin now supports GWT 1.6 and 1.7 without relying on legacy mode.
- The generate-gwt-rpc command now ignores services that aren't exposed via GWT (GRAILSPLUGINS-1215).
Version 0.3
- The plugin now uses the GWT libraries from
GWT_HOMEinstead of packaging the JARs itself. This should mean that plugin will work with multiple versions of GWT (including 1.5.x). - The plugin is Grails 1.1+ only.
- Modules and associated GWT Java files are now located under
src/gwtrather thansrc/java. The RPC interfaces still go undersrc/javathough. - Automatic generation of RPC interfaces has been removed. Instead, you can manually create them using the new
grails generate-gwt-rpccommand. - Fixed some issues with the RPC handling, particularly with regard to exceptions.
-
grails cleanremoves directories and directories and files generated by GWT. - Other JIRA fixes.