Questions? Feedback? powered by Olark live chat software
Added httpAuth
configuration parameter
Fixed a bug introduced in v9.0.1 that prevented error messages from including some available metadata
apiVersion "5.0"
is now the default
apiVersion "2.3"
is now the default
updated APIs, to use the new API’s exposed by the v5.0.0-alpha1
of elasticsearch use the "master"
api version.
Switch to promise from promise-js to prevent polluting global environment
Pass the keepAlive configuration all the way to the Agent #371
browser builds now include the "unstable" api’s from elasticsearch
added createNodeAgent
configuration value for overriding the agent that the node.js HttpConnector uses. (see #329 )
fix a bug that could cause error statuses to be strings rather than numbers
doc fixes
support sniffing nodes that have published hostnames
error logging now includes information about the request where the error occured #330
apiVersion "2.1"
is now the default
Remove bluebird
dependency, use an ES6 Promise shim instead. To use Bluebird in your project supply the defer configuration option.
apiVersion "2.0"
is now the default
Fix a memory leak caused by sniffing
Use the application/x-ldjson
content-type for bulk formatted bodies
Added wwwAuthenticateDirective
property to 401
errors
Added sniffedNodesProtocol
configuration option
Fixed an issue which prevented promised from getting rejected if the GET
verb was used with a request body (#263 )
Added apiVersion "2.x"
, which will semi-regularly be updated to match the latest development at elastic/elasticsearch#2.x
Removed node engine upper-bound, supporting 4.0 and versions beyond.
apiVersion changed back to "1.7"
until es 2.0 is actually released.
unpublished 7.0 (Aug 26 2015)edit
Added apiVersion "2.0"
, which is now the default
Added experimental support for apiVersion "2.0"
Added support for many more status codes so that "unknown error" is far less likely.
Added apiVersion "1.7"
, which is now the default
Error objects resulting from a completed http request now have much more information about the request that caused them.
Added apiVersion "1.6"
, which is now the default
Plugin configuration option added
Added support for object based error
Added apiVersion "1.5"
, which is now the default
Changed the default pingTimeout to 3 seconds, and made it configurable
Improved compatibility with node 0.12
Updated dependencies
Make the stream logger actually usable (thanks @falmp!)
Added HTTPS/SSL configuration options and related errors
client.scroll()
requests made without a body will use the scrollId
param as the body to prevent #113 & #174
Updated bluebird to v2.8.2
- bluebird changelog
Added specific error message for 504 errors #182
Added apiVersion "1.4"
, which is now the default
Improved parsing of host:
strings, examples in the tests
The Angular version of the client now uses angular.toJson()
(1.2 , 1.3 ) to serialize requests, override with serializer: "json"
Angular requests are now being aborted properly
Added apiVersion "1.3"
, which is now the default
Angular connector (when used with Basic Auth) no longer modifies Angular’s default headers
The default API version is now '1.2'
Node clinet now supports master, 1.x, 1.2, 1.1, 1.0, and 0.90
Browser client now supports versions 1.0, 1.1, and 1.2
The default API version is now '1.1'
Errors generated in the browser will now have stack traces
Clarified IE-support
Improvements to the bundled log-generator
Switched out keepaliveagent
dependency with forever-agent
, which is used in the ever popular request
module, and is much simpler
The option to use keep-alive is now all or nothing. maxKeepAliveTime
and maxKeepAliveRequests
config parameters have been replaced by keepAlive
, which will keeps at least minSockets
connections open forever. See: http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/configuration.html
Closing the client with keepAlive
turned on will allow the process to exit. https://github.com/elastic/elasticsearch-js/issues/40
Fixed a bug that caused invalid param/type errors to not be reported properly, in the browser builds that use promises
added the cat.threadPool to the master/1.0/1.x apis
Enabled Basic auth in the Angular connector — Thanks @jeff-french!
Fixed a bug that was preventing index requests (and any other POST/PUT request) from using connections in the connection pool
The trace log messages will now diaplay the actual host connected to (without auth info) unless they are being written to a bash script
API Updated with latest changes awaiting 1.0 release
1.2/1.3 (Jan 17 2014)edit
apiVersion
config parameter was added. Use this to specify which API the client should provide, we currently offer support for elasticsearch branches "0.90", "1.0", and "master"
Changed the resolution value of promises. Instead of being an object like {body: ..., status: ...}
it is now
just the response body
Another module, now know as es on npm, used the elasticsearch module name. This module had several pre-1.0
releases so we started at 1.0 to prevent collisions in exiting projects. The history for that project is available here