Release Notes - Grails - Version 2.1-RC1 - HTML format

Bug

  • [GRAILS-4685] - Format change for byte[] arrays inside a XML response (Grails 1.0.3->1.1) MIME encoded vs. single bytes
  • [GRAILS-5997] - parseRequest=true in UrlMappings should not throw an error with empty HTTP request body
  • [GRAILS-6080] - Hibernate UserType does not work with Enums
  • [GRAILS-7196] - g:paginate doesn't work with RESTful URLs
  • [GRAILS-7439] - Security: Session-Cookie should have the HTTPOnly-Flag set
  • [GRAILS-8076] - CTRL + D isn't working in the console
  • [GRAILS-8250] - fieldImpl in FormTagLib doesn't wipe the attrs after using them
  • [GRAILS-8258] - Unit test with Async in Grails 2.0.0.RC1
  • [GRAILS-8273] - Casting enum.values() to Set causes InstantiationException
  • [GRAILS-8275] - Custom web.xml does not replace grails.project.key
  • [GRAILS-8343] - NoSuchMethodError at Command Object Validation
  • [GRAILS-8410] - Wrong jars being included in the src/ directory
  • [GRAILS-8443] - parseRequest not working with named URL mappings
  • [GRAILS-8484] - Grails 2.0 App Without Datasource Forces Application To Have a Transaction Manager
  • [GRAILS-8506] - Grails 2.0 does not ship with all required dependencies for offline use.
  • [GRAILS-8509] - Hypenated URLMapping config doesn't do reverse mappings correctly
  • [GRAILS-8529] - Tests fail when a domain references domains of its own kind
  • [GRAILS-8554] - Nesting custom taglibs
  • [GRAILS-8558] - Where queries doesn't work on bootstrap.
  • [GRAILS-8569] - g:set doesn't work in tag body if body is called with arguments
  • [GRAILS-8582] - Grails Response Writer does not allow use of leftShift() method (<<)
  • [GRAILS-8586] - gradlew install fails on Windows on task installResources
  • [GRAILS-8594] - Action named like "get*" are called unexpectedly from other actions in same controller ...
  • [GRAILS-8635] - Can't use Log4j DSL shortcuts for layouts (xml, html, simple)
  • [GRAILS-8648] - Make GSP compilation error during "package-plugin --binary" more informative
  • [GRAILS-8650] - Mixed casing of encodeAsJavaScript / encodeAsJavascript in docs
  • [GRAILS-8666] - Multiple public methods of same name in controller cause compilation error
  • [GRAILS-8677] - Text over icon for buttons of type <input> in IE6 and IE7
  • [GRAILS-8746] - Two stacktrace.log files get created, one correct instance in the target directory and another in the root directory
  • [GRAILS-8752] - Named queries not working with single-ended embedded associations?
  • [GRAILS-8764] - Registering aliases doesn't work in resources.groovy
  • [GRAILS-8773] - GrailsMock does not correctly handle classes with metaClass.getProperty() implemented (like grails.util.Node())
  • [GRAILS-8831] - Programmatic Build Not Picking Up Environment in 2.0
  • [GRAILS-8862] - timeout parameter ignored for executeQuery
  • [GRAILS-8890] - grails starter on OSX CLASSPATH issue
  • [GRAILS-8897] - Ehcache update check is only enabled when running in a web container, but not for test-app or other scripts
  • [GRAILS-8904] - GSP layout applied twice when rendering view after a 404 error
  • [GRAILS-8914] - DirectoryWatcher and GrailsProjectWatcher in windows treat all GSP files as new after startup
  • [GRAILS-8925] - g:set does not change values in request scope
  • [GRAILS-8947] - Grails should raise an error when belongsTo is not an expected type
  • [GRAILS-8989] - Disallow installing plugins in interactive mode
  • [GRAILS-9020] - ControllersApi implements Serializable but has non-Serializable, non-transient fields
  • [GRAILS-9040] - flash.now does not seem to work as advertised in 2.x
  • [GRAILS-9051] - The log4j closure cannot resolve non-layout properties
  • [GRAILS-9057] - assertEquals() fails when comparing a java.lang.String and a org.codehaus.groovy.runtime.GStringImp with identical values
  • [GRAILS-9063] - Incorrect link in documentation
  • [GRAILS-9082] - Can't bind maps to domain objects
  • [GRAILS-9111] - create-plugin then compile gives compile error: nable to resolve class org.tmatesoft.svn.core.SVNAuthenticationException

Improvement

  • [GRAILS-3468] - Add DISABLED and READONLY attributes to the form tags
  • [GRAILS-7374] - Add Action and Controller Attribute to applyLayout Tag Library
  • [GRAILS-7913] - When hit return key in grails shell do not print out "| Error No script name specified"
  • [GRAILS-7924] - Hitting return in the new Grails "Interactive" mode should re-run the last command
  • [GRAILS-8059] - Provide ability to customize location of .slcache directory
  • [GRAILS-8327] - interactive console should remember last command
  • [GRAILS-8387] - Explicit typing in org.codehaus.groovy.grails.orm.hibernate.cfg.NamedCriteriaProxy class
  • [GRAILS-8415] - Command classes' errors property should be a ValidationErrors object, not BeanPropertyBindingResult
  • [GRAILS-8446] - For consistency reasons relativeYears in g:datePicker should use reverse IntRanges to display the years in reverse order
  • [GRAILS-8540] - Interactive mode should exit on Ctrl-D
  • [GRAILS-8541] - Interactive mode should provide newline when empty command line entered
  • [GRAILS-8549] - The Interactive console should provide a way of repeating the last command
  • [GRAILS-8556] - Interactive grails interpreter gives misleading directions for commands
  • [GRAILS-8633] - Nicer looking pdf output from docengine
  • [GRAILS-8658] - Add ability to override css for project documentation pdf
  • [GRAILS-8740] - Hibernate naming strategy should be configurable as an object
  • [GRAILS-8806] - IntegrateWithMercurial
  • [GRAILS-8837] - Upgrade protobuffers to 2.4.1
  • [GRAILS-9036] - g:formatNumber should support customizable display of the NaN value

New Feature

  • [GRAILS-8307] - sqlRestriction in criteria should be sql injection safe
  • [GRAILS-8312] - namedQuery.get() always returns null but namedQuery.list().find{it} returns a result
  • [GRAILS-8518] - Map iteration with g:each tag as it was in Grails 1.x.x
  • [GRAILS-8523] - Expose Spring version in the dependencies DSL
  • [GRAILS-8542] - Interactive mode should have persistent command line history
  • [GRAILS-8612] - Add Support For Command Aliases
  • [GRAILS-8828] - Paginate tag missing mapping attribute

Task

  • [GRAILS-8125] - performance optimization: Upgrade Hibernate to 3.6.8 version when it is released
  • [GRAILS-8787] - Update Javadoc class description for MaxSizeConstraint and MinSizeConstraint

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.