Skip to content

Commit 377afac

Browse files
committed
Update changelog
1 parent f8921b6 commit 377afac

File tree

1 file changed

+271
-13
lines changed

1 file changed

+271
-13
lines changed

docs/changelog.rst

Lines changed: 271 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,232 @@
11
Changelog
22
=========
33

4-
%%version%% (unreleased)
5-
------------------------
4+
v2.6.0 (2017-01-02)
5+
-------------------
6+
7+
- Merge #1460: backend support for Elasticsearch 2.x. [Chris Adams]
8+
9+
Thanks to João Junior (@joaojunior) and Bruno Marques (@ElSaico) for the
10+
patch
11+
12+
Closes #1460
13+
Closes #1391
14+
Closes #1336
15+
Closes #1247
16+
17+
- Docs: update Elasticsearch support status. [Chris Adams]
18+
19+
- Tests: avoid unrelated failures when elasticsearch is not installed.
20+
[Chris Adams]
21+
22+
This avoids spurious failures in tests for other search engines when the
23+
elasticsearch client library is not installed at all but the ES backend
24+
is still declared in the settings.
25+
26+
- Tests: friendlier log message for ES version checks. [Chris Adams]
27+
28+
This avoids a potentially scary-looking ImportError flying by in the
29+
test output for what's expected in normal usage.
30+
31+
- Tests: update ES version detection in settings. [Chris Adams]
32+
33+
This allows the tests to work when run locally or otherwise outside of
34+
our Travis / Tox scripts by obtaining the version from the installed
35+
`elasticsearch` client library.
36+
37+
- Tests: update ES1 client version check message. [Chris Adams]
38+
39+
The name of the Python module changed over time and this now matches the
40+
ES2 codebase behaviour of having the error message give you the exact
41+
package to install including the version.
42+
43+
- Update travis script with ES documentation. [Chris Adams]
44+
45+
Add a comment for anyone wondering why this isn't a simple
46+
`add-apt-repository` call
47+
48+
- Fixed More Like This test with deferred query on Elasticsearch 2.x.
49+
[Bruno Marques]
50+
51+
- Fixed expected query behaviour on ES2.x test. [Bruno Marques]
52+
53+
- Install elasticsearch2.0 via apt. [joaojunior]
54+
55+
- Install elasticsearch2.0 via apt. [joaojunior]
56+
57+
- Remove typo. [joaojunior]
58+
59+
- Remove services elasticsearch. [joaojunior]
60+
61+
- Fix typo. [joaojunior]
62+
63+
- Sudo=true in .travis.yml to install elasticsearch from apt-get.
64+
[joaojunior]
65+
66+
- Fix .travis. [joaojunior]
67+
68+
- Add logging in __init__ tests elasticsearch. [joaojunior]
69+
70+
- Get changes from Master to resolve conflicts. [joaojunior]
71+
72+
- Install elasticsearch1.7 via apt. [joaojunior]
73+
74+
- Update Files to run tests in Elasticsearch2.x. [joaojunior]
75+
76+
- Refactoring the code in pull request #1336 . This pull request is to
77+
permit use ElasticSearch 2.X. [joaojunior]
78+
79+
- Improved custom object identifier test. [Chris Adams]
80+
81+
This provides an example for implementors and ensures that failing to
82+
use the custom class would cause a test failure.
83+
84+
- Update management backend documentation for `--using` [flinkflonk]
85+
86+
Thanks to @flinkflonk for the patch!
87+
88+
Closes #1215
89+
90+
- Fix filtered "more like this" queries (#1459) [David Cook]
91+
92+
Now the Solr backend correctly handles a `more_like_this()` query which is subsequently `filter()`-ed.
93+
94+
Thanks to @divergentdave for the patch and tests!
95+
96+
- ReStructuredText link format fixes. (#1458) [John Heasly]
97+
98+
- Add note to Backend Support docs about lack of ES 5.X support. (#1457)
99+
[John Heasly]
100+
101+
- Replace deprecated Point.get_coords() calls. [Chris Adams]
102+
103+
This works as far back as Django 1.8, which is the earliest which we
104+
support.
105+
106+
See #1454
107+
108+
- Use setuptools_scm to manage package version numbers. [Chris Adams]
109+
110+
v2.5.1 (2016-10-28)
111+
-------------------
112+
113+
New
114+
~~~
115+
116+
- Support for Django 1.10. [Chris Adams]
117+
118+
Thanks to Morgan Aubert (@ellmetha) for the patch
119+
120+
Closes #1434
121+
Closes #1437
122+
Closes #1445
123+
124+
Fix
125+
~~~
126+
127+
- Contains filter, add endswith filter. [Antony]
128+
129+
* `__contains` now works in a more intuitive manner (the previous behaviour remains the default for `=` shortcut queries and can be requested explicitly with `__content`)
130+
* `__endswith` is now supported as the logical counterpart to `__startswith`
131+
132+
Thanks to @antonyr for the patch and @sebslomski for code review and testing.
133+
134+
Other
135+
~~~~~
136+
137+
- V2.5.1. [Chris Adams]
138+
139+
- Add support for Django 1.10 (refs: #1437, #1434) [Morgan Aubert]
140+
141+
- Docs: fix Sphinx hierarchy issue. [Chris Adams]
142+
143+
- Fix multiprocessing regression in update_index. [Chris Adams]
144+
145+
4e1e2e1c5df1ed1c5432b9d26fcb9dc1abab71f4 introduced a bug because it
146+
used a property name which exists on haystack.ConnectionHandler but not
147+
the Django ConnectionHandler class it's modeled on. Long-term, we should
148+
rename the Haystack class to something like `SearchConnectionHandler`
149+
to avoid future confusion.
150+
151+
Closes #1449
152+
153+
- Doc: cleanup searchindex_api.rst. [Jack Norman]
154+
155+
Thanks to Jack Norman (@jwnorman) for the patch
156+
157+
- Merge pull request #1444 from jeremycline/master. [Chris Adams]
158+
159+
Upgrade setuptools in Travis so urllib3-1.18 installs
160+
161+
- Upgrade setuptools in Travis so urllib3-1.18 installs. [Jeremy Cline]
162+
163+
The version of setuptools in Travis is too old to handle <= as an
164+
environment marker.
165+
166+
- Tests: accept Solr/ES config from environment. [Chris Adams]
167+
168+
This makes it easy to override these values for e.g. running test
169+
instances using Docker images with something like this:
170+
171+
```
172+
TEST_ELASTICSEARCH_1_URL="http://$(docker port elasticsearch-1.7 9200/tcp)/" TEST_SOLR_URL="http://$(docker port solr-6 8983/tcp)/solr/" test_haystack/run_tests.py
173+
```
174+
175+
See #1408
176+
177+
- Merge pull request #1418 from Alkalit/master. [Steve Byerly]
178+
179+
Added link for 2.5.x version docs
180+
181+
- Added link for 2.5.x version. [Alexey Kalinin]
182+
183+
- Merge pull request #1432 from farooqaaa/master. [Steve Byerly]
184+
185+
Added missing `--batch-size` argument for `rebuild_index` management command.
186+
187+
- Added missing --batch-size argument. [Farooq Azam]
188+
189+
- Merge pull request #1036 from merwok/patch-1. [Steve Byerly]
190+
191+
Documentation update
192+
193+
- Use ellipsis instead of pass. [Éric Araujo]
194+
195+
- Fix code to enable highlighting. [Éric Araujo]
196+
197+
- Merge pull request #1392 from browniebroke/bugfix/doc-error. [Steve
198+
Byerly]
199+
200+
Fix Sphinx errors in the changelog
201+
202+
- Fix Sphinx errors in the changelog. [Bruno Alla]
203+
204+
- Merge pull request #1341 from tymofij/solr-hl-options. [Steve Byerly]
205+
206+
- Merge master > tymofij/solr-hl-options. [Steve Byerly]
207+
208+
- Make solr backend accept both shortened and full-form highlighting
209+
options. [Tim Babych]
210+
211+
- Autoprefix 'hl.' for solr options. [Tim Babych]
212+
213+
- Update gitignore to not track test artifacts. [Steve Byerly]
214+
215+
- Merge pull request #1413 from tymofij/patch-2. [Steve Byerly]
216+
217+
typo: suite -> suit
218+
219+
- Typo: suite -> suit. [Tim Babych]
220+
221+
- Merge pull request #1412 from SteveByerly/highlight_sqs_docs. [Steve
222+
Byerly]
223+
224+
improve sqs highlight docs - illustrate custom parameters
225+
226+
- Improve highlight docs for custom options. [Steve Byerly]
227+
228+
v2.5.0 (2016-07-11)
229+
-------------------
6230

7231
New
8232
~~~
@@ -29,7 +253,7 @@ New
29253
This allows the default values to be overriden and arbitrary
30254
backend-specific parameters may be provided to Solr or ElasticSearch.
31255

32-
Thanks to Tim Babych (@tymofij) for the patch
256+
Thanks to @tymofij for the patch
33257

34258
Closes #1334
35259

@@ -110,6 +334,13 @@ Changes
110334
Fix
111335
~~~
112336

337+
- Attribute resolution on models which have a property named `all`
338+
(#1405) [Henrique Chehad]
339+
340+
Thanks to Henrique Chehad (@henriquechehad) for the patch
341+
342+
Closes #1404
343+
113344
- Tests will fall back to the Apache archive server. [Chris Adams]
114345

115346
The Apache 4.10.4 release was quietly removed from the mirrors without a
@@ -201,6 +432,34 @@ Fix
201432
Other
202433
~~~~~
203434

435+
- Docs: update unsupported backends notes. [Chris Adams]
436+
437+
* Officially suggest developing backends as separate projects
438+
* Recommend Sphinx users consider django-sphinxql
439+
440+
- V2.5.0. [Chris Adams]
441+
442+
- Bump version to 2.5.dev2. [Chris Adams]
443+
444+
- AUTHORS. [Tim Babych]
445+
446+
- Expand my username into name in changelog.txt. [Tim Babych]
447+
448+
- Corrected non-ascii characters in comments. (#1390) [Mark Walker]
449+
450+
- Add lower and upper bounds for django versions. [Simon Hanna]
451+
452+
- Convert readthedocs link for their .org -> .io migration for hosted
453+
projects. [Adam Chainz]
454+
455+
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:
456+
457+
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
458+
459+
Test Plan: Manually visited all the links I’ve modified.
460+
461+
- V2.5.dev1. [Chris Adams]
462+
204463
- Merge pull request #1349 from sbussetti/master. [Chris Adams]
205464

206465
Fix logging call in `update_index`
@@ -679,7 +938,7 @@ v2.4.0 (2015-06-09)
679938
- App_loading cleanup. [Chris Adams]
680939

681940
* Add support for Django 1.7+ AppConfig
682-
* Rename internal app_loading functions to have haystack\_ prefix to make
941+
* Rename internal app_loading functions to have haystack_ prefix to make
683942
it immediately obvious that they are not Django utilities and start
684943
* Add tests to avoid regressions for apps nested with multiple levels of
685944
module hierarchy like `raven.contrib.django.raven_compat`
@@ -1183,12 +1442,9 @@ v2.2.0 (2014-08-03)
11831442
* Massively simplified test runner (``python setup.py test``)
11841443

11851444
Minor updates:
1186-
11871445
* Travis:
1188-
1189-
- Test Python 3.4
1190-
- Use Solr 4.6.1
1191-
1446+
- Test Python 3.4
1447+
- Use Solr 4.6.1
11921448
* Simplified legacy test code which can now be replaced by the test utilities in newer versions of Django
11931449
* Update ElasticSearch client & tests for ES 1.0+
11941450
* Add option for SearchModelAdmin to specify the haystack connection to use
@@ -1593,8 +1849,10 @@ v2.2.0 (2014-08-03)
15931849

15941850
- Merge pull request #413 from phill-tornroth/patch-1. [Justin Caratzas]
15951851

1852+
Silly little change, I know.. but I actually ran into a case where I acci
1853+
15961854
- Silly little change, I know.. but I actually ran into a case where I
1597-
accidentally passed a list of models in without \*ing them. When that
1855+
accidentally passed a list of models in without *ing them. When that
15981856
happens, we get a string formatting exception (not all arguments were
15991857
formatted) instead of the useful "that ain't a model, kid" business.
16001858
[Phill Tornroth]
@@ -3739,7 +3997,7 @@ v1.1 (2010-11-23)
37393997

37403998
- We actually want `repr`, not `str`. [Daniel Lindsley]
37413999

3742-
- Pushed the `model_attr` check lower down into the `SearchField` and
4000+
- Pushed the `model_attr` check lower down into the `SearchField`s and
37434001
make it occur later, so that exceptions come at a point where Django
37444002
can better deal with them. [Daniel Lindsley]
37454003

@@ -3961,7 +4219,7 @@ v1.1 (2010-11-23)
39614219
SmileyChris for patches. [Daniel Lindsley]
39624220

39634221
- Added a note and an exception about consistent fieldnames for the
3964-
document field across all `SearchIndex` classes. Thanks sk1p\_! [Daniel
4222+
document field across all `SearchIndex` classes. Thanks sk1p_! [Daniel
39654223
Lindsley]
39664224

39674225
- Possible thread-safety fix related to registration handling. [Daniel
@@ -4304,7 +4562,7 @@ v1.1 (2010-11-23)
43044562
- Corrected Xapian's capabilities. Thanks richardb! [Daniel Lindsley]
43054563

43064564
- BACKWARD INCOMPATIBLE - Altered all settings to be prefixed with
4307-
HAYSTACK\_. Thanks Collin! [Daniel Lindsley]
4565+
HAYSTACK_. Thanks Collin! [Daniel Lindsley]
43084566

43094567
- Test cleanup from previous commits. [Daniel Lindsley]
43104568

0 commit comments

Comments
 (0)