aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.txt
blob: 698197c52868098b738efbb632cecb344a05227c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
========================
Django Tagging Changelog
========================


Version 0.2.1, 16th Jan 2008:
-----------------------------

* Fixed a bug with space-delimited tag input handling - duplicates
  weren't being removed and the list of tag names wasn't sorted.

Version 0.2, 12th Jan 2008:
---------------------------

Packaged from revision 122 in Subversion; download at
http://django-tagging.googlecode.com/files/tagging-0.2.zip

* Added a ``tag_cloud_for_model`` template tag.

* Added a ``MAX_TAG_LENGTH`` setting.

* Multi-word tags are here - simple space-delimited input still works.
  Double quotes and/or commas are used to delineate multi- word tags.
  As far as valid tag contents - anything goes, at least initially.

* BACKWARDS-INCOMPATIBLE CHANGE - ``django.utils.get_tag_name_list`` and
  related regular expressions have been removed in favour of a new tag
  input parsing function, ``django.utils.parse_tag_input``.

* BACKWARDS-INCOMPATIBLE CHANGE - ``Tag`` and ``TaggedItem`` no longer
  declare an explicit ``db_table``. If you can't rename your tables,
  you'll have to put these back in manually.

* Fixed a bug in calculation of logarithmic tag clouds - ``font_size``
  attributes were not being set in some cases when the least used tag in
  the cloud had been used more than once.

* For consistency of return type, ``TaggedItemManager.get_by_model`` now
  returns an empty ``QuerySet`` instead of an empty ``list`` if
  non-existent tags were given.

* Fixed a bug caused by ``cloud_for_model`` not passing its
  ``distribution`` argument to ``calculate_cloud``.

* Added ``TaggedItemManager.get_union_by_model`` for looking up items
  tagged with any one of a list of tags.

* Added ``TagManager.add_tag`` for adding a single extra tag to an
  object.

* Tag names can now be forced to lowercase before they are saved to the
  database by adding the appropriate ``FORCE_LOWERCASE_TAGS`` setting to
  your project's settings module. This feature defaults to being off.

* Fixed a bug where passing non-existent tag names to
  ``TaggedItemManager.get_by_model`` caused database errors with some
  backends.

* Added ``tagged_object_list`` generic view for displaying paginated
  lists of objects for a given model which have a given tag, and
  optionally related tags for that model.


Version 0.1, 30th May 2007:
---------------------------

Packaged from revision 79 in Subversion; download at
http://django-tagging.googlecode.com/files/tagging-0.1.zip

* First packaged version using distutils.