blob: e679278ea21a66b436ea36c4767bfbf96b5a4549 [file] [log] [blame]
Copyright 2008 Google Inc.
All rights reserved.
App Engine Python SDK - Release Notes
Version 1.6.0
- 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
- 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.
- 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.
- We have released an experimental API that can write to Google Storage for
Developers directly from App Engine.
- 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
- 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.
- Fixed an issue where you could not schedule a cron job to run every 100
- Fixed an issue in the SDK where failed tasks retried immediately instead of
waiting for 30 seconds.
- Fixed an issue making it possible to modify request headers using the deferred
Version 1.5.4
- You can now specify the maximum size for a blob in create_upload_url().
- Zigzag merge join queries will now continue scanning up to the 30 second
Datastore query deadline. For zigzag queries that used to generate NeedIndex
errors, many will now succeed. A small percentage will now instead timeout.
- The SDK datastore viewer in the dev console now displays the number of "Write
Ops" for each entity. "Write Ops" are the total number of entity and index
writes that were required to create the entity.
- Added API functionality for making calls to the Memcache API asynchronously.
- Fixed an issue that incorrectly allowed creation of tasks with whitespace in
the url.
- Fixed the error message for "transaction not found" to be more descriptive.
- Fixed an issue where blobstore uploads didn't work in the SDK with the
-a flag set.
- Fixed an issue where --dry_run was broken for upload_data in
- Fixed an issue where db.Model().to_xml() incorrectly updated auto-updating
- Fixed an issue where the SDK didn't expand the '~' in a file path.
- Fixed an issue where is_saved() wasn't valid after db.Model.__init__.
- Fixed an issue where GQL IN queries with an empty list returned all entities.
- Fixed an issue where the SDK's sqlite stub did not handle cursors on
descending queries correctly.
- Fixed a typo in the SDK's Datastore Stats generator message.
Version 1.5.3
- 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 of the 1.5.2 datastore query planner changes.
- The Datastore Admin functionality can now be enabled directly in the Admin
- 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
- 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" 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 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 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
- 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.
- 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
- Support for Backends which allow developers to create infrastructure
components that complement the existing dynamic apps that App Engine already
provides. Instances of a backend can maintain state, be addressed
individually, and are not subject to per-request time limits. They can also be
configured to consume more memory and CPU than ordinary dynamic instances.
- Task Queues support pull mode, allowing for more control over task queue work
rates. To use pull queues, include the 'mode' argument in your queue.yaml.
- Pull queues are supported by a REST API, allowing access from outside App
Engine. To use the REST API, you must also include a valid ACL section
specifying which users can lease tasks from the pull queue.
- Task Queue payload limits have been increased. Queues support 100KB per task.
Within App Engine, the new limit is 32 MB per batch of tasks. With the REST
API the limit is 1 MB per batch.
- HTTP request and response sizes have been increased to 32 MB.
- We have removed the rate quotas for requests, datastore operations,
memcache operations, and image API operations. Resource quotas still apply.
- When creating new applications, developers will now see the High Replication
Datastore as the default configuration option. Developers that still wish to
use the Master/Slave configuration must explicitly choose this option at
application creation time.
- The Task Queue maximum configurable processing rate has been increased to
- We have added two restrictions to the Mail API to improve the reliability
of the service for all applications.
- Emails must be sent from email accounts managed by Google (either Gmail or
a domain signed up for Google Apps).
- Reduced the number of free recipients per day from 2000 to 100 for new
- All application Owners, as listed in the Admin Console, can download the app's
code, unless code download is disabled for the application.
- Added support for making calls to the datastore asynchronously.
Available functions are get_async(), put_async(), delete_async(),
allocate_ids_async(). Call get_result on the return value of asynchronous
datastore functions to block on the call.
- Metadata queries can now get all namespaces, kinds, and properties in a given
- The Testbed API now supports the Channel API.
- Users can provide Django settings to be loaded in webapp's django_setup.
- Modified Dashboard latency graphs to indicate they only include dynamic
- Fixed an issue where metadata queries did not support unicode characters.
- Fixed an issue where HTTP headers could contain new line characters.
- A warning message is shown when the Python version used to run the SDK is
different than the Python version used in production.
- Fixed an issue with Federated Users causing the Admin Console dataviewer to
- MacOS and Windows style newlines are now supported for logging in the SDK.
- Fixed an issue where sending mail with smtp_host set did not work.
- Fixed the file permissions for and in the SDK.
- Fixed an issue deploying an app with version set to 0.
- Fixed an issue where the SDK allowed GET or DELETE with a body, which does
not work in production.
- Fixed an issue where URLFetch/urllib did not work with MacOS and
Python 2.6.0-2.6.3.
- Fixed the an issue in the SDK where the mail body was incorrectly generated
when the sendmail option was enabled.
- Fixed an issue in the SDK dataviewer where editing a ListProperty(db.Category)
resulted in a BadValueError.
- Fixed an issue in the SDK where the signal module could be imported, as it
is not supported.
- Improved support for reserving an app id that is a canonicalized version of
a user's Gmail address.
- Added a more useful error messages for unavailable App Ids.
- The SDK now uses hashlib instead of sha. Python 2.4 is no longer supported.
- Fixed an issue where images.composite() did not support PNG transparency in
the SDK.
- Added better error messages for cron.yaml parsing.
- Fixed an issue where uploading an index.yaml file with DOS line endings
caused an error.
- Fixed an issue where unicode characters in a script caused an error.
- Task Queue names can now include the "_" character.
- The sender of an email is no longer BCC'd when they are already included in
the email.
- Fixed an issue where non-string types were interpreted as strings when
parsing the index.yaml file.
- Image API now supplies image format.
- Fixed webapp.request.get_range to work with default=None.
- Added a more helpful error message when trying to send email to a malformed
- The SDK now returns an error if the Content-length header is not included in a
post request, matching production.
- Fixed an issue using URLFetch to fetch pages where the URL contained unicode.
- Fixed an issue where the SDK looked in the wrong folder for the SDK Version
- Fixed a webapp.Request get() issue where the default was not being properly
returned when allow_multiple was set to True.
- Fixed an issue where handler.get_url did not work for non-default versions of
- Fixed an issue where X-AppEngine-TaskRetryCount did not increment in the SDK.
- Applied a user patch that partially fixed an issue where bulkloader resume
was not working.
- Fixed a logging issue with the SDK BlobImageDispatcher.
- ListProperty now supports datetime.time and, as documented.
- Fixed an issue where the Content-length header was being incorrectly stored as
an integer.
- Fixed an issue where the Admin Console didn't keep the app version viewed
consistent across actions.
- Fixed an issue using os.environ in in the SDK.
- Fixed an issue where HTTP requests on the SDK where truncated if a semicolon
was included in the request.
- Fixed an issue where images.get_serving_url() did not handle blob_info.key()
- Fixed an issue where checking for a new version caused the appcfg download_app
command to fail.
- Fixed a typo in the Admin Console on the New App page.
- Return a better error when a ReferenceProperty fails to resolve.
- Fixed an issue where sending mail from an app registered on the HR datastore
required the app id be prefaced with s~.
- Fixed an issue where URLFetch with urllib over HTTPS didn't work.
Version 1.4.3
- Added Files API that allows writing to and reading from files in blobstore.
- You can now specify cron execution for a time interval between a start and end
- You can now configure the specific application version to which a task queue
or cron job will send requests.
- The Admin Console Task Queues page now displays a more accurate estimate of
queue size for queues containing more than 2000 tasks.
- The Prospective Search API (formerly named the Matcher API) is available for
use by all applications. This API is still experimental, so applications will
be limited to a maximum of 1000 subscriptions.
- The Testbed API provides easy configuration of stub libraries for local
integration tests.
- In the Images API, the quality parameter was added to the resize, rotate,
horizontal_flip, vertical_flip, crop and im_feeling_lucky methods.
- Fixed an issue where static file serving in the dev_appserver didn't support
- An error is now raised when the script mapping in the app.yaml file is missing
the .py file extension.
- Fixed an issue where no link was displayed in the Admin Console blobstore
viewer for an unnamed blob.
- Fixed an issue where the Admin Console data viewer couldn't edit entities
with ByteString properties.
- Fixed an issue where the Admin Console crashed when using a non-ascii
- Fixed an issue filtering on __key__ while using the --use_sqlite option with
the dev_appserver.
- The Disable Application admin function has been button-ized.
- Fixed an SDK issue where debugging logging wouldn't correctly print URLFetch
- Fixed an SDK issue where an incompatible line ending was used on blob upload.
- Added more graceful handling of the missing mapreduce.yaml file when the user
has enabled the Datastore Admin but is not otherwise using the MapReduce
- Fixed an issue where the method webapp_add_wsgi_middleware was no longer
Version 1.4.2
- 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 in
the 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.
- The Mail API added KML and KMZ files as allowed attachments.
- Added support for verifying the server SSL certificate when making a
URLFetch request to an HTTPS URL. This will become the default in a future
- 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.
- 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 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
- Fixed an issue where the SDK did not enforce the 100 task limit for the Task
- Fixed an issue where Query.order() was broken for properties with the 'name'
- Fixed an unhelpful error message in the Python namespace_manager.
Version 1.4.1
- During application creation, developers can choose between two Datastore
configurations: High Replication or Master/Slave.
- You can set your application's datastore to read-only mode in the Admin
Console. Any writes attempted while the app is set to read-only will throw a
CapabilityDisabledError. This feature can be helpful for migrating or copying
data between two applications.
- The Datastore Admin tool has been updated to allow copying of one app's
datastore to another. The destination app must have the Remote API enabled.
- The deadline for offline URL Fetch API requests for Python and Java have been
increased to a maximum of 10 minutes. The default deadline for offline
URL Fetch requests remains the same.
- Fixed an issue where an AttributeError was occasionally thrown on a datastore
Version 1.4.0
- The Always On feature allows applications to pay and keep 3 instances of their
application always running, which can significantly reduce application
- 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
- 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
- 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 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 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
- 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
- Fixed an issue reserving App Ids by owners of similarly-named mails accounts
containing periods, multiple cases, and address.
- Fixed an issue on the development server where PNGs were being returned as
Version 1.3.7
- Fix an issue where namespace_manager.google_apps_namespace() was not included
in the 1.3.6 release.
Version 1.3.6
- Multitenancy is now supported in the datastore, allowing better
compartmentalization of user data.
- Automatic image thumbnailing is now available in the Images API using
- 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
- Historical graphs have been added to all of the dashboard graphs in the Admin
- 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 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
- 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
- The datastore now supports end cursors.
- Fixed an issue properly handling a query with an offset that returns no
- 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
- New bulkloader configuration syntax and wizard for easier import/export with
the datastore.
- Applications can now be configured to authenticate with OpenID by selecting
the OpenID option when creating your application in the admin console.
- New API to allow App Engine apps to act as OAuth service providers.
- Auto task execution is now enabled in the dev_appserver. To turn this off
use the flag --disable_task_running.
- Fixed an issue using db.put() with constructor initialized id based keys.
Version 1.3.3
- A new experimental feature allows you to set dev_appserver datastore file
stub to use sqlite. To enable, set the flag --use_sqlite=true.
- It is now possible to implement properties on db.Expando.
- Fixed a datastore issue where an error was thrown when setting a query offset
to more than the number of results throws an error.
- Fixed issue not allowing ByteString type to be viewed in the Development
Console datastore viewer.
Version 1.3.2
- New API to read the contents of uploaded Blobs (fetch_data)
- URLFetch now supports accessing ports 80-90, 440-450, and 1024-65535
- Mail API now allows common document formats as attachments
- The Task Queue API now supports adding multiple tasks in a single call to
- Fixed charset handling for inbound emails
- Fixed issue with compositing background colors in dev_appserver
- New feature in the datastore to specify whether to use strong or eventually
consistent reads (the default is strong)
- New datastore feature allows setting deadlines for operations
- Increased the maximum Task Queue refill rate from 20/s to 50/s
- Support for IP blacklisting to prevent denial of service (DoS) attacks
- Fix an issue with Mac Launcher in Mac OSX 10.5.5
- Fix issue with slow updates when there are many skipped files
- Fix issue with cursor not updating when using a GqlQuery
Version 1.3.1
- Datastore Query Cursors
- Transactional Task Creation
- Support for Custom Admin Console pages
- New "month" and "synchronized" syntax for Cron configuration
- Application Stats library now included in with SDK
- Bulk Loader supports bulk downloading all kinds simultaneously
- validates SSL certificates for HTTPS on Upload
- Support for ETags, If-matches, If-not-matches HTTP Headers, as well as 304
status codes now available on static files (not available on the
dev_appserver or Blobstore blobs)
Version 1.3.0 - December 14, 2009
- Adds support for the new Blobstore API
Version 1.2.8 - October 28, 2009
- New memcache offset_multi method and batch support in incr and decr.
- Urlfetch Response object now contains final_url of 302 redirects.
- Additional file extensions permitted when sending mail.
- Fixed issue decoding messages for incoming mail.
- Fixed issue with datastore list properties containing both blob (or text)
and non-blob values.
- Admin console includes more information about indexes being built.
- Fixed Users API usage with remote_api
- Fixed issue with IN queries in remote_api
- Bulk Loader --dump and --restore now work across app IDs.
- Bulk Loader --restore works with numeric IDs.
- Bulk Loader exporter maps __key__ property to the entity key.
- Fixed issue in Bulk Loader with missing properties on export.
- Fixed issue in Bulk Loader with line breaks in data.
- Fixed exception in Bulk Loader with certain data ranges.
- Added SERVER_SOFTWARE environment variable to runtime.
- Over Quota HTTP status code changed from 403 to 503
- Task Queue now considers all HTTP 2xx status codes to represent success
- Task Queue now supports purging all tasks in a queue from the Admin Console.
- Task Queue now supports deleting a non-empty queue from the Admin Console.
- New "auth_fail_action: unauthorized" option in app.yaml: when present, a
401 status code will be returned instead of a 302 redirect to the Google
Accounts login page for pages with login: required. [Python only for now]
Version 1.2.7 - October 14, 2009
- Changed the 'key' parameter to Model.__init__ to be keyword only.
- Fixed taskqueue import in Remote API.
Version 1.2.6 - September 17, 2009
- Added incoming email support.
- Remote API now supports XMPP and task queues.
- The default for all handlers is now secure: optional. Users can
now access all pages via SSL unless explicitly disallowed.
- Remote API now supports HTTPS.
- Appcfg now uses https by default.
- now supports the --application and --version flags to
override the values specified in app.yaml.
- GQL now supports '= NULL' queries.
- The db.Model constructor now supports explicitly setting a key
(and thus an id) for a Model instance.
- New Datastore stats api. Stats are also visible in the admin console.
- Bulkloader dump and restore now supports restoring to a different
app id and restoring numeric keys.
Version 1.2.5 - August 13, 2009
- The Windows Python SDK now includes a GUI launcher, similar to the Mac SDK.
- Added XMPP support.
- Datastore now supports multiple writes to the same entity within a
- Datastore entity key names can now start with a digit.
- Datastore now supports ancestor + kind queries without a composite index
- Bulkloader now supports configurationless dump and restore with new
--dump and --restore options.
- Bulkloader now supports a --dry_run flag to testing data prior to uploading.
- now allows specifying any end date for request_logs.
- Urlfetch now allows setting the Referer header.
- Urlfetch stub now correctly handles HEAD requests.
- New remote_api_shell tool for interactive remote_api operations.
- New google.ext.ereporter module to collect and email exception reports.
- New google.ext.deferred module to execute ad-hoc tasks on the Task Queue.
Version 1.2.4 - July 16, 2009
- Added support for kindless queries, ie. transaction descendant queries.
- Composite indexes no longer required for certain types of key queries.
- Improved exception reporting in the bulkloader.
- Datastore transaction RPC sent at beginning of transaction rather than
upon first Datastore request.
- PolyModel supports keys_only query.
- Remote API supports more API's (Images, Memcache and URLFetch).
- Remote API shell.
- Support for multiple inheritance for Model and PolyModel.
- Enhancement to SearchableModel allowing multiple properties to be
- Various code quality improvements.
Version 1.2.3 - June 1, 2009
- Task Queue support available as google.appengine.api.labs.taskqueue.
- Django 1.0 support. You must install Django locally on your machine
for the SDK but no longer need to upload it to App Engine.
from google.appengine.dist import use_library
use_library('django', '1.0')
- Urlfetch supports asynchronous requests.
- Urlfetch in SDK now matches App Engine more closely:
By default, it now sets the referer header, does not set the Accept
header, and sets Accept-Encoding to gzip.
- Fixed issue with httplib and absolute URLs.
- Memcache key length is no longer restricted to 250 bytes: longer keys
will be replaced with a hash of the key.
- Datastore ancestor queries now work within transactions.
- Datastore transactions in SDK now snapshot on the first operation so they
do not see writes made during the transaction. Matches App Engine.
Version 1.2.2 - April 22, 2009
- New quota API which returns the CPU usage of the current request.
from google.appengine.api import quota
cpu_usage_so_far = quota.get_request_cpu_usage()
- Urlfetch fetch now has support for user configurable deadlines.
- Urlfetch in the SDK allows the Accept-Encoding header to match App Engine.
- urllib now supports HTTPS in addition to HTTP
- Datastore indexes on single properties can now be disabled by setting
indexed=False on the property constructor.
- Datastore now supports Key-only queries, using either SELECT __key__ or
or db.Query(Model, keys_only=True)
- Fixed issues with Datastore IN filters and sorting: sort order is now
correct, and can be used with __key__.
- Cron supports additional time specification formats.
- Fixed an issue in the dev_appserver admin console datastore viewer
(/_ah/admin/datastore) with sorting columns containing None types.
- Bulk Loader improvements: New appcfg download_data command.
Better backoff support and debugging output for long requests.
- New --vhost flag on request_logs command to select logs for
a particular host.
- Python _ast module is now available for import
- Fixed issue with the color argument of the Images API composite method.
Version 1.2.1 - April 13, 2009
- Stable, unique IDs for User objects. The Users service now
provides a unique user_id for each user that stays the same even
if a user changes her email address.
- The Images API now supports compositing images and calculating
a color histogram for an image.
- New allowed mail attachment types: ics, vcf
- Urlfetch requests can now set the User-Agent header.
- An App Engine-specific version of the Python PyCrypto cryptography
library is now available. Learn more at
- The bulk loader configuration format has allow non-CSV
input. This change is not backwards compatible, so you will need to
update your code.
An early release of the bulk downloader is also now available in Learn more about these changes at:
- Fixed parsing of unicode GQL queries.
- Fixed dev_appserver security restrictions for os.path
- Fixed Reply-To header set in emails sent from dev_appserver.
Version 1.2.0 - March 24, 2009
- Cron support. will upload the schedule to App Engine.
The dev_appserver console at /_ah/admin describes your schedule but does
not automatically run scheduled jobs. Learn more at
- New allow_skipped_files flag in dev_appserver to allow it to read files
which are not available in App Engine.
- New upload_data command in appcfg to run the bulk uploader.
Version 1.1.9 - February 2, 2009
- HTTP Request and Response limit raised to 10MB from 1MB.
Note that API call limits remain at 1MB.
- urllib and urllib2 now available, implemented using urlfetch.
Also adds additional stubs which may enable other modules.
- Early release of a new data bulk upload tool,
- New remote_api for datastore at google.appengine.ext.remote_api
- Single property descending indexes are automatically generated.
- Added db.Query support for IN and != operators.
- Fixed issue where gql date/time parsing could not handle Unicode strings.
- Fixed issue with db model instance key() returning the wrong key for
unsaved instances with parent as key
- New run_in_transaction_custom_retries method for datastore.
- Fixed issue with relative dev_appserver datastore and history paths.
- Static files and skipped files are not readable in dev_appserver, to match
the behavior on App Engine.
- Images API allows multiple transforms of the same type in one request. A
limit of 10 total transforms per request has been added.
- PIL import will work with both PIL.Image and Image.
- Fixed an issue with sending email in dev_appserver when the application
code changed.
- Memcache counters (incr/decr) do nothing on non positive integers to match
the behavior on App Engine.
Version 1.1.8 - January 7, 2008
- Skip_files RegexStr validator allows lists to for regex-ors.
- sys.path and sys.argv are no longer reset for each request.
- New ByteString data type for the datastore. Indexed non-text short-blob.
- UserProperty now takes auto_current_user and auto_current_user_add
- Support for polymorphic models and queries.
- db.Model.order() now supports __key__.
- Urlfetch no longer sets content-length: 0 when there is no body.
- Get height and width of an image via the Images API.
- Limit auto-Bcc of email sender to the case where the email sender is the
currently-logged-in user.
- Adds limit of 100 order/filters on datastore query size to the SDK.
- Fix unicode support for the bulkloader
- from the appengine/tools directory to the appengine/ directory
- Modify webapp to use logging.exception instead of logging.error.
- Additional fixes to SDK sanitizing response headers to match production.
Version 1.1.7 - November 20, 2008
- Fixed an issue with urlfetch response headers.
Version 1.1.6 - November 17, 2008
- Datastore now supports filtering and sorting on the __key__ special
property, which evaluates to each entity's key.
- Fixed a bug where it was possible to append None to ListProperty.
- Datastore appengine.ext.db models allow deletion by key without
instantiating a model instance.
- Datastore models allow access to key name before put() if key_name given.
- Datastore fetch max results and max query offset match production limits.
- Fixed an issue in production where query fails with NeedIndexError when
a model has two ancestor indexes.
- Allow trailing whitespace in PropertyValueFromString for datetime.
- Fixed to_xml on models with binary data in a BlobProperty: they now
are base64 encoded.
Note: This changes XML serialization.
- Fixed an issue with setting expando attributes.
- Fixed an issue where TypeError was raised instead of NeedIndexError for
"merge join" queries, i.e. queries with only equals filters and no ancestor
or sort orders, that still need an index.
- URLFetch in the SDK now has the same 5 second timeout to match production.
- URLFetch response headers are combined
- URLFetch now uses original method when following a redirect.
- URLFetch logs a warning when using a non standard port.
- URLFetch allows integers as values in request headers.
- Enforce response size and API request size limits to match production.
- SDK sanitizes response headers to match production
- Login URLs now require login in the SDK to match production.
- Fixed an issue with long URLs in HTTP 302 redirect responses.
- Fixed an issue with regular expressions in static_files in app.yaml
- SDK only allows "C" locale to match production.
- Support the bufsize positional arg in open()/file().
- lstat is aliased to stat.
- appcfg handles index building errors more gracefully.
- Fixed an issue with symlinks in the path to the Python core libraries.
Version 1.1.5 - September 29, 2008
- Additional fixes for file paths on Windows and OSX.
- Sped up the datastore stub.
- Allow different types in list properties in datastore.Entity and Expando.
- Add add_multi and replace_multi to memcache API.
- Ignore errors from the API proxy when calling memcache read methods.
- Set the webapp Request charset property more accurately from CONTENT_TYPE.
- Fixed an issue in the development console with schema caching.
- Fixed an issue with StringListProperty not returning a class
- Fixed an issue in the development console where quotes couldn't be used
within fields.
- Fixed an issue with TimeProperty("0:0") (midnight).
Version 1.1.4 - September 26, 2008
- Fixed issue with incorrectly escaping static_files paths on Windows.
- Workaround -inf not being supported on Windows in Datastore.
Version 1.1.3 - September 8, 2008
- Added support for zipimport.
- Added zipserve module for serving static content from a zip file.
See google/appengine/ext/zipserve/ for more information.
- Added a memcache viewer to the development console.
- Added new follow_redirects flag to the URLFetch service.
- Fixed caching headers for static content.
- Fixed an issue with incorrectly escaping paths on Windows.
- Fixed an issue with the current directory while running applications.
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 21, 2008
- Fixed DELETE for URLFetch on dev_appserver.
- Fixed PATH_INFO to be un-escaped version of the path.
- Fixed order function testing for property on Expando class.
- Support all mail attachment mime-types under Windows.
- Added support for date and time objects to GQL.
- Fixed memcache KeyError problem.
- Default URLFetch POST content-type is x-www-form-urlencoded.
- Fixed problems where global variables would be set to None
when a request raised an exception or returned an error
- Added support for GIFs and JPEG using PIL.
- Added support for type conversion of literals to GQL.
- Added support for pickling Expando instances.
- Added APPLICATION_ID environment variable to runtime.
- Added support for key_name to djangoforms.
- Added ability to put multiple transaction groups in one request
outside of transactions.
- Added support for downloading request logs using appcfg.
- Fixed DateProperty not supporting values before 1970 and beyond
Jan. 19, 2038.
- Set cap of 5000 indexed properties per entity.
- GoogleAppEngineLauncher now has context menus in the main project
- UI improvements to GoogleAppEngineLauncher preferences window.
- Fixed GoogleAppEngineLauncher broken symlink for bulk_uploadclient.
Version 1.1.0 - May 28, 2008
- Added an API for image manipulation.
- Added memcache API.
- Fixed URLFetch for URLs with query strings.
- Added support for multiple values for the same filter string.
- Fixed URLFetch's referrer to now set itself to the application's
- Added --show_mail_body flag to
- Added support for IN and != to GQL.
- Fixed URLFetch to accept strings as well as constant integers.
- Added CURRENT_VERSION_ID environment variable.
- Fixed uploading issues affecting developers.
- Fixed Datastore API to allow the assignment of [] to non-dynamic
DB attributes.
- Fixed NeedIndexError to include the index that the query needed.
Version 1.0.2 - May 15, 2008
- Fixed UTC timezone issue on Windows.
- Fixed webapp template cache bug.
- URLFetch service redirect behavior now matches deployed behavior.
- Better handling of bad HOMEDRIVE parameters on Windows.
- Fixed HTTP response header termination.
- Fixed behavior with source files that have Windows line-endings or
missing line-endings.
- Fixed C-Extension module loading issues.
- Fixed Windows DLL extension loading issues.
- Added missing os.uname function.
- Windows installer can now over-install.
- Windows installer now allows installation even if it can't find Python.
- Fixed skip_files exception.
- Better error handling for cookie-file related problems.
- User platform, SDK version, and Python version are now supplied to
server-side on deployment; also supplied on dev_appserver start-up
if the "nag" is enabled.
Version 1.0.1 - April 14, 2008
- 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.