Google App Engine Java SDK 1.2.1在5月13号发布了。这是Google App Engine 宣布支持Java语言以来,首次SDK更新。
SDK更新内容如下:(来自SDK项目WIKI)
- Added validation of appengine-web.xml, cron.xml, and datastore-indexes.xml.
- New <user-permissions> element added to appengine-web.xml to grant custom third-party permissions (e.g. OgnlInvokePermission).
- Support for unindexed datastore properties of arbitrary types.
- Added HTTP Proxy support to appcfg.sh.
- Response limit raised from 1MB to 10MB
Some methods from Servlet 2.5 were missing
Individual bytes read from ServletInputStream were incorrectly signed
Expect header is now ignored, rather than causing 500 errors
Bundled commons-logging-1.2.1.jar can conflict with user-provided jars
Groovy permissions are granted in the local runtime:
Reflection on some JRE classes did not work properly
<url-pattern> elements are now allowed in <jsp-property-group>
JSPs with embedded UTF-8 content are not compiled properly
Static welcome files now take precedence over dynamic welcome files in SDK
Thread.setContextClassLoader() is now supported
Content-Type not set in local implementation of URLFetch API
AppCfg request_logs command is limited to 100 lines
Timestamp added to datastore indexes file uses current locale
Support field restrictions in queries
Fix NPE when querying for null parent
Support contains operator in JDOQL
Support doubles as query literals
Support BigDecimal fields
Support persisting classes with superclasses
Support Collection fields with serialized="true"
Support @Lob JPA annotation
Support @Serialized on byte member
Bidirectional one-to-many when parent has long or unencoded String pk fails
Cannot fetch many side of one-to-many when pk is Key, Long, or unencoded String
JDOQL: Support implicit params
Cannot add child to existing one-to-many if parent has Long or unencoded S
tring pk
Expose batch gets
Can’t reattach detached objects with Date props
Fetching 1 to 1 needs to differentiate between direct and indirect children
Support embedded classes with Key primary key