1.7.1 Pre-release SDKs Available

429 views
Skip to first unread message

Marzia Niccolai

unread,
Aug 8, 2012, 1:57:54 PM8/8/12
to Google App Engine
Hi,

We've just posted the pre-release SDKs for Python and Java here:

Release notes below.

Cheers,
Marzia

App Engine Java SDK - Release Notes

Version 1.7.1
=============
- The URLFetch API now supports multiple cookie headers.
    http://code.google.com/p/googleappengine/issues/detail?id=3379
- You can download 90 days worth of Usage Reports for your application from the
  Billing History page of the Admin Console.
- Task Queue requests now include an X-AppEngine-TaskExecutionCount that counts
  the number of times a task was run by an instance.
- Added support for delete() to the Files API.
- Added support for multiple files to be deleted using the Files API.
- Added support to delete files from Google Cloud Storage using the Files API.
- Added a REQUEST_LOG_ID to be written in the logs and as an
  ApiProxy.Environment attribute. This can be used to later identifying that
  request in the application logs.
- The Memcache Viewer now supports namespaces.
    http://code.google.com/p/googleappengine/issues/detail?id=7245
- The Mail API now supports the following headers for outgoing mail: List-Id,
  List-Unsubscribe, On-Behalf-Of, Resent-Date, Resent-From, Resent-To.
    http://code.google.com/p/googleappengine/issues/detail?id=2559
    http://code.google.com/p/googleappengine/issues/detail?id=7672
- Version 2 of the DataNucleus plugin has been upgraded and is now fully
  supported. For a full list of improvements please see
    http://code.google.com/p/datanucleus-appengine/source/browse/branches/2_1_0/dist/RELEASE_NOTES.ORM
- The Search API now supports default values for dates in SortExpressions.
- The .project and .classpath files are now included in the App Engine demos
  so that they may be imported by Eclipse.
- Fixed an issue with the App Engine satisfaction survey in the Admin Console
  which was released in 1.6.6, which will be re-enabled in this release.
- Fixed an issue where ListIndexes failed when trying to return a schema that
  contained Geo fields.
- Fixed an issue with Search API websafe cursors not being returned as a
  websafe value.
- Fixed an issue where Java's AsyncMemcacheServiceImpl was incorrectly throwing
  MemcacheServiceException.
    http://code.google.com/p/googleappengine/issues/detail?id=6236
- Fixed a Memcache error when getting HttpSession.
    http://code.google.com/p/googleappengine/issues/detail?id=6463
- Fixed a search issue where snippets failed to highlight when a capital
  letter is used in a search term.
    http://code.google.com/p/googleappengine/issues/detail?id=7665
- Fixed an issue where JDO and JPA keys-only queries were being executed as
  full entity queries in the datastore.
    http://code.google.com/p/googleappengine/issues/detail?id=7712
- Fixed an issue where traffic splitting by cookie was not working.
    http://code.google.com/p/googleappengine/issues/detail?id=7813
App Engine Python SDK - Release Notes

Version 1.7.1
===============================
- The URLFetch API now supports multiple cookie headers.
    http://code.google.com/p/googleappengine/issues/detail?id=3379
- You can download 90 days worth of Usage Reports for your application from the
  Billing History page of the Admin Console.
- Task Queue requests now include an X-AppEngine-TaskExecutionCount that counts
  the number of times a task was run by an instance.
- Added support for multiple files to be deleted using the Files API.
- Added support to delete files from Google Cloud Storage using the Files API.
- Added a REQUEST_LOG_ID to be written in the logs and as an environment
  variable. This can be used to later identifying that request in the
  application logs.
- The Memcache Viewer now supports namespaces.
    http://code.google.com/p/googleappengine/issues/detail?id=7245
- The Mail API now supports the following headers for outgoing mail: List-Id,
  List-Unsubscribe, On-Behalf-Of, Resent-Date, Resent-From, Resent-To.
    http://code.google.com/p/googleappengine/issues/detail?id=2559
    http://code.google.com/p/googleappengine/issues/detail?id=7672
- PyCrypto 2.6. is now supported in the Python 2.7 runtime.
    http://code.google.com/p/googleappengine/issues/detail?id=7884
- NDB now throws a BadProjectionError when trying to perform a projection query
  on an unknown or unindexed property.
- NDB Tasklets use the namespace from when it was called, not the namespace from
  when it is performed.
    http://code.google.com/p/appengine-ndb-experiment/issues/detail?id=190
- NDB Properties' string representation size is limited to the max string
  length for Blob and Text properties.
- Appstats provides an interactive shell for observing RPC behavior of calls
  immediately.
- Appstats now contains information about the cost of the RPCs made during the
  request.
- The Images API now supports specifying the default pixel color to fill in for
  image types that don't support transparent images, such as JPEG.
- We've added full asynchronous API support in the Images API.
- Added an error to the Images API to indicate when a blob being referenced is
  not found or not accessible.
- Made the Python search limits public in the Search API.
- Added namespace support for the Search API in the Python SDK.
    http://code.google.com/p/googleappengine/issues/detail?id=7670
- Added support in the Search API for simple sorting in the SDK.
    http://code.google.com/p/googleappengine/issues/detail?id=7456
- The Testbed testing framework now supports the Logservice API.
- Added support in the Files API to list Google Cloud Storage files.
- Improve the MapReduce File API Reader to support multiple files and file
  formats.
