My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
SdkReleaseNotes  
Google App Engine Python SDK Release Notes
Updated Feb 3, 2012 by fredsa@google.com

You can download the latest version of the SDK here

App Engine SDK - Release Notes

Version 1.6.2 - January 31, 2012

  • The Admin Console Datastore Admin has added experimental backup and restore functionality. The job occurs within your application and counts against your application quota, including Instance Hours, Datastore Ops and Datastore Storage.
  • Developers can now specify how long a channel token will last until it expires, with the default remaining two hours. Channel API quota is now measured both in calls to create a channel and the number of hours of channel time requested. The maximum hours of quota is the maximum number of channel creation calls * 2, so free apps get 200 hours of requested channel token time.
  • Python Django now work with Cloud SQL without additional configuration. For further information see https://developers.google.com/cloud-sql/.
  • Task Queue API requests now include a X-Appengine-TaskETA header, that can be used to measure task delivery latency.
  • The default API deadlines for Blobstore API calls have been raised to 15s for online and 30s for offline requests, up from 5s.
  • The Images API now allows you to stretch an image without maintaining the aspect ratio.
  • The Blobstore API now includes the asynchronous function calls create_upload_url_async, delete_async, and fetch_data_async.
  • Django version 1.3 is now available in the Python 2.5 runtime.
  • We've added a django_wsgi builtin to allow easier bootstrapping of Django applications.
  • Mail Quota for App Engine apps that have signed up for billing will only be increased after the first payment for the app is processed.
  • As announced in 1.6.1, in this release for the experimental Python 2.7 runtime, the mapreduce and datastore_admin builtins are not available to apps deployed to Python 2.7.
  • Fixed an issue with remote_api where calling fetch_page() with a page size of 301 and chaining the calls through the returned cursor was skipping half of the results.
  • Fixed an issue where the PIL _imagingmath module was not available in Python 2.7.
  • Fixed an issue where the dev_appserver did not resize images down to 512 pixels by default, as it does in production.
  • Fixed an issue with the Images API where valid images were returning a NotImageError.
  • Fixed an issue where the dev_appserver didn't start when using Python 2.7 and the --backends flag.
  • Fixed an issue where Jinja2 was not included in the SDK for use with Python 2.7.
  • Fixed an issue with the sql datastore stub in Python 2.7 where the sqlite module no longer accepted strings with non-ASCII characters.
  • Fixed an issue where gzip did not work with Python 2.7 in the dev_appserver.
  • Fixed an issue where urllib2 did not work with Python 2.7.
  • Fixed an error in the Datastore Viewer where an error was thrown when viewing an Entity which defines an index with no properties.
  • Fixed an issue where transactional tasks were not enqueued in the dev_appserver when running in --high_replication mode.

Version 1.6.1 - December 13, 2011

Version 1.6.0 - November 7, 2011

  • On November 7th, App Engine will be out of Preview. The new Terms of Service and previously announced pricing changes will be in effect. Additionally, all paid apps are now covered by our SLA.
  • Paid apps can now specify the maximum pending latency for instances and the minimum number of idle instances for your application in the Admin Console.
  • Task Queue storage has been separated in to its own line item. Previously, this was included in Datastore storage.
  • We have released an experimental utility, available in the Admin Console, to assist in migrating your application to the High Replication datastore. This utility allows you to copy the bulk of your data in the background, while the source application is still serving. You then need a brief read-only period to migrate your application data while you copy the data that has changed from the time the original copy started.
  • Blobstore, which was previously limited to apps with billing enabled, is now available for all apps.
  • We have published a new article on Datastore Index Selection and Advanced Search which explains our recent improvements to the query planner that make exploding indexes unnecessary.
  • Applications can now receive XMPP error stanzas at /_ah/xmpp/error.
  • In the Admin Console data viewer, you can now filter by namespace from a drop down menu, if applicable.
  • In the Admin Console's Datastore Statistics, we now offer namespace suggest for filtering stats.
  • We have released as experimental the full MapReduce framework.
  • The SDK now supports Python 2.7.
  • Python 2.7 now supports WebOb 1.1.1, which has some significant bug fixes. Applications that explicitly set the "webob" version to "1.1" in their app.yaml files must update the version to "1.1.1".
  • The mail_stub.get_sent_messages() call now returns EmailMessage instances.
  • Fixed an issue when setting an initial_value in memcache.incr unexpectedly returned a string.
  • Fixed an issue where DoS stats in the Admin Console didn't work for High Replication apps.
  • WARNING: Starting with 1.6.1 (our next release, NOT this release), URLFetch requests will honor the Accept-Encoding header. If your code sets this header, then it must be prepared to receive content of the specified type. For more information please see

