【IT168 资讯】Grails是一个full-stack框架,它借助于核心技术与相关的插件(plug-in)来解决Web开发中方方面面的问题,它基于Groovy和Java编程语言,并构建于Spring、Hibernate和其它标准的Java框架之上,利用了Java EE sphere 最好的APIs,从而为开发者带来一套能实现超高生产力的一站式框架。
Grails 2.0 M2 发布了,该版本的主要改进:
· [GRAILS-3202] - Modify Default Url Mapping Into a User-Friendly URL: Hyphen in Controller and Action Names
· [GRAILS-4374] -
· [GRAILS-5256] - Retrieving dates from params is too difficult when not using g:datePicker.
· [GRAILS-5305] - parseArguments should be called earlier in the lifecycle
· [GRAILS-6586] - Plugins cannot use command objects without user or plugin author jumping through hoops
· [GRAILS-7108] - Switch to manual flush for domain class events and validators
· [GRAILS-7207] - Support public and private views like Servlet spec
· [GRAILS-7377] - @Validateable should not be Spring beans
· [GRAILS-7804] - Add domain class auto-complete to create-scaffold-controller
· [GRAILS-7834] - Spanish i18n messages
· [GRAILS-7849] - Rework Hibernate event handling to use Datastore events
· [GRAILS-7884] - 'warn org.mortbay.log' is in the default log4j configuration for new projects
· [GRAILS-7890] - DefaultGrailsDomainClassInjuector should inject types that are properly parameterized
· [GRAILS-7892] - Improve GSP content-type setting (don't set content type in templates)
· [GRAILS-7901] - HibernateQuery does not handle StreamCharBuffer arguments to dynamic finders
· [GRAILS-7916] - Provide a 'Refresh Depencies' command with option to download source attachements
· [GRAILS-7945] - Named Query results should be of type PagedResultList in order to support Pagination
新增的主要特性:
· [GRAILS-6132] - @Validateable doesn’t work when combined with @Mixin
· [GRAILS-6929] - Add support for using nested properties in default sorting (ie. mapping {sort 'nested.property')}
更多Bug修复列表:http://jira.grails.org/secure/ReleaseNote.jspa?projectId=10020&version=12805