parts/tagging/CHANGELOG.txt
changeset 69 c6bca38c1cbf
equal deleted inserted replaced
68:5ff1fc726848 69:c6bca38c1cbf
       
     1 ========================
       
     2 Django Tagging Changelog
       
     3 ========================
       
     4 
       
     5 Version 0.3.1, 22nd January 2010:
       
     6 ---------------------------------
       
     7 
       
     8 * Fixed Django 1.2 support (did not add anything new)
       
     9 * Fixed #95 — tagging.register won't stomp on model attributes
       
    10 
       
    11 Version 0.3.0, 22nd August 2009:
       
    12 --------------------------------
       
    13 
       
    14 * Fixes for Django 1.0 compatibility.
       
    15 
       
    16 * Added a ``tagging.generic`` module for working with list of objects
       
    17   which have generic relations, containing a ``fetch_content_objects``
       
    18   function for retrieving content objects for a list of ``TaggedItem``s
       
    19   using ``number_of_content_types + 1`` queries rather than the
       
    20   ``number_of_tagged_items * 2`` queries you'd get by iterating over the
       
    21   list and accessing each item's ``object`` attribute.
       
    22 
       
    23 * Added a ``usage`` method to ``ModelTagManager``.
       
    24 
       
    25 * ``TaggedItemManager``'s methods now accept a ``QuerySet`` or a
       
    26   ``Model`` class. If a ``QuerySet`` is given, it will be used as the
       
    27   basis for the ``QuerySet``s the methods return, so can be used to
       
    28   restrict results to a subset of a model's instances. The 
       
    29   `tagged_object_list`` generic view and ModelTaggedItemManager``
       
    30   manager have been updated accordingly.
       
    31 
       
    32 * Removed ``tagging\tests\runtests.py``, as tests can be run with
       
    33   ``django-admin.py test --settings=tagging.tests.settings``.
       
    34 
       
    35 * A ``tagging.TagDescriptor`` is now added to models when registered.
       
    36   This returns a ``tagging.managers.ModelTagManager`` when accessed on a
       
    37   model class, and provide access to and control over tags when used on
       
    38   an instance.
       
    39 
       
    40 * Added ``tagging.register`` to register models with the tagging app.
       
    41   Initially, a ``tagging.managers.ModelTaggedItemManager`` is added for
       
    42   convenient access to tagged items.
       
    43 
       
    44 * Moved ``TagManager`` and ``TaggedItemManager`` to ``models.py`` - gets
       
    45   rid of some import related silliness, as ``TagManager`` needs access
       
    46   to ``TaggedItem``.
       
    47 
       
    48 Version 0.2.1, 16th Jan 2008:
       
    49 -----------------------------
       
    50 
       
    51 * Fixed a bug with space-delimited tag input handling - duplicates
       
    52   weren't being removed and the list of tag names wasn't sorted.
       
    53 
       
    54 Version 0.2, 12th Jan 2008:
       
    55 ---------------------------
       
    56 
       
    57 Packaged from revision 122 in Subversion; download at
       
    58 http://django-tagging.googlecode.com/files/tagging-0.2.zip
       
    59 
       
    60 * Added a ``tag_cloud_for_model`` template tag.
       
    61 
       
    62 * Added a ``MAX_TAG_LENGTH`` setting.
       
    63 
       
    64 * Multi-word tags are here - simple space-delimited input still works.
       
    65   Double quotes and/or commas are used to delineate multi- word tags.
       
    66   As far as valid tag contents - anything goes, at least initially.
       
    67 
       
    68 * BACKWARDS-INCOMPATIBLE CHANGE - ``django.utils.get_tag_name_list`` and
       
    69   related regular expressions have been removed in favour of a new tag
       
    70   input parsing function, ``django.utils.parse_tag_input``.
       
    71 
       
    72 * BACKWARDS-INCOMPATIBLE CHANGE - ``Tag`` and ``TaggedItem`` no longer
       
    73   declare an explicit ``db_table``. If you can't rename your tables,
       
    74   you'll have to put these back in manually.
       
    75 
       
    76 * Fixed a bug in calculation of logarithmic tag clouds - ``font_size``
       
    77   attributes were not being set in some cases when the least used tag in
       
    78   the cloud had been used more than once.
       
    79 
       
    80 * For consistency of return type, ``TaggedItemManager.get_by_model`` now
       
    81   returns an empty ``QuerySet`` instead of an empty ``list`` if
       
    82   non-existent tags were given.
       
    83 
       
    84 * Fixed a bug caused by ``cloud_for_model`` not passing its
       
    85   ``distribution`` argument to ``calculate_cloud``.
       
    86 
       
    87 * Added ``TaggedItemManager.get_union_by_model`` for looking up items
       
    88   tagged with any one of a list of tags.
       
    89 
       
    90 * Added ``TagManager.add_tag`` for adding a single extra tag to an
       
    91   object.
       
    92 
       
    93 * Tag names can now be forced to lowercase before they are saved to the
       
    94   database by adding the appropriate ``FORCE_LOWERCASE_TAGS`` setting to
       
    95   your project's settings module. This feature defaults to being off.
       
    96 
       
    97 * Fixed a bug where passing non-existent tag names to
       
    98   ``TaggedItemManager.get_by_model`` caused database errors with some
       
    99   backends.
       
   100 
       
   101 * Added ``tagged_object_list`` generic view for displaying paginated
       
   102   lists of objects for a given model which have a given tag, and
       
   103   optionally related tags for that model.
       
   104 
       
   105 
       
   106 Version 0.1, 30th May 2007:
       
   107 ---------------------------
       
   108 
       
   109 Packaged from revision 79 in Subversion; download at
       
   110 http://django-tagging.googlecode.com/files/tagging-0.1.zip
       
   111 
       
   112 * First packaged version using distutils.