Version 1.5.5 - October 11, 2011

  • Python 2.7 is now available as an experimental runtime for all applications using the High Replication Datastore. To upload your app to the Python 2.7 runtime, change the runtime argument in your app.yaml to python27. Note that the dev_appserver does NOT work with Python 2.7 - you must deploy your application in order test it.
  • We have increased the number of files you can upload with your application from 3,000 to 10,000.
  • We have increased the size limit for a single file uploaded to App Engine from 10MB to 32MB.
  • We have increased the Frontend request deadline from 30 seconds to 60 seconds.
  • We have increased the online URLFetch maximum deadline from 10 seconds to 60 seconds. The default deadline remains at 10 seconds. The offline maximum deadline for URLFetch remains at 10 minutes.
  • We have increased the URLFetch Post payload from 1MB to 5MB.
  • App Engine now supports Cross Group (XG) transactions with the High Replication Datastore, which allow you to perform transactions across multiple entity groups. http://code.google.com/appengine/docs/python/datastore/transactions.html
  • We have released an experimental API that can write to Google Storage for Developers directly from App Engine. http://code.google.com/appengine/docs/python/googlestorage/overview.html
  • We have added a graph to the admin console that displays the number of instances for which you will be billed.
  • In the XMPP API, get_presence() is deprecated in favor of using the inbound presence handlers documented in http://code.google.com/appengine/docs/python/xmpp/overview.html#Handling_User_Presence.
  • The Task Queue API 'target' parameter now accepts a new value, taskqueue.DEFAULT_APP_VERSION, which will send the task to the default frontend version, rather than the version or backend where the 'add' method is being called.
  • In the URLFetch API, make_fetch_call() now returns an RPC object.
  • Fixed an issue in the Admin Console where the "Run Now" button did not work for tasks with a '-' in the name.
  • Fixed an issue where the SDK did not decode Base64 encoded blobs.
  • Fixed an issue to provide a better error message when using the Mail API to send email to an invalid user address.
  • Fixed an issue in the SDK where a skip_files entry caused an ImportError when the library was located elsewhere in the PYTHONPATH.
  • Fixed an issue in the SDK index viewer where the arrows indicating whether a query was ascending or descending were not properly rendered.
  • Fixed an issue where httplib did not support the deadline argument for URLFetch calls. http://code.google.com/p/googleappengine/issues/detail?id=2216
  • Fixed an issue where you could not schedule a cron job to run every 100 minutes. http://code.google.com/p/googleappengine/issues/detail?id=5243
  • Fixed an issue in the SDK where failed tasks retried immediately instead of waiting for 30 seconds. http://code.google.com/p/googleappengine/issues/detail?id=5587
  • Fixed an issue making it possible to modify request headers using the deferred library. http://code.google.com/p/googleappengine/issues/detail?id=5861

Version 1.5.4 - September 12, 2011

Version 1.5.3 - August 17, 2011

  • We've removed the limit on the size of blob uploads using the Blobstore API.
  • You can now send emails with any attachment extension that is not included on the email attachment extension blacklist.
  • Added a db.get_indexes() method to retrieve an application's indexes and their corresponding states.
  • The dev_appserver has been updated to understand the reduced index requirements, thanks to the 1.5.2 datastore query planner changes.
  • The Datastore Admin functionality can now be enabled directly in the Admin Console.
  • Added cas(), the compare-and-set function, to the Memcache API.
  • Added a set_default_fetch_deadline to the URLFetch API which sets the URLFetch deadline globally.
  • Added app_identity api with methods to get the application id, default hostname, and service accounts for asserting identity on outbound HTTP calls.
  • Added an improved HRD migration tool that requires a read-only period relative to your datastore write rate (as opposed to your datastore size, which is how the current version behaves). The tool is not yet generally available. If you are interested in being an early adopter please fill out this form:
  • Fixed an issue in the Channel API where jsapi was not served with the correct MIME type.
  • Fixed an issue that broke use_library when the Python SDK was located in a directory that contained the word django.
  • Fixed an issue where blobs could not be uploaded using HTTPS.
  • Fixed an issue where GQL didn't allow querying for valid kind names containing '.', '-', and ':' by supporting quoted identifiers.

