Changelog
Like any other piece of software, Django-Flash is evolving at each release.
Here you can track our progress:
Version 1.8 (Feb 12, 2011)
- Notice: breaks backwards compatibility;
- Removed djangoflash.models.FlashScope.__call__() in order to avoid
problems in Django 1.3;
- Removed deprecated (since version 1.7.1) method
djangoflash.models.FlashScope.put_immediate() in favor of
flash.now[key] = value;
Version 1.7.2 (May 20, 2010)
- Notice: Django 1.2 already provides a built-in user “messages” framework,
but we’ll continue to support Django-Flash;
- Updated test code to make it work properly on post-1.2 versions of Django;
Version 1.7.1 (March 20, 2010)
- Notice: breaks backwards compatibility;
- Removed deprecated (since version 1.4.2) method
djangoflash.models.FlashScope.has_key();
- Deprecating method djangoflash.models.FlashScope.put_immediate() in
favor of flash.now[key] = value;
- Deprecating method djangoflash.models.FlashScope.put() in favor of
flash(key=value);
- Method djangoflash.models.FlashScope.add() can now append several values
to the given key;
- Added a method add() to djangoflash.models.FlashScope.now that
simplifies the storage of multiple immediate values under the same key;
Version 1.7 (October 25, 2009)
- Added support for custom flash serialization codecs;
- Three built-in codec implementations: JSON, JSON/zlib and Pickle;
- Module djangoflash.storage.base removed;
Version 1.6.3 (October 07, 2009)
- Using the DEBUG setting as the default value of FLASH_IGNORE_MEDIA;
Version 1.6.2 (September 18, 2009)
- Done some work to avoid the loss of messages when the
CommonMiddleware returns a HttpResponseRedirect due to a
missing trailing slash;
Version 1.6.1 (August 19, 2009)
- Now the middleware checks if the request resolves to
django.views.static.serve() instead of relying on the MEDIA_URL
setting;
Version 1.6 (August 13, 2009)
- Fixed a bug in which messages are prematurely removed from the flash when
they are replaced using flash.now in some circumstances;
- Added the FLASH_IGNORE_MEDIA setting to let the user choose whether
requests to static files should be ignored;
Version 1.5.3 (July 22, 2009)
- Fixed a bug in the middleware which causes flash data to be dicarded after
requests to static files;
Version 1.5.2 (July 15, 2009)
Version 1.5.1 (June 26, 2009)
Version 1.5 (June 24, 2006)
- License changed from LGPL to BSD to give uses more freedom;
- Added support for custom flash storage backends;
- Added a cookie-based flash storage;
- Default session-based storage was factored out to an independent class;
- Added a few more sanity checks;
Version 1.4.4 (June 09, 2009)
- Fixed a critical bug in the middleware;
Version 1.4.3 (June 08, 2009)
- Added a few more sanity checks;
Version 1.4.2 (February 13, 2009)
- Deprecating method djangoflash.models.FlashScope.has_key() in favor of
key in flash;
- Documentation improvements;
- Internals refactoring;
Version 1.4.1 (February 06, 2009)
- Immediate values (djangoflash.models.FlashScope.now) can be
manipulated using a dict-like syntax;
- Unit test improvements;
- Documentation improvements;
Version 1.4 (February 05, 2009)
- Notice: breaks backwards compatibility;
- Now Django-Flash works pretty much like the original Ruby on Rails‘ flash;
- Several code optmizations;
- Several improvements on the test suite;
Version 1.3.5 (February 03, 2009)
- Several documentation improvements;
- Improvements on source code comments and unit tests;
Version 1.3.4 (February 01, 2009)
- Added Sphinx-based documentation;
- Source code changed to improve the Pylint score;
- djangoflash module now have a __version__ property, which is
very useful when you need to know what version of the Django-Flash is
installed in your machine;
Version 1.3.3 (January 31, 2009)
- Critical Bug Fixed: Django-Flash creates several useless session
entries when the cookie support in user’s browser is disabled;
- Small improvements on unit tests;
Version 1.3.2 (December 07, 2008)
Version 1.3.1 (December 07, 2008)
- Added some sanity checks;
Version 1.3 (December 07, 2008)
- Notice: breaks backwards compatibility;
- Django-Flash now controls the expiration of flash-scoped values
individually, which means that only expired values are removed from the
session (and not the whole flash context);
- Unit testing code was completely rewritten and now a real Django
application is used in integration tests;
- Huge source code review to make it easier to read and to assure the use
of Python conventions;
- Project renamed to Django-Flash (it was previously called
djangoflash, without the hyphen);
Version 1.2 (November 01, 2008)
- Notice: breaks backwards compatibility;
- Improvements on the test comments;
- Now the flash scope works pretty much like a dict, although
still there’s no value-based expiration (the whole flash scope expires at
the end of the request);
Version 1.1 (November 01, 2008)
- Now using SetupTools to make the project easier to distribute;
Version 1.0 (October 22, 2008)
- First (very simple) version;