debian-django-watson/CHANGELOG.markdown

212 lines
5.4 KiB
Markdown
Raw Normal View History

2015-12-03 11:37:20 +01:00
# django-watson changelog
2017-12-21 17:21:11 +01:00
## 1.5.0 - 21/12/2017
- Added `--slim` option to `buildwatson` command. This only includes
objects which satisfy the filter specified during model registration
(Dustin Broderick).
- Added `--batch-size` option to `buildwatson` command. This controls the
batch size for bulk-inserting search entries (Dustin Broderick).
- Added `--non-atomic` option to `buildwatson` command. This removes the
transaction wrapper from `buildwatson`, which can prevent timeouts on
huge datasets for some server setups.
2017-11-27 09:53:13 +01:00
## 1.4.4 - 27/11/2017
- Fixed stringifying objects in Python 3 (@danielquinn).
2017-09-28 12:30:34 +02:00
## 1.4.3 - 28/09/2017
- Fixed escaping of '<' and '>' characters in PostgreSQL backend.
2017-09-22 13:27:42 +02:00
## 1.4.2 - 22/09/2017
- Fixed caching of default search backend.
2017-08-22 15:08:52 +02:00
## 1.4.1 - 22/08/2017
2017-08-22 15:08:52 +02:00
- Allowing joins to UUID columns in `search()` (@etianen).
2017-08-22 15:10:51 +02:00
- Django 1.11 compatibility (@alorence).
2017-07-07 11:23:34 +02:00
## 1.4.0 - 07/07/2017
- Multiple database support (@sorokins).
- Minor tweaks and bugfixes (@unaizalakain, @moggers87).
2017-04-03 15:16:36 +02:00
## 1.3.1 - 03/04/2016
- Fixed `SearchContextMiddleware` for Django 1.10.0 (@blodone).
2016-12-19 12:06:08 +01:00
## 1.3.0 - 19/12/2016
- Added `WATSON_POSTGRES_SEACH_CONFIG` setting (@devxplorer).
- Modernised codebase (@amureki).
## 1.2.4 - 07/11/2016
2016-11-07 11:42:34 +01:00
- Improved escaping of queries on different backends (@amureki).
2016-12-19 12:06:08 +01:00
## 1.2.3 - 23/08/2016
2016-08-23 11:55:32 +02:00
- Django 1.10 compatibility (@SimonGreenhill).
- Minor tweaks and bugfixes (@johnfraney).
2016-12-19 12:06:08 +01:00
## 1.2.2 - 04/06/2016
2016-07-04 11:10:27 +02:00
- Fixing `filter()` to work with text-based primary keys in postgres (Jeppe Vesterbæk).
- Improvements to query escaping (@amureki).
- Disabling prefetch-related optimization in built-in views to avoid buggy Django behavior (@etianen).
2016-03-07 11:50:27 +01:00
2016-12-19 12:06:08 +01:00
## 1.2.1 - 07/03/2016
2016-03-07 11:50:27 +01:00
- Fixing AppNotReady errors when registering django-watson (@etianen).
- Minor tweaks and bugfixes (@SimonGreenhill, @etianen).
2015-12-03 11:37:20 +01:00
## 1.2.0 - 03/12/2015
2015-11-09 11:39:31 +01:00
2015-12-03 11:37:20 +01:00
- **Breaking:** Updated the location of [search](https://github.com/etianen/django-watson/wiki/Searching-models) and
[registration](https://github.com/etianen/django-watson/wiki/Registering-models) methods.
Prior to this change, you could access the these methjods using the following import:
2015-11-09 11:39:31 +01:00
2015-12-03 11:37:20 +01:00
```py
# Old-style import for accessing the search and registration methods.
import watson
2015-12-03 11:37:20 +01:00
# Use register and search methods from the watson namespace.
watson.register(YourModel)
watson.search("foo")
```
2015-04-24 15:49:00 +02:00
2015-12-03 11:37:20 +01:00
In order to support Django 1.9, the search and registration
methods have been moved to the following import:
2015-04-24 15:49:00 +02:00
2015-12-03 11:37:20 +01:00
```py
# New-style import for accesssing the search and registration methods.
from watson import search as watson
2015-04-24 15:49:00 +02:00
2015-12-03 11:37:20 +01:00
# Use register and search methods from the watson namespace.
watson.register(YourModel)
watson.search("foo")
```
2015-04-06 09:30:47 +02:00
2015-12-03 11:37:20 +01:00
- **Breaking:** Updated the location of [admin classes](https://github.com/etianen/django-watson/wiki/Admin-integration).
2015-04-06 09:30:47 +02:00
2015-12-03 11:37:20 +01:00
Prior to this change, you could access the `SearchAdmin` class using the following import:
2015-04-06 09:30:47 +02:00
2015-12-03 11:37:20 +01:00
```py
# Old-style import for accessing the admin class.
import watson
2015-12-03 11:37:20 +01:00
# Access admin class from the watson namespace.
class YourModelAdmin(watson.SearchAdmin):
...
```
2015-12-03 11:37:20 +01:00
In order to support Django 1.9, the admin class has been moved to the following
import:
2012-02-06 14:37:14 +01:00
2015-12-03 11:37:20 +01:00
```py
# New-style import for accesssing admin class.
from watson.admin import SearchAdmin
2014-02-19 11:37:57 +01:00
2015-12-03 11:37:20 +01:00
# Use the admin class directly.
class YourModelAdmin(SearchAdmin):
...
```
2014-11-08 15:36:48 +01:00
2015-12-03 11:37:20 +01:00
- Django 1.9 compatibility (@etianen).
2014-11-08 15:36:48 +01:00
2015-12-03 11:37:20 +01:00
## 1.1.9 - 09/11/2015
2014-10-14 10:02:14 +02:00
2015-12-03 11:37:20 +01:00
- Customization meta serialization (@samuelcolvin).
- Minor bugfixes (@etianen, @Fitblip).
2014-10-14 10:02:14 +02:00
2015-12-03 11:37:20 +01:00
## 1.1.8 - 24/04/2015
2014-02-19 11:37:57 +01:00
2015-12-03 11:37:20 +01:00
- Minor bugfixes.
2014-02-19 11:37:57 +01:00
2015-12-03 11:37:20 +01:00
## 1.1.7 - 06/04/2015
2013-10-05 17:01:29 +02:00
2015-12-03 11:37:20 +01:00
- Included south_migrations in the source distribution.
2013-10-05 17:01:29 +02:00
2015-12-03 11:37:20 +01:00
## 1.1.6 - 01/04/2015
2012-07-19 18:24:11 +02:00
2015-12-03 11:37:20 +01:00
- Added listwatson management command (@philippeowagner)
- Added _format_query() hook to MySQL search backend (@alexey-grom)
- Adding in Django 1.7 migrations.
- Ability to specify a search backend name for the filter() and search() methods (@amin-pylot)
- Bugfixes and tweaks (@thedrow, @dessibelle, @carltongibson, @philippeowagner)
2012-07-19 18:24:11 +02:00
2012-02-06 14:37:14 +01:00
2015-12-03 11:37:20 +01:00
## 1.1.5 - 08/11/2014
2015-12-03 11:37:20 +01:00
- Fixing issue with indexing nullable ForeignKey fields.
2012-03-07 14:47:31 +01:00
2015-12-03 11:37:20 +01:00
## 1.1.4 - 14/10/2014
2012-03-07 14:47:31 +01:00
2015-12-03 11:37:20 +01:00
- skip_index_update() context manager (@moggers87)
- Improved Travis CI integration (@thedrow)
- Minor bug fixes (@bdauvergne, @moggers87, @Gzing)
2012-03-07 14:47:31 +01:00
2012-02-06 14:37:14 +01:00
2015-12-03 11:37:20 +01:00
## 1.1.3 - 19/02/2014
2012-02-06 14:37:14 +01:00
2015-12-03 11:37:20 +01:00
- Ability to search for terms with apostrophes.
- Ability to rebuild watson indices for specific models.
2012-02-06 14:37:14 +01:00
2015-12-03 11:37:20 +01:00
## 1.1.2 - 05/10/2013
- More memory-efficient buildwatson command using data chunking.
- Python 3.3 compatibility (new and experimental!).
- Various minor bugfixes.
## 1.1.1 - 19/07/2012
- Ability to use a custom search adapter class in SearchAdmin.
- Template tag helpers for search results.
- Ability to specify search configuration for PostgreSQL backend.
## 1.1.0 - 05/04/2012
- Django 1.4 admin compatibility.
- Improved efficiency of large search index updates using update and bulk_create (when available).
- Added in SearchContextMiddleware.
- Removed potentially unreliable automatic wrapping of entire request in a search context.
- Improved escaping of PostgreSQL query characters.
## 1.0.2 - 07/03/2012
- Support for prefix matching in search queries.
## 1.0.1 - 06/02/2012
- Removing hacky searchentry_set generic relation being applied to registered models, which was causing spurious deletion warnings in the admin interface.
## 1.0.0 - 10/10/2012
- First production release.