Version 1.5.2 - July 21, 2011

  • You can now specify the minimum pending latency for instances and the maximum number of idle instances for your application in the Admin Console.
  • The datastore now never requires an exploding index.
  • The SDK will now never suggest indexes with the same property repeated, as such indexes are likely to be exploding indexes.
  • The SDK now supports multiple concurrent transactions.
  • Datastore stats are now available on a per-namespace basis.
  • The queue details page in the Admin Console now contains request header details, previous run information, and a task payload viewer.
  • You can modify the lease on a task leased from a pull queue using the modify_task_lease() method.
  • Pull Task maximum size has been increased to 1MB.
  • You can now update the number of available backend instances without needing to first stop the backend using the backend configure appcfg.py directive.
  • You can now set the References and In-Reply-To headers with the Mail API.
  • The SDK application environment variable will now be prefixed with dev~. The new preferred way of retrieving your app id is to use appidentity.get_application_id(). The --default_partition flag can be used for applications whose code relied on a specific environment variable.
  • In the Deferred API, defer() now accepts the _target parameter.
  • Added a to_dict() function to db.py which converts a model to a dictionary.
  • Added a get_original_metadata() method to the Images API to extract EXIF information from images.
  • Added an @transactional decorator to db.py for functions that should always be run in a transaction.
  • Fixed an issue in the SDK where the Deferred API did not work when using the --backends flag.

Version 1.5.1 - June 20, 2011

  • ProtoRPC is a new experimental library that provides a simple method for creating a well-defined and easy-to-use web-based RPC service.
  • The development server's datastore implementation now contains logic that closely replicates the consistency guarantees of the High Replication datastore. To use, run the dev_appserver with the flag --high_replication set to True.
  • All user request have an X-AppEngine-Country header which contains the ISO-3166-1 alpha-2 country code for the user, based on the IP address of the client request.
  • Applications are now associated with an app_identity, which can be used to authenticate requests originating from the app to other services.
  • The Channel API can now provide user presence, this can be configured by adding channel_presence to the list of inbound services for your application.
  • The Images API now supports the WebP format. Due to limitations in PIL, the SDK does not support the WebP format.
  • You can switch the timezone for App Engine logs in the Admin Console.
  • Fixed an issue in the SDK where leased tasks had the POST method. They now have a PULL method.
  • Fixed an issue where the Channel API didn't work with non-default versions of applications using the High Replication datastore.
  • When displaying corrupt data in the Admin Console dataviewer, a useful error will be displayed, instead of a 500.

Version 1.5.0 - May 10, 2011

Version 1.4.3 - March 30, 2011

Version 1.4.2 - February 11, 2011

  • The XMPP API was updated to include presence and allow subscriptions.
  • The Task Queue now supports programmatic deleting of tasks.
  • The maximum rate per queue at which tasks are processed has been increased to 100 tasks per second.
  • The maximum number of concurrent requests for a single queue can be specified in the application's queue.yaml. This provides an additional easy-to-use form of rate limiting. The current number of running tasks is also displayed inthe Admin Console.
  • Metadata queries in the Datastore now support cursors.
  • Admin Console logs viewer now displays time as YYYY-MM-DD HH:MM:SS.mmm.
  • Added a warning when an admin tries to upload a queue.yaml where the number of new queues and the number of disabled queues exceeds 100.
  • Django 1.2.5 is available via use of the use_library() declaration. This version of Django has also been added to the Python SDK.
  • Added builtin support for the deferred library.
  • If Python Precompilation fails, an error will be printed but the app will still be uploaded.
  • Added a --disable_sdk_update_check command line flag to the dev_appserver.
  • The Mail API added KML and KMZ files as allowed attachments.
  • Fixed an issue where the datastore copy functionality did not work if writes were disabled on the source application.
  • Fixed an issue where mail from @appid.appspotmail.com did not work when sending mail to app admins.
  • Fixed an issue where the dev_appserver URLFetch API limit was 16MB. It is now 32 MB to match production.
  • Fixed a zipimport issue on Windows which was not working due to path separators.
  • Fixed an issue where the SDK did not enforce the 100 task limit for the Task Queue.
  • Fixed an issue where Query.order() was broken for properties with the 'name' attribute.
  • Fixed an unhelpful error message in the Python namespace_manager.

