Changelogs » Django-waffle

PyUp Safety actively tracks 262,358 Python packages for vulnerabilities and notifies you when to upgrade.

Django-waffle

2.0.0

======
  - Add support for Django 3.1
  - Remove support for Django 1.11, 2.0, 2.1
  - Caching auto-created missing flags, switches, and samples

1.0.0

======
  - Removed Python 2.7 compatibility code
  - Fixed typo in docs example
  - Documented WAFFLE_TEST_COOKIE

0.20.0

=======
  - Dropped support for Python 2.7
  - Removed deprecation warnings for ugettext.

0.19.0

=======
  - Dropped support for Django 2.0, 2.1, and Python 3.4.
  - Made tests for Jinja2 optional while waiting for django-jinja to be compatible with Django 3.0.
  - Add support for Django 3.0 by removing use of deprecated functionality from Django 2.2.

0.18.0

=======
  - Updated `MIDDLEWARE` setting name for Django 1.10+
  - Improved cache performance for `is_active_for_user`
  - Corrected log formatting
  - Added log entries for admin quick link actions
  - Added permissions for admin actions

0.17.0

=======
  - Fixed documentation issues
  - Added class-based view mixins

0.16.0

=======
  - Added support for Django 2.1 and 2.2
  - Flushing cache after modifying flags' groups and users
  - Removed redundant log line
  - Corrected version in `waffle/__init__.py`
  - Fixed bug in tests
  - Using strings as cache keys instead of bytes
  - Passing effects of test decorator to child classes
  -- NOTE: This introduced a backwards-incompatible change for the testutils override decorators.
  See https://github.com/django-waffle/django-waffle/pull/331 for details.

0.15.1

=======
  - Optionally logging missing flags, samples, and switches
  - Added --users option to waffle_flag management command
  - Updated testutils to flush caches
  - Improved admin site for users and groups
  - Fixed global cache thread safety issues

0.15.0

=======
  - Dropped support for Django < 1.11
  - Dropped support for Python 3.3
  - Added settings `WAFFLE_CREATE_MISSING_(FLAG|SWITCHES|SAMPLES)` to optionally
  create missing objects in the database automatically
  - Allow serializing/de-serializing waffle models by natural key
  - Added pluggable Flag model

0.14.0

=======
  - Added i18n support
  - Added Russian translations
  - Add management command to delete waffle data

0.13

=====
  - Added support for Django 2.0.
  - Added support for search the name and notes fields in Django admin.
  - Fixed small bugs in management commands.
  - Fixed small documentation issues.
  - Updated `waffle_flag` management command to accept user groups.
  - Added setting `WAFFLE_READ_FROM_WRITE_DB` to read from write DB on cache miss.

0.12

=====
  
  - Drop support for Django<1.8 and Python<2.7.
  - Moved bulk of code from waffle.*_is_active methods to .is_active
  instance methods.
  - Centralized caching code behind Class.get() methods.
  - Significant caching overhaul.
  - Automatically invalidate cache on waffle upgrade.

0.11.1

=======
  
  - Fix Django 1.9 support.
  - Fix several Python >=3.4 issues.
  - Fix output of `waffle_switch --list`.
  - Fix small documentation issues.
  - Cache a plain list instead of a ValuesListQuerySet.

0.11

=====
  
  - Support Django 1.8.
  - Move from jingo-specific to generic Jinja2 template support.
  - Added tools for integration testing.
  - Drop Django 1.5 support.
  - Fix several code and documentation bugs.
  - Add optional redirect parameter to view decorators.

0.10.2

=======
  
  - Overhaul documentation.
  - Move CLI commands to waffle_(flag|sample|switch) to be more polite.
  - Add override_(flag|sample|switch) testing tools.
  - Changed the default of WAFFLE_SECURE to True.

0.10.1

=======
  
  - Support Python 3.
  - Support Django 1.7.
  - Add WAFFLE_CACHE_NAME.
  - Fix caching for empty lists.

0.10.0

=======
  
  - Replace waffle.get_flags with waffle.{FLAGS,SWITCHES,SAMPLES} in JS.
  - Update Custom User Models for Django 1.6 support.
  - Support WaffleJS inline in templates.
  - Improve test infrastructure and coverage.

0.9.2

======
  
  - Add get_flags method to waffle.js.
  - Fix issue with South migrations and custom user models in Django 1.5.
  - Document command-line access and get more useful information from it.
  - Support non-naive datetimes when appropriate.
  - Fix a cache invalidation issue.

0.9.1

======
  
  - Real Django 1.5 support.
  - JavaScript obeys WAFFLE_*_DEFAULT settings.

0.9

====
  
  - Reorganized documentation.
  - Hash form values for better memcached keys.
  - Simplified and improved Django template tags.
  - Renamed JS functions to *_is_active to avoid reserved keywords.

0.8.1

======
  
  - Fix cache flushing issues.
  - Fix order of flag_is_active checks.
  - Add a waffle.urls module.
  - Add management commands.
  - Add language support to flags.
  - Better caching for missing flags/switches/samples.
  - Re-add 'note' field.
  - Created a set_flag method to make custom flag cookie triggers easier.

0.8

====
  
  - Fix issue with repeated flag_is_active calls.
  - Add created/modified dates to models.
  - Add WAFFLE_CACHE_PREFIX settings.

0.7.6

======
  
  - Fix waffle template functions when no request is present.
  - Added testing mode to flags.
  - Add WAFFLE_*_DEFAULT for switches and samples.

0.7.5

======
  
  - Fix issue with stale cache using bulk admin actions.

0.7.4

======
  
  - Fix waffle.js in Safari.

0.7.2

======
  
  - Handle 404s correctly.

0.7.1

======
  
  - I am bad at packaging.

0.7

====
  
  - Add 'note' field.
  - Add migrations for Samples.
  - Clean up Jinja2 functions.

0.6

====
  
  - Add Samples.

0.5

====
  
  - Fix waffle.js view with Switches.
  - Add South migrations.
  - Cache values to save database queries.

0.4

====
  
  - Add Switches.

0.3

====
  
  - Add waffle.js view.

0.2.1

======
  
  - Add bulk admin actions.

0.2

====
  
  - Add rollout mode to Flags.