elasticsearch
Advanced tools
Comparing version 6.0.0 to 6.1.0
# elasticsearch-js changelog | ||
## 6.0 (unreleased) | ||
## 6.1 (Aug 18 2015) | ||
- Added experimental support for apiVersion `"2.0"` | ||
## 6.0 (Aug 4 2015) | ||
- 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. | ||
@@ -6,0 +10,0 @@ ## 5.0 (Jun 9 2015) |
@@ -10,3 +10,3 @@ { | ||
"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"browser": { | ||
@@ -35,3 +35,4 @@ "./src/lib/connectors/index.js": "./src/lib/connectors/browser_index.js", | ||
"unstable_es_branches": [ | ||
"master" | ||
"master", | ||
"2.0" | ||
], | ||
@@ -38,0 +39,0 @@ "default_api_branch": "1.7" |
@@ -35,6 +35,6 @@ # elasticsearch.js | ||
<td align="center"> | ||
<a href="https://download.elastic.co/elasticsearch/elasticsearch-js/elasticsearch-js-6.0.0.zip">zip</a> | ||
<a href="https://download.elastic.co/elasticsearch/elasticsearch-js/elasticsearch-js-6.1.0.zip">zip</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://download.elastic.co/elasticsearch/elasticsearch-js/elasticsearch-js-6.0.0.tar.gz">tar.gz</a> | ||
<a href="https://download.elastic.co/elasticsearch/elasticsearch-js/elasticsearch-js-6.1.0.tar.gz">tar.gz</a> | ||
</td> | ||
@@ -41,0 +41,0 @@ </tr> |
@@ -95,68 +95,45 @@ var _ = require('./utils'); | ||
var statusCodes = { | ||
/** | ||
* GatewayTimeout | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
504: 'Gateway Timeout', | ||
/** | ||
* ServiceUnavailable | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
503: 'Service Unavailable', | ||
/** | ||
* BadGateway | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
502: 'Bad Gateway', | ||
/** | ||
* InternalServerError | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
500: 'Internal Server Error', | ||
/** | ||
* PreconditionFailed | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
412: 'Precondition Failed', | ||
/** | ||
* Conflict | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
409: 'Conflict', | ||
/** | ||
* AuthorizationException | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
300: 'Multiple Choices', | ||
301: 'Moved Permanently', | ||
302: 'Found', | ||
303: 'See Other', | ||
304: 'Not Modified', | ||
305: 'Use Proxy', | ||
307: 'Temporary Redirect', | ||
308: 'Permanent Redirect', | ||
400: 'Bad Request', | ||
401: 'Authentication Exception', | ||
402: 'Payment Required', | ||
403: 'Authorization Exception', | ||
/** | ||
* NotFound | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
404: 'Not Found', | ||
405: 'Method Not Allowed', | ||
406: 'Not Acceptable', | ||
407: 'Proxy Authentication Required', | ||
408: 'Request Timeout', | ||
409: 'Conflict', | ||
410: 'Gone', | ||
411: 'Length Required', | ||
412: 'Precondition Failed', | ||
413: 'Request Entity Too Large', | ||
414: 'Request URIToo Long', | ||
415: 'Unsupported Media Type', | ||
416: 'Requested Range Not Satisfiable', | ||
417: 'Expectation Failed', | ||
418: 'Im ATeapot', | ||
421: 'Too Many Connections From This IP', | ||
426: 'Upgrade Required', | ||
429: 'Too Many Requests', | ||
450: 'Blocked By Windows Parental Controls', | ||
494: 'Request Header Too Large', | ||
497: 'HTTPTo HTTPS', | ||
499: 'Client Closed Request', | ||
/** | ||
* AuthenticationException | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
401: 'Authentication Exception', | ||
/** | ||
* BadRequest | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
400: 'Bad Request', | ||
/** | ||
* MovedPermanently | ||
* @param {String} [msg] - An error message that will probably end up in a log. | ||
*/ | ||
301: 'Moved Permanently' | ||
500: 'Internal Server Error', | ||
501: 'Not Implemented', | ||
502: 'Bad Gateway', | ||
503: 'Service Unavailable', | ||
504: 'Gateway Timeout', | ||
505: 'HTTPVersion Not Supported', | ||
506: 'Variant Also Negotiates', | ||
510: 'Not Extended' | ||
}; | ||
@@ -163,0 +140,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2115991
56
70683