Version 1.4.1 - January 05, 2011

Version 1.4.0 - December 02, 2010

  • The Always On feature allows applications to pay and keep 3 instances of their application always running, which can significantly reduce application latency.
  • Developers can now enable Warmup Requests. By specifying a handler in an app's app.yaml, App Engine will attempt to send a Warmup Request to initialize new instances before a user interacts with it. This can reduce the latency an end-user sees for initializing your application.
  • The Channel API is now available for all users.
  • Task Queue has been officially released, and is no longer an experimental feature. The API import paths that use 'labs' have been deprecated. Task queue storage will count towards an application's overall storage quota, and will thus be charged for.
  • The deadline for Task Queue and Cron requests has been raised to 10 minutes. Datastore and API deadlines within those requests remain unchanged.
  • For the Task Queue, developers can specify task retry_parameters in their queue.yaml.
  • Apps that have enabled billing are allowed up to 100 queues with the Task Queue API.
  • Metadata Queries on the datastore for datastore kinds, namespaces, and entity properties are available.
  • URLFetch allowed response size has been increased, up to 32 MB. Request size is still limited to 1 MB.
  • The request and response sizes for the Images API have been increased to 32 MB.
  • The total size of Memcache batch operations is increased to 32 MB. The 1 MB limit on individual Memcache objects still applies.
  • The attachment size for outgoing emails has been increased from 1 MB to 10 MB. The size limit for incoming emails is still 10 MB.
  • Size and quantity limits on datastore batch get/put/delete operations have been removed. Individual entities are still limited to 1 MB, but your app may batch as many entities together for get/put/delete calls as the overall datastore deadline will allow for.
  • When iterating over query results, the datastore will now asynchronously prefetch results, reducing latency in many cases by 10-15%.
  • The Admin Console Blacklist page lists the top blacklist rejected visitors.
  • The automatic image thumbnailing service supports arbitrary crop sizes up to 1600px.
  • Overall average instance latency in the Admin Console is now a weighted average over QPS per instance.
  • The developer who uploaded an app version can download that version's code using the appcfg.py download_app command. This feature can be disabled on a per application basis in the admin console, under the 'Permissions' tab. Once disabled, code download for the application CANNOT be re-enabled.
  • Fixed an issue where custom Admin Console pages did not work for Google Apps for your Domain users.
  • In the Python runtime, an instance is killed and restarted when a request handler hits DeadlineExceededError. This should fix an issue related to intermittent SystemErrors using Django.
  • Allow Django initialization to be moved to appengine_config.py to avoid Django version conflicts when mixing webapp.template with pure Django.
  • Fixed an issue with OpenId over SSL.
  • Fixed an issue on the dev_appserver where login/logout code didn't work using Python 2.6.
  • Fixed an issue in the dev_appserver where get_serving_url did not work for transparent, cropped PNGs:
  • Fixed an issue with the DatastoreFileStub.

Version 1.3.8 - October 14, 2010

  • Builtin app.yaml handlers are available for common application functions, such as appstats.
  • The Admin Console now provides an experimental tool to delete all entities in the datastore or all entities of a given type. This is available only if enabled using the datastore_admin builtin. Deleting entities will count against application quota.
  • You can run task queue tasks immediately from the Admin Console.
  • You can now specify the quality of JPEG images via the Image API's execute_transforms function. Available in production only.
  • Support for login of multiple Google accounts within an app, and longer login sessions. For more information see:
  • In queue.yaml, the maximum allowed bucket size is now 100.
  • Precompilation is now enabled by default. To disable, use the --no_precompilation flag when updating your app.
  • BlobInfo now has an open() method that returns a BlobReader.
  • BlobReader now accepts a BlobInfo.
  • Removed limits on zigzag merge-join queries. Therefore the error "The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query." will no longer be thrown in most cases, enabling more types of queries without indexes.
  • Fixed an issue with task queue tasks not running on the dev_appserver when using Python 2.6.
  • Fixed an issue on the dev_appserver where auto task running wasn't working for BulkAdd.
  • Fixed an issue reserving App Ids by owners of similarly-named mails accounts containing periods, multiple cases, and googlemail.com address.
  • Fixed an issue on the development server where PNGs were being returned as JPEGs.

