Skip to content

Commit 1bfca83

Browse files
committed
v2.5.dev1
1 parent 61846e0 commit 1bfca83

File tree

3 files changed

+43
-3
lines changed

3 files changed

+43
-3
lines changed

docs/changelog.rst

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ Changelog
77
New
88
~~~
99

10+
- SearchQuerySet.set_spelling_query for custom spellcheck. [Chris Adams]
11+
12+
This makes it much easier to customize the text sent to the
13+
backend search engine for spelling suggestions independently
14+
from the actual query being executed.
15+
16+
- Support ManyToManyFields in model_attr lookups. [Arjen Verstoep]
17+
18+
Thanks to @Terr for the patch
19+
1020
- `update_index` will retry after backend failures. [Gilad Beeri]
1121

1222
Now `update_index` will retry failures multiple times before aborting
@@ -53,6 +63,11 @@ New
5363
Changes
5464
~~~~~~~
5565

66+
- Make backend subclassing easier. [Chris Adams]
67+
68+
This change allows the backend build_search_kwargs to
69+
accept arbitrary extra arguments, making life easier for authors of `SearchQuery` or `SearchBackend` subclasses when they can directly pass a value which is directly supported by the backend search client.
70+
5671
- Update_index logging & multiprocessing improvements. [Chris Adams]
5772

5873
* Since older versions of Python are no longer supported we no
@@ -77,6 +92,18 @@ Changes
7792
Fix
7893
~~~
7994

95+
- Avoid an extra query on empty spelling suggestions. [Chris Adams]
96+
97+
None was being used as a placeholder to test whether to run
98+
a spelling suggestion query but was also a possible response
99+
when the backend didn’t return a suggestion, which meant
100+
that calling `spelling_suggestion()` could run a duplicate
101+
query.
102+
103+
- MultiValueField issues with single value (#1364) [Arjen Verstoep]
104+
105+
Thanks to @terr for the patch!
106+
80107
- Queryset slicing and reduced code duplication. [Craig de Stigter]
81108

82109
Now pagination will not lazy-load all earlier pages before returning the
@@ -111,7 +138,20 @@ Fix
111138
Other
112139
~~~~~
113140

114-
- PEP-8. [Chris Adams]
141+
- Merge pull request #1349 from sbussetti/master. [Chris Adams]
142+
143+
Fix logging call in `update_index`
144+
145+
- Fixes improper call to logger in mgmt command. [sbussetti]
146+
147+
- Merge pull request #1340 from claudep/manage_commands. [Chris Adams]
148+
149+
chg: migrate management commands to argparse
150+
151+
- Updated management commands from optparse to argparse. [Claude Paroz]
152+
153+
This follows Django's same move and prevents deprecation warnings.
154+
Thanks Mario César for the initial patch.
115155

116156
- Merge pull request #1225 from gregplaysguitar/patch-1. [Chris Adams]
117157

haystack/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
__author__ = 'Daniel Lindsley'
14-
__version__ = (2, 5, 'dev0')
14+
__version__ = (2, 5, 'dev1')
1515

1616
default_app_config = 'haystack.apps.HaystackConfig'
1717

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
setup(
3131
name='django-haystack',
32-
version='2.5.dev0',
32+
version='2.5.dev1',
3333
description='Pluggable search for Django.',
3434
author='Daniel Lindsley',
3535
author_email='[email protected]',

0 commit comments

Comments
 (0)