Files
opensearch-pyd/Changelog.rst
T

309 lines
9.1 KiB
ReStructuredText
Raw Normal View History

2013-10-22 21:49:01 +02:00
.. _changelog:
Changelog
=========
2019-11-14 09:17:45 +01:00
2020-01-19 01:56:14 +01:00
7.5.1 (2020-01-19)
2020-01-09 16:43:28 +01:00
------------------
2020-01-19 01:56:14 +01:00
* ``7.5.0`` tag was not released so retagging
7.5.0
-----
* All API is now auto generated
* deprecated the ``.xpack`` namespace
2020-01-09 16:43:28 +01:00
* Update client to support ES 7.5 APIs
2019-11-14 09:17:45 +01:00
7.1.0 (2019-11-14)
------------------
* Fix sniffing with ``http.publish_host``
* Fix ``request_timeout`` for ``indices`` APIs
* Allow access to ``x-pack`` features without ``xpack`` namespace
* Fix mark dead
2019-05-28 11:33:06 -06:00
2019-10-01 22:23:45 +02:00
7.0.5 (2019-10-01)
2019-11-14 09:17:45 +01:00
------------------
2019-10-01 22:23:45 +02:00
* Fix ``verify_certs=False``
2019-08-22 18:10:02 +02:00
7.0.4 (2019-08-22)
2019-11-14 09:17:45 +01:00
------------------
2019-08-22 18:10:02 +02:00
* Fix wheel distribution
2019-08-21 17:53:23 +02:00
7.0.3 (2019-08-21)
2019-11-14 09:17:45 +01:00
------------------
2019-08-21 17:53:23 +02:00
* remove sleep in retries
* pass ``scroll_id`` through body in ``scroll``
* add ``user-agent``
2019-05-28 11:33:06 -06:00
7.0.2 (2019-05-29)
2019-11-14 09:17:45 +01:00
------------------
* Add connection parameter for Elastic Cloud cloud_id.
2019-05-22 22:03:05 -05:00
* ML client uses client object for _bulk_body requests
2013-10-22 21:49:01 +02:00
2019-05-28 11:33:06 -06:00
7.0.1 (2019-05-19)
2019-11-14 09:17:45 +01:00
------------------
2019-05-10 16:51:51 -06:00
* Use black to format the code.
* Update the test matrix to only use current pythons and 7.x ES
* Blocking pool must fit thread_count
* Update client to support missing ES 7 API's and query params.
7.0.0 (2019-04-11)
2019-11-14 09:17:45 +01:00
------------------
* Removed deprecated option ``update_all_types``.
2019-03-28 20:20:16 +01:00
* Using insecure SSL configuration (``verify_cert=False``) raises a warning, this can
be not showed with ``ssl_show_warn=False``
2019-03-29 09:27:59 -06:00
* Add support for 7.x api's in Elasticsearch both xpack and oss flavors
2019-11-14 09:17:45 +01:00
2018-06-20 11:55:11 -06:00
6.3.0 (2018-06-20)
2019-11-14 09:17:45 +01:00
------------------
2018-06-20 11:55:11 -06:00
* Add an exponential wait on delays
* Fix issues with dependencies
* Adding X-pack Docs
* Adding forecast to x-pack ML client
2018-03-20 13:41:15 -05:00
6.2.0 (2018-03-20)
------------------
* cleanup for SSL Context
* Add X-Pack clients to -py
2018-03-13 10:36:56 -06:00
* Adding Gzip support for capacity constrained networks
2018-03-04 15:18:25 -08:00
* ``_routing`` in bulk action has been deprecated in ES. Introduces a breaking change
if you use ``routing`` as a field in your documents.
2017-11-10 14:38:08 +01:00
2018-01-05 20:00:40 -07:00
6.1.1 (2018-01-05)
2018-01-05 19:51:20 -07:00
------------------
2018-01-05 20:00:40 -07:00
2018-01-05 19:51:20 -07:00
* Updates to SSLContext logic to make it easier to use and have saner defaults.
* Doc updates
2018-01-05 20:00:40 -07:00
6.1.0 (2018-01-05)
------------------
* bad release
2017-11-14 15:27:59 +01:00
6.0.0 (2017-11-14)
------------------
2017-11-10 14:38:08 +01:00
* compatibility with Elasticsearch 6.0.0
2017-11-10 14:37:03 +01:00
5.5.0 (2017-11-10)
------------------
* ``streaming_bulk`` helper now supports retries with incremental backoff
* ``scan`` helper properly checks for successful shards instead of just
checking ``failed``
* compatible release with elasticsearch ``5.6.4``
* fix handling of UTF-8 surrogates
2017-05-18 19:11:38 +02:00
5.4.0 (2017-05-18)
------------------
* ``bulk`` helpers now extract ``pipeline`` parameter from the action
dictionary.
2017-03-30 22:32:38 -07:00
5.3.0 (2017-03-30)
------------------
Compatibility with elasticsearch 5.3
2017-02-12 16:26:02 +01:00
5.2.0 (2017-02-12)
------------------
The client now automatically sends ``Content-Type`` http header set to
``application/json``. If you are explicitly passing in other encoding than
``json`` you need to set the header manually.
2017-01-11 15:45:55 +01:00
5.1.0 (2017-01-11)
------------------
* Fixed sniffing
2016-10-19 16:33:14 +02:00
2016-11-02 19:53:14 +01:00
5.0.1 (2016-11-02)
------------------
Fixed performance regression in ``scan`` helper
2016-10-19 16:22:48 +02:00
5.0.0 (2016-10-19)
------------------
2016-03-22 21:04:07 +01:00
Version compatible with elasticsearch 5.0
2016-10-17 14:16:56 +02:00
* when using SSL certificate validation is now on by default. Install
``certifi`` or supply root certificate bundle.
* ``elasticsearch.trace`` logger now also logs failed requests, signature of
internal logging method ``log_request_fail`` has changed, all custom
connection classes need to be updated
2016-07-12 18:13:11 +02:00
* added ``headers`` arg to connections to support custom http headers
* passing in a keyword parameter with ``None`` as value will cause that param
2018-01-05 19:51:20 -07:00
to be ignored
2016-07-12 18:13:11 +02:00
2016-08-17 16:37:48 +02:00
2.4.0 (2016-08-17)
------------------
* ``ping`` now ignores all ``TransportError`` exceptions and just returns
``False``
* expose ``scroll_id`` on ``ScanError``
* increase default size for ``scan`` helper to 1000
Internal:
* changed ``Transport.perform_request`` to just return the body, not status as well.
2016-02-29 22:44:24 +01:00
2.3.0 (2016-02-29)
------------------
* added ``client_key`` argument to configure client certificates
* debug logging now includes response body even for failed requests
2016-01-05 12:01:57 +01:00
2.2.0 (2016-01-05)
------------------
2015-11-10 16:18:44 +09:00
Due to change in json encoding the client will no longer mask issues with
encoding - if you work with non-ascii data in python 2 you must use the
``unicode`` type or have proper encoding set in your environment.
2015-11-10 16:18:44 +09:00
* adding additional options for ssh - ``ssl_assert_hostname`` and
``ssl_assert_fingerprint`` to the default connection class
2016-01-05 12:01:57 +01:00
* fix sniffing
2015-11-10 16:18:44 +09:00
2015-10-19 16:29:05 +02:00
2.1.0 (2015-10-19)
------------------
* move multiprocessing import inside parallel bulk for Google App Engine
2015-10-13 23:38:31 +02:00
2.0.0 (2015-10-14)
------------------
* Elasticsearch 2.0 compatibility release
1.8.0 (2015-10-14)
------------------
2015-10-07 17:49:52 +02:00
* removed thrift and memcached connections, if you wish to continue using
those, extract the classes and use them separately.
* added a new, parallel version of the bulk helper using thread pools
* In helpers, removed ``bulk_index`` as an alias for ``bulk``. Use ``bulk``
instead.
2015-10-07 17:49:52 +02:00
2015-09-21 20:06:03 +02:00
1.7.0 (2015-09-21)
------------------
* elasticsearch 2.0 compatibility
2015-10-07 17:49:52 +02:00
* thrift now deprecated, to be removed in future version
2015-09-21 20:06:03 +02:00
* make sure urllib3 always uses keep-alive
2015-06-10 02:38:35 +02:00
1.6.0 (2015-06-10)
------------------
* Add ``indices.flush_synced`` API
* ``helpers.reindex`` now supports reindexing parent/child documents
2015-05-18 16:04:38 +02:00
2015-05-18 16:03:00 +02:00
1.5.0 (2015-05-18)
------------------
2015-02-11 22:24:57 +01:00
2015-04-17 14:54:05 +02:00
* Add support for ``query_cache`` parameter when searching
2015-02-18 18:28:08 +01:00
* helpers have been made more secure by changing defaults to raise an
exception on errors
* removed deprecated options ``replication`` and the deprecated benchmark api.
2015-05-18 16:03:00 +02:00
* Added ``AddonClient`` class to allow for extending the client from outside
2015-02-18 18:28:08 +01:00
2015-02-11 22:22:38 +01:00
1.4.0 (2015-02-11)
------------------
2015-01-03 01:50:46 +01:00
2015-01-30 00:00:26 +01:00
* Using insecure SSL configuration (``verify_cert=False``) raises a warning
2015-02-11 22:22:38 +01:00
* ``reindex`` accepts a ``query`` parameter
* enable ``reindex`` helper to accept any kwargs for underlying ``bulk`` and
``scan`` calls
2015-01-30 00:07:00 +01:00
* when doing an initial sniff (via ``sniff_on_start``) ignore special sniff timeout
* option to treat ``TransportError`` as normal failure in ``bulk`` helpers
2015-02-11 22:22:38 +01:00
* fixed an issue with sniffing when only a single host was passed in
2015-01-30 00:00:26 +01:00
2014-12-31 17:02:06 +01:00
1.3.0 (2014-12-31)
------------------
* Timeout now doesn't trigger a retry by default (can be overriden by setting
2014-12-31 16:58:47 +01:00
``retry_on_timeout=True``)
2014-12-31 17:02:06 +01:00
* Introduced new parameter ``retry_on_status`` (defaulting to ``(503, 504,
)``) controls which http status code should lead to a retry.
2014-11-21 00:46:31 +01:00
* Implemented url parsing according to RFC-1738
2014-12-31 17:02:06 +01:00
* Added support for proper SSL certificate handling
2014-12-02 00:13:01 +01:00
* Required parameters are now checked for non-empty values
* ConnectionPool now checks if any connections were defined
* DummyConnectionPool introduced when no load balancing is needed (only one
connection defined)
2014-12-31 17:02:06 +01:00
* Fixed a race condition in ConnectionPool
2014-08-03 13:57:07 +02:00
1.2.0 (2014-08-03)
------------------
Compatibility with newest (1.3) Elasticsearch APIs.
* Filter out master-only nodes when sniffing
* Improved docs and error messages
1.1.1 (2014-07-04)
------------------
2014-12-31 16:58:47 +01:00
Bugfix release fixing escaping issues with ``request_timeout``.
2014-07-02 18:20:35 +02:00
2014-07-02 18:03:20 +02:00
1.1.0 (2014-07-02)
------------------
Compatibility with newest Elasticsearch APIs.
2014-12-31 16:58:47 +01:00
* Test helpers - ``ElasticsearchTestCase`` and ``get_test_client`` for use in your
2014-07-02 18:03:20 +02:00
tests
* Python 3.2 compatibility
* Use ``simplejson`` if installed instead of stdlib json library
2014-12-31 16:58:47 +01:00
* Introducing a global ``request_timeout`` parameter for per-call timeout
2014-07-02 18:03:20 +02:00
* Bug fixes
2014-02-11 20:11:24 +01:00
2014-02-11 20:07:59 +01:00
1.0.0 (2014-02-11)
------------------
2014-01-02 20:00:59 +01:00
2014-02-11 00:42:01 +01:00
Elasticsearch 1.0 compatibility. See 0.4.X releases (and 0.4 branch) for code
compatible with 0.90 elasticsearch.
* major breaking change - compatible with 1.0 elasticsearch releases only!
2014-12-31 16:58:47 +01:00
* Add an option to change the timeout used for sniff requests (``sniff_timeout``).
2014-02-11 00:42:01 +01:00
* empty responses from the server are now returned as empty strings instead of None
2014-12-31 16:58:47 +01:00
* ``get_alias`` now has ``name`` as another optional parameter due to issue #4539
2014-01-02 20:00:59 +01:00
in es repo. Note that the order of params have changed so if you are not
using keyword arguments this is a breaking change.
2013-12-23 16:35:34 +01:00
0.4.4 (2013-12-23)
------------------
2013-11-22 14:29:08 +01:00
2014-12-31 16:58:47 +01:00
* ``helpers.bulk_index`` renamed to ``helpers.bulk`` (alias put in place for
2013-11-22 14:29:08 +01:00
backwards compatibility, to be removed in future versions)
2014-12-31 16:58:47 +01:00
* Added ``helpers.streaming_bulk`` to consume an iterator and yield results per
2013-11-22 14:29:08 +01:00
operation
* ``helpers.bulk`` and ``helpers.streaming_bulk`` are no longer limited to just
2013-11-22 14:29:08 +01:00
index operations.
2014-12-31 16:58:47 +01:00
* unicode body (for ``incices.analyze`` for example) is now handled correctly
* changed ``perform_request`` on ``Connection`` classes to return headers as well.
This is a backwards incompatible change for people who have developed their own
connection class.
* changed deserialization mechanics. Users who provided their own serializer
2014-12-31 16:58:47 +01:00
that didn't extend ``JSONSerializer`` need to specify a ``mimetype`` class
attribute.
* minor bug fixes
2013-11-22 14:29:08 +01:00
0.4.3 (2013-10-22)
------------------
2013-10-22 21:49:01 +02:00
2014-12-31 16:58:47 +01:00
* Fixes to ``helpers.bulk_index``, better error handling
* More benevolent ``hosts`` argument parsing for ``Elasticsearch``
* ``requests`` no longer required (nor recommended) for install
2013-10-22 21:49:01 +02:00
0.4.2 (2013-10-08)
------------------
2018-01-05 19:51:20 -07:00
* ``ignore`` param accepted by all APIs
2014-12-31 16:58:47 +01:00
* Fixes to ``helpers.bulk_index``
2013-10-22 21:49:01 +02:00
0.4.1 (2013-09-24)
------------------
2013-10-22 21:49:01 +02:00
Initial release.