Version 1.3.7 - August 30, 2010

  • Fix an issue where namespace_manager.google_apps_namespace() was not included in the 1.3.6 release.

Version 1.3.6 - August 17, 2010

  • Multitenancy is now supported in the datastore, allowing better compartmentalization of user data.
  • Automatic image thumbnailing is now available in the Images API using get_serving_url().
  • Users can now serve custom static error pages for over_quota, dos_api_denial and default cases.
  • Results of datastore count() queries and offsets for all datastore queries are no longer capped at 1000.
  • Added a pause queue button to the task queue details page in the Admin Console.
  • Historical graphs have been added to all of the dashboard graphs in the Admin Console.
  • Content-range headers are supported on Blobstore downloads.
  • Remote API now supports the Blobstore API.
  • New method to allocate datastore ids in a given range: db.allocate_id_range().
  • New db method is_in_transaction() determines if a transaction is still open.
  • Increased several rate limited quotas for free applications.
  • Fixed an issue in db.py where unindexed property lists for user-specified property names were ignored.
  • Fixed an issue where the task queue uses local time instead of UTC time to compute job ETA.
  • Fixed an issue in the SDK with datastore cursors being too large.

Version 1.3.5 - June 30, 2010

  • Developers can enable Python pre-compilation to decrease start up time for new application instances. This can be enabled by including the derived_file_type in your app.yaml.
  • Ability to configure the Task Queue storage limit with the total_storage_limit field in the queue.yaml file.
  • Task Queues now support up to 50 qps per queue, up from 50 qps per app.
  • Developers can programmatically access Blobs with BlobReader, a file-like interface for reading blobs.
  • Bulkloader transform helpers for lists and hierarchical keys were added.
  • remote_api_shell commands can be sent over HTTPS or HTTP.
  • Admin Console logs now include information on request time latency.
  • Db.delete will now accept an iterable, in addition to a list of models or keys.
  • The datastore now supports end cursors.
  • Fixed an issue properly handling a query with an offset that returns no results.
  • Fixed an issue that improperly allowed quad-dotted netmasks as subnet prefixes for the DoS API.
  • Fixed an issue via user submitted patch in the SDK dataviewer displaying multiline StringProperties.

Version 1.3.4 - May 19, 2010

Version 1.3.3 - April 21, 2010

Version 1.3.2 - March 25, 2010

Version 1.3.1 - February 10, 2010

Version 1.3.0 - December 14, 2009

  • Adds support for the new Blobstore API

Service Changes

  • Added new Blobstore Viewer to Admin Console

Version 1.2.8 - December 3, 2009

Service Changes

Version 1.2.7 - October 15, 2009

Version 1.2.6 - October 13, 2009

Version 1.2.5 - September 3, 2009

Version 1.2.4 - August 6, 2009

Version 1.2.3 - June 18, 2009

Version 1.2.2 - May 8, 2009

Version 1.2.1 - April 22, 2009

Version 1.2.0 - April 7, 2009

Version 1.1.9 - February 2, 2009

Version 1.1.8 - January 7, 2009

Version 1.1.7 - November 20, 2008

Version 1.1.6 - November 17, 2008

Version 1.1.5 - September 29, 2008

Version 1.1.4 - September 26, 2008

Version 1.1.3 - September 8, 2008

Version 1.1.2 - August 20, 2008

  • Batch puts across Datastore entity groups.
  • Transaction retries reduced from 10 to 3.
  • Fixed certain transaction failures being silent.
  • Added support for indexes with a single repeated property.

Version 1.1.1 - July 24, 2008

Version 1.1.0

Version 1.0.2

Version 1.0.1

  • Fixed app.yaml static_dir attribute on Windows.
  • Fixed uploading large files on OSX.
  • Fixed recursion issue in webapp template rendering cache.
  • Fixed MacPorts installation.
Powered by Google Project Hosting