2008-08-24 00:25:40 +02:00
|
|
|
.. _releases-1.0-alpha-1:
|
|
|
|
|
2008-07-22 03:27:16 +02:00
|
|
|
================================
|
|
|
|
Django 1.0 alpha release notes
|
|
|
|
================================
|
|
|
|
|
|
|
|
Welcome to Django 1.0 alpha!
|
|
|
|
|
|
|
|
This is the first in a series of preview/development releases leading
|
|
|
|
up to the eventual release of Django 1.0, currently scheduled to take
|
|
|
|
place in early September 2008. This release is primarily targeted at
|
|
|
|
developers who are interested in testing the Django codebase and
|
|
|
|
helping to identify and resolve bugs prior to the final 1.0 release.
|
|
|
|
|
|
|
|
As such, this release is *not* intended for production use, and any
|
|
|
|
such use is strongly discouraged.
|
|
|
|
|
|
|
|
|
|
|
|
What's new in Django 1.0 alpha
|
|
|
|
==============================
|
|
|
|
|
|
|
|
Django's development trunk has been the site of nearly constant
|
|
|
|
activity over the past year, with several major new features landing
|
|
|
|
since the 0.96 release. Some of the highlights include:
|
|
|
|
|
|
|
|
Refactored admin application (newforms-admin)
|
|
|
|
The Django administrative interface (``django.contrib.admin``) has
|
|
|
|
been completely refactored; admin definitions are now completely
|
|
|
|
decoupled from model definitions (no more ``class Admin``
|
|
|
|
declaration in models!), rewritten to use Django's new
|
|
|
|
form-handling library (introduced in the 0.96 release as
|
|
|
|
``django.newforms``, and now available as simply ``django.forms``)
|
|
|
|
and redesigned with extensibility and customization in mind. Full
|
|
|
|
documentation for the admin application is available online in the
|
2008-07-22 04:02:40 +02:00
|
|
|
official Django documentation:
|
2008-09-02 18:42:13 +02:00
|
|
|
|
|
|
|
:ref:`admin reference <ref-contrib-admin>`
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
Improved Unicode handling
|
|
|
|
Django's internals have been refactored to use Unicode throughout;
|
|
|
|
this drastically simplifies the task of dealing with
|
|
|
|
non-Western-European content and data in Django. Additionally,
|
2008-07-22 04:33:16 +02:00
|
|
|
utility functions have been provided to ease interoperability with
|
2008-07-22 03:27:16 +02:00
|
|
|
third-party libraries and systems which may or may not handle
|
|
|
|
Unicode gracefully. Details are available in Django's
|
2008-07-22 04:02:40 +02:00
|
|
|
Unicode-handling documentation:
|
2008-09-02 18:42:13 +02:00
|
|
|
|
|
|
|
:ref:`unicode reference <ref-unicode>`
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
An improved Django ORM
|
|
|
|
Django's object-relational mapper -- the component which provides
|
|
|
|
the mapping between Django model classes and your database, and
|
|
|
|
which mediates your database queries -- has been dramatically
|
|
|
|
improved by a massive refactoring. For most users of Django this
|
|
|
|
is backwards-compatible; the public-facing API for database
|
|
|
|
querying underwent a few minor changes, but most of the updates
|
|
|
|
took place in the ORM's internals. A guide to the changes,
|
|
|
|
including backwards-incompatible modifications and mentions of new
|
|
|
|
features opened up by this refactoring, is available on the Django
|
2008-07-22 04:02:40 +02:00
|
|
|
wiki:
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
http://code.djangoproject.com/wiki/QuerysetRefactorBranch
|
|
|
|
|
|
|
|
Automatic escaping of template variables
|
|
|
|
To provide improved security against cross-site scripting (XSS)
|
|
|
|
vulnerabilities, Django's template system now automatically
|
2008-07-22 04:33:16 +02:00
|
|
|
escapes the output of variables. This behavior is configurable,
|
2008-07-22 03:27:16 +02:00
|
|
|
and allows both variables and larger template constructs to be
|
|
|
|
marked as safe (requiring no escaping) or unsafe (requiring
|
|
|
|
escaping). A full guide to this feature is in the documentation
|
2008-09-02 18:42:13 +02:00
|
|
|
for the :ttag:`autoescape` tag.
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
There are many more new features, many bugfixes and many enhancements
|
2008-07-22 04:33:16 +02:00
|
|
|
to existing features from previous releases. The ``newforms`` library,
|
2008-07-22 03:27:16 +02:00
|
|
|
for example, has undergone massive improvements including several
|
|
|
|
useful add-ons in ``django.contrib`` which complement and build on
|
|
|
|
Django's form-handling capabilities, and Django's file-uploading
|
|
|
|
handlers have been refactored to allow finer-grained control over the
|
|
|
|
uploading process as well as streaming uploads of large files.
|
|
|
|
|
2008-07-22 04:33:16 +02:00
|
|
|
Along with these improvements and additions, we've made a number of
|
|
|
|
of backwards-incompatible changes to the framework, as features have been
|
2008-07-22 03:27:16 +02:00
|
|
|
fleshed out and APIs have been finalized for the 1.0 release. A
|
|
|
|
complete guide to these changes will be available as part of the final
|
|
|
|
Django 1.0 release, and a comprehensive list of backwards-incompatible
|
|
|
|
changes is also available on the Django wiki for those who want to
|
2008-07-22 04:02:40 +02:00
|
|
|
begin developing and testing their upgrade process:
|
2008-09-02 18:42:13 +02:00
|
|
|
|
2008-07-22 03:27:16 +02:00
|
|
|
http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
|
|
|
|
|
|
|
|
|
|
|
|
The Django 1.0 roadmap
|
|
|
|
======================
|
|
|
|
|
|
|
|
One of the primary goals of this alpha release is to focus attention
|
|
|
|
on the remaining features to be implemented for Django 1.0, and on the
|
2008-07-22 04:33:16 +02:00
|
|
|
bugs that need to be resolved before the final release. Following
|
2008-07-22 03:27:16 +02:00
|
|
|
this release, we'll be conducting a series of sprints building up to a
|
2008-07-22 04:33:16 +02:00
|
|
|
series of beta releases and a release-candidate stage, followed soon
|
|
|
|
after by Django 1.0. The timeline is projected to be:
|
2008-07-22 03:27:16 +02:00
|
|
|
|
2008-07-22 04:33:16 +02:00
|
|
|
* August 1, 2008: Sprint (based in Washington, DC, and online).
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
* August 5, 2008: Django 1.0 beta 1 release. This will also constitute
|
2008-07-22 04:33:16 +02:00
|
|
|
the feature freeze for 1.0. Any feature to be included in 1.0 must
|
2008-07-22 03:27:16 +02:00
|
|
|
be completed and in trunk by this time.
|
|
|
|
|
2008-07-22 04:33:16 +02:00
|
|
|
* August 8, 2008: Sprint (based in Lawrence, KS, and online).
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
* August 12, 2008: Django 1.0 beta 2 release.
|
|
|
|
|
2008-07-22 04:33:16 +02:00
|
|
|
* August 15, 2008: Sprint (based in Austin, TX, and online).
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
* August 19, 2008: Django 1.0 release candidate 1.
|
|
|
|
|
2008-07-22 04:33:16 +02:00
|
|
|
* August 22, 2008: Sprint (based in Portland, OR, and online).
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
* August 26, 2008: Django 1.0 release candidate 2.
|
|
|
|
|
|
|
|
* September 2, 2008: Django 1.0 final release. The official Django 1.0
|
|
|
|
release party will take place during the first-ever DjangoCon, to be
|
2008-07-22 04:33:16 +02:00
|
|
|
held in Mountain View, CA, September 6-7.
|
2008-07-22 03:27:16 +02:00
|
|
|
|
2008-07-22 04:33:16 +02:00
|
|
|
Of course, like any estimated timeline, this is subject to change as
|
|
|
|
requirements dictate. The latest information will always be available
|
2008-07-22 04:02:40 +02:00
|
|
|
on the Django project wiki:
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
http://code.djangoproject.com/wiki/VersionOneRoadmap
|
|
|
|
|
|
|
|
|
|
|
|
What you can do to help
|
|
|
|
=======================
|
|
|
|
|
|
|
|
In order to provide a high-quality 1.0 release, we need your
|
|
|
|
help. Although this alpha release is, again, *not* intended for
|
|
|
|
production use, you can help the Django team by trying out the alpha
|
|
|
|
codebase in a safe test environment and reporting any bugs or issues
|
|
|
|
you encounter. The Django ticket tracker is the central place to
|
2008-07-22 04:33:16 +02:00
|
|
|
search for open issues:
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
http://code.djangoproject.com/timeline
|
|
|
|
|
2008-07-22 04:33:16 +02:00
|
|
|
Please open new tickets if no existing ticket corresponds to a problem
|
|
|
|
you're running into.
|
|
|
|
|
2008-07-22 03:27:16 +02:00
|
|
|
Additionally, discussion of Django development, including progress
|
|
|
|
toward the 1.0 release, takes place daily on the django-developers
|
2008-07-22 04:02:40 +02:00
|
|
|
mailing list:
|
2008-07-22 03:27:16 +02:00
|
|
|
|
|
|
|
http://groups.google.com/group/django-developers
|
|
|
|
|
2008-07-22 04:33:16 +02:00
|
|
|
...and in the ``#django-dev`` IRC channel on ``irc.freenode.net``. If
|
2008-07-22 03:27:16 +02:00
|
|
|
you're interested in helping out with Django's development, feel free
|
2008-07-22 04:33:16 +02:00
|
|
|
to join the discussions there.
|
|
|
|
|
|
|
|
Django's online documentation also includes pointers on how to
|
|
|
|
contribute to Django:
|
2008-07-22 03:27:16 +02:00
|
|
|
|
2008-09-02 18:42:13 +02:00
|
|
|
:ref:`contributing to Django <internals-contributing>`
|
2008-07-22 03:27:16 +02:00
|
|
|
|
2008-07-22 04:33:16 +02:00
|
|
|
Contributions on any level -- developing code, writing
|
|
|
|
documentation or simply triaging tickets and helping to test proposed
|
|
|
|
bugfixes -- are always welcome and appreciated.
|