- Fixed an issue with the App Engine satisfaction survey in the Admin Console
  which was released in 1.6.6, which will be re-enabled in this release.
- Fixed an issue with Search API websafe cursors not being returned as a
  websafe value.
- Fixed an issue where SearchRequest was returning errors that weren't
  available as search.Error subclasses.
- Fixed an NDB issue where entities over 1000000 bytes where written to
  memcache, causing failure.
    http://code.google.com/p/appengine-ndb-experiment/issues/detail?id=193
- Fixed NDB AutoBatcher error handling.
    http://code.google.com/p/appengine-ndb-experiment/issues/detail?id=196
- Fixed an issue where Appstats assuming all objects have a __class__ attribute
  resulted in an error.
    http://code.google.com/p/googleappengine/issues/detail?id=5668
- Fixed an issue where there was unbalanced string quoting in Appstats
  formatting.
    http://code.google.com/p/googleappengine/issues/detail?id=5976
- Fixed an issue where search indexes were not persisted in the SDK.
    http://code.google.com/p/googleappengine/issues/detail?id=6791
- Fixed an issue where an error in formatter.py in Appstats was being thrown.
    http://code.google.com/p/googleappengine/issues/detail?id=7034
- Fixed an issue in the SDK where the Search API did not support boolean queries
  on a field.
    http://code.google.com/p/googleappengine/issues/detail?id=7247
- Fixed an issue where numeric and date comparators were not supported in the
  Search API in the Python SDK.
    http://code.google.com/p/googleappengine/issues/detail?id=7247
- Fixed an issue where Appstats didn't show a detailed view of an RPC when using
  the Python 2.7 runtime.
    http://code.google.com/p/googleappengine/issues/detail?id=7558
- Fixed a search issue where snippets failed to highlight when a capital letter
  is used in a search term.
    http://code.google.com/p/googleappengine/issues/detail?id=7665
- Fixed an issue where the SDK Admin tool couldn't browse search indexes
  containing unicode characters.
    http://code.google.com/p/googleappengine/issues/detail?id=7791
- Fixed an issue where traffic splitting by cookie was not working.
    http://code.google.com/p/googleappengine/issues/detail?id=7813
- Fixed an issue where RequestTooLargeError was being incorrectly thrown using
  Python 2.7.
    http://code.google.com/p/googleappengine/issues/detail?id=7820
- Fixed a memcache race condition.
    http://code.google.com/p/googleappengine/issues/detail?id=7864

Kristopher Giesing

unread,
Aug 9, 2012, 12:56:44 AM8/9/12
to google-a...@googlegroups.com
Until this issue is fixed, I'm stuck on 1.6.3:

- Kris

Takashi Matsuo

unread,
Aug 9, 2012, 1:10:09 AM8/9/12
to google-a...@googlegroups.com
Hi Kristopher,
Can you provide a reproducible test case or more detailed information
for this problem? Otherwise, I don't think we can help.
Also, can you file a new issue?

Probably you can enable appstats on the devserver for tracking each rpc calls.

Thanks,

-- Takashi

>
> - Kris
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/07SidfPu2EcJ.
>
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.



--
Takashi Matsuo | Developer Advocate | tma...@google.com

Kristopher Giesing

unread,
Aug 9, 2012, 2:08:06 AM8/9/12
to google-a...@googlegroups.com
There are no RPC calls - this is computation bound.  So I don't think appstats will help (and it doesn't run on the dev server anyway, since I switched to backends).  I load a complex model, run some analysis, and then save out the model again, but the slowdown I saw was just in the analysis part, not the I/O.  (Timing numbers are in a comment in the log - I'm seeing around a 30x-40x slowdown on processing time.)

Am I really the only one encountering this?  I can file a new issue if so.  Maybe it's specific to the version of the Java VM I happen to have installed.

- Kris

Prateek Malhotra

unread,
Sep 12, 2012, 1:34:35 PM9/12/12
to google-a...@googlegroups.com
Not entirely sure if this will fix it, but List-Unsubscribe should be a URL format:


You can include multiple ways to unsubscribe to (mailto: as well as http://)

List-Unsubscribe: <mailto:<identifying_key>@<app_id>.appspotmail.com>,<http://[url_to_unsubscribe_to]>

Hope this helps!

-Prateek

On Wednesday, September 12, 2012 10:32:04 AM UTC-4, AmitAlone wrote:
As mentioned in the release notes 
- The Mail API now supports the following headers for outgoing mail: List-Id,
  List-Unsubscribe, On-Behalf-Of, Resent-Date, Resent-From, Resent-To
I tried to to add two headers for test run, here are the populated headers in the log.
List-Id: mylistid677 
List-Unsubscribe: unsubf...@mydomain.com
However when I checked email source there were no such headers populated. I am using JAVA SDK 1.7.1
Please find the code for same.
 msg.setHeader("List-Id", "mylistid677");
msg.setHeader("List-Unsubscribe", "unsubf...@mydomain.com");
What am I missing in code or application setting ? Or these headers are still not supported ?

AmitAlone

unread,
Sep 19, 2012, 5:30:21 AM9/19/12
to google-a...@googlegroups.com
Issue was with Java Mail API, using low level APIs I was able to populate new permitted headers.
Thanks for reply.
Reply all
Reply to author
Forward
0 new messages