Skip to content

Commit e7e83ad

Browse files
committed
Bump version to 2.5.dev2

1 parent 27cc404 commit e7e83ad

File tree

3 files changed

+65
-2
lines changed

3 files changed

+65
-2
lines changed

docs/changelog.rst

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,24 @@ New
6363
Changes
6464
~~~~~~~
6565

66+
- Support for Solr 5+ spelling suggestion format. [Chris Adams]
67+
68+
- Set install requirements for Django versions. [Chris Adams]
69+
70+
This will prevent accidentally breaking apps when Django 1.10 is
71+
released.
72+
73+
Closes #1375
74+
75+
- Avoid double-query for queries matching no results. [Chris Adams]
76+
77+
- Update supported/tested Django versions. [Chris Adams]
78+
79+
* setup.py install_requires uses `>=1.8` to match our current test
80+
matrix
81+
* Travis allows failures for Django 1.10 so we can start tracking the
82+
upcoming release
83+
6684
- Make backend subclassing easier. [Chris Adams]
6785

6886
This change allows the backend build_search_kwargs to
@@ -92,6 +110,51 @@ Changes
92110
Fix
93111
~~~
94112

113+
- Tests will fall back to the Apache archive server. [Chris Adams]
114+
115+
The Apache 4.10.4 release was quietly removed from the mirrors without a
116+
redirect. Until we have time to add newer Solr releases to the test
117+
suite we'll download from the archive and let the Travis build cache
118+
store it.
119+
120+
- Whoosh backend support for RAM_STORE (closes #1386) [Martin Owens]
121+
122+
Thanks to @doctormo for the patch
123+
124+
- Unsafe update_worker multiprocessing sessions. [Chris Adams]
125+
126+
The `update_index` management command does not handle the
127+
`multiprocessing` environment safely. On POSIX systems,
128+
`multiprocessing` uses `fork()` which means that when called in a
129+
context such as the test suite where the connection has already been
130+
used some backends like pysolr or ElasticSearch may have an option
131+
socket connected to the search server and that leaves a potential race
132+
condition where HTTP requests are interleaved, producing unexpected
133+
errors.
134+
135+
This commit resets the backend connection inside the workers and has
136+
been stable across hundreds of runs, unlike the current situation where
137+
a single-digit number of runs would almost certainly have at least one
138+
failure.
139+
140+
Other improvements:
141+
* Improved sanity checks for indexed documents in management
142+
command test suite. This wasn’t actually the cause of the
143+
problem above but since I wrote it while tracking down the
144+
real problem there’s no reason not to use it.
145+
* update_index now checks that each block dispatched was
146+
executed to catch any possible silent failures.
147+
148+
Closes #1376
149+
See #1001
150+
151+
- Tests support PyPy. [Chris Adams]
152+
153+
PyPy has an optimization which causes it to call __len__ when running a
154+
list comprehension, which is the same thing Python does for
155+
`list(iterable)`. This commit simply changes the test code to always use
156+
`list` the PyPy behaviour matches CPython.
157+
95158
- Avoid an extra query on empty spelling suggestions. [Chris Adams]
96159

97160
None was being used as a placeholder to test whether to run

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, 'dev1')
14+
__version__ = (2, 5, 'dev2')
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
@@ -30,7 +30,7 @@
3030

3131
setup(
3232
name='django-haystack',
33-
version='2.5.dev1',
33+
version='2.5.dev2',
3434
description='Pluggable search for Django.',
3535
author='Daniel Lindsley',
3636
author_email='[email protected]',

0 commit comments

Comments
 (0)