elastic-builder

A Node.js implementation of the elasticsearch Query DSL

MIT License

Downloads
399.2K
Stars
497
Committers
36

Bot releases are hidden (Show)

elastic-builder - v2.2.0

Published by sudo-suhas about 6 years ago

2.2.0 (2018-10-03)

Features

elastic-builder - v2.1.1

Published by sudo-suhas about 6 years ago

2.1.1 (2018-10-01)

Bug Fixes

  • Support script types source and id (0ff9f99)

Reverts

  • Pin travis-deploy-once to v5.0.4 (e171ee4)
elastic-builder - v2.1.0

Published by sudo-suhas about 6 years ago

2.1.0 (2018-09-27)

Features

  • Implement 'Bucket Sort Aggregation' (#69) (50f8175)
elastic-builder - v2.0.2

Published by sudo-suhas about 6 years ago

2.0.2 (2018-08-18)

Bug Fixes

elastic-builder - v2.0.1

Published by sudo-suhas about 6 years ago

2.0.1 (2018-07-30)

Bug Fixes

  • Always wrap functions in array for FunctionScoreQuery (b098daf), closes #38
elastic-builder - v2.0.0

Published by sudo-suhas over 6 years ago

2.0.0 (2018-07-14)

Bug Fixes

  • Bump deps, drop node 4 support (0f82607)

BREAKING CHANGES

  • Drop support for node 4. Specifically, the tests are
    not run on node 4. The config for babel-preset-env has also been
    updated to target transpilation to node 6. However, because of
    additional target directive "browsers": [">1%"], it will probably
    work fine on node 4 too. Not recommended though.
elastic-builder - v1.3.0

Published by sudo-suhas over 6 years ago

1.3.0 (2018-06-18)

Features

  • Implement 'Composite Aggregation' (8e909d9), closes #47
elastic-builder - v1.2.0

Published by sudo-suhas over 6 years ago

1.2.0 (2018-06-03)

Bug Fixes

  • d.ts: Fix typings for DecayScoreFunction methods (580fda7), closes #43
  • Corrections to type annotations (3792268)

Features

  • Implement 'Significant Text Aggregation' (693b494)
  • Implement 'Terms Set Query' (229765f)
elastic-builder - v1.1.7

Published by sudo-suhas over 6 years ago

1.1.7 (2018-03-25)

Bug Fixes

  • Change babel-preset-env target to browsers: [>1%] (#55) (87c9728)
elastic-builder - v1.1.6

Published by sudo-suhas over 6 years ago

1.1.6 (2018-01-23)

Bug Fixes

  • d.ts: Add boolean to union type for TermQuery.value (#40) (d9c0139)
elastic-builder - v1.1.5

Published by sudo-suhas almost 7 years ago

1.1.5 (2018-01-08)

Bug Fixes

elastic-builder - v1.1.4

Published by sudo-suhas almost 7 years ago

1.1.4 (2017-12-18)

Bug Fixes

  • Update docs for elasticsearch 6.0 breaking changes (7827542)
elastic-builder - v1.1.3

Published by sudo-suhas about 7 years ago

1.1.3 (2017-09-27)

Bug Fixes

  • Fix npm docs image link (4707a9a)
elastic-builder - Release 1.1.0

Published by sudo-suhas about 7 years ago

  • chore(git): Setup commitizen with cz-conventional-changelog + scripts (863544d)
  • chore(git): Add .gitattributes file for LF in js files and auto CRLF elsewhere (93a384f)
  • chore(package): Update sinon to the latest version 🚀 (#24) (f5d4dac)
  • chore(package): Update documentation to the latest version 🚀 (#23) (0a53c58)
  • feat: Allow adding array of aggregations (#22) (4430fba)
  • docs: Commit generated files (9853149)
elastic-builder - Release 1.0.3

Published by sudo-suhas about 7 years ago

  • chore(package): documentation.js 5.0 doesn't work, use 4 (635cc16)
  • chore: Switch to yarn (519b4f8)
  • chore: Set release commit message to follow conventional commits (a8c27c7)
  • chore(git): add .gitattributes file (dc6b330)
  • Merge pull request #18 from sudo-suhas/fix_typedef (aa2645c)
  • test: Setup typescript validation for type definitions (d72c1c4)
  • docs(d.ts): Add namespace (6225879)
  • Merge pull request #17 from sudo-suhas/greenkeeper/documentation-5.0.0 (f1e2a62)
  • chore(package): update lockfile (0f8eb39)
  • chore(package): update documentation to version 5.0.0 (a4915c7)
elastic-builder - Release 1.0.2

Published by sudo-suhas over 7 years ago

  • docs: Update d.ts for PhraseSuggester.toJSON (de090c8)
  • test: Enable tests for PhraseSuggester.directGenerator + minor correction (8aa46c7)
  • fix: Override toJSON in PhraseSuggester for handling directGenerator (819e3e3)
  • Merge pull request #15 from sudo-suhas/greenkeeper/ava-0.21.0 (f63fcc8)
  • chore(package): update lockfile (acb0d54)
  • chore(package): update ava to version 0.21.0 (cd26811)
elastic-builder - Release 1.0.1

Published by sudo-suhas over 7 years ago

  • docs(readme): Use https for links (0f930c2)
  • Merge pull request #14 from sudo-suhas/fix_has_child_type_depr (5501e33)
  • test: Change HasChildQuery tests to use type instead of child_type (6190337)
  • fix: Fix deprecation warning for HasChildQuery.type (82058e3)
  • docs: Correct typo for PhraseSuggester in ordering (d3cc094)
  • chore: Update roadmap - Completed suggesters task (025ae9b)
elastic-builder - Release 1.0.0

Published by sudo-suhas over 7 years ago

There are no breaking changes in this release.

  • refactor: mv setDefault to util and use where appropriate (aab79a7)
  • Merge pull request #12 from sudo-suhas/feat-suggesters (37fa5e5)
  • docs: Update/add section for what's included (a8e0397)
  • docs: Define ordering for new classes (0d4f2a3)
  • test: Add tests for suggesters (996a6a7)
  • refactor: Rename test macro helper aggsExpectStrategy => nameTypeExpectStrategy (65ac5f5)
  • docs: Add type defs for suggesters (9284df8)
  • feat: Support suggesters in RequestBodySearch (0fcdc47)
  • style: Use aggs everywhere for building DSL (5b2c334)
  • chore: Bump deps (e6139bc)
  • Merge pull request #11 from sudo-suhas/chore_bump_deps (2c8d248)
  • style: Fix formatting using prettier (73b7649)
  • chore: Bump deps, regen packag-lock.json (956bd5e)
  • Merge pull request #9 from sudo-suhas/feat-search-templ (bf4e7ba)
  • docs: Define ordering for new classes (a741996)
  • docs(readme): Add section for what's included (99b4f87)
  • test: Add tests for SearchTemplate (1d63636)
  • docs: Add type defs for SearchTemplate (7573a0a)
  • feat: Add class SearchTemplate (c63b3df)
  • chore: Update keywords for better discovery(hopefully) (5240e8f)
  • Merge pull request #8 from sudo-suhas/greenkeeper/webpack-3.0.0 (d1a76b9)
  • chore: Bump babel-loader for webpack 3 compatibility (4948909)
  • fix: Regen package-lock(Error: Cannot find module 'tapable') (a5fd6ef)
  • chore(package): update lockfile (77126ce)
  • chore(package): update webpack to version 3.0.0 (0c42b0d)
  • Merge pull request #7 from sudo-suhas/greenkeeper/lint-staged-4.0.0 (0660380)
  • chore(package): update lockfile (4f4b16e)
  • chore(package): update lint-staged to version 4.0.0 (f9bbc79)
  • Merge pull request #5 from sudo-suhas/greenkeeper/initial (d9912fa)
  • ci: Configure greenkeeper-lockfile (c57d9d3)
  • Revert "docs(readme): add Greenkeeper badge" (5735845)
  • docs(readme): add Greenkeeper badge (e2df4e4)

This is a major release for 2 reasons:

  • The library now has full support for Request Body Search, Queries, Aggregations and Suggesters. It also has type definitions, detailed documentation and 100% code coverage. I think the library is ready for the first major release.
  • The second reason is because I have only recently come to realise that semver works differently for v0.x.y. If a package.json has declared dependency as "elastic-builder": "^0.4.0", npm will not install 0.5.0.
elastic-builder - Release 0.5.0

Published by sudo-suhas over 7 years ago

  • Merge pull request #6 from sudo-suhas/feat-adj-mat-agg (bd03d48)
  • chore: Update roadmap, Task completed - Add Adjacency matrix Agg (34ae4c2)
  • test: Add tests for AdjacencyMatrixAggregation (98d82bd)
  • test: Add tests for AdjacencyMatrixAggregation export (ff6ff59)
  • docs: Add type defs for AdjacencyMatrixAggregation (5870485)
  • feat: Add class AdjacencyMatrixAggregation (83dda13)
  • Merge pull request #4 from sudo-suhas/chore-bump-eslint (dec1ad2)
  • Merge pull request #2 from sudo-suhas/docs-fix-param-annot (4656843)
  • chore: Bump eslint to 4.0.0 (4177546)
  • Merge pull request #3 from sudo-suhas/add-code-of-conduct-1 (c67616e)
  • Create CODE_OF_CONDUCT.md (9d65e9f)
  • style: Format index.d.ts using editor (31a950c)
  • docs: Corrections for type defs and param annotations (a382652)
  • chore: Add es6 modules to roadmap (e804135)
  • build: Add package-lock.json to pkgFiles (cff741f)
  • fix: prettier lint errors (3342e9d)
  • fix: Enable babel caching for webpack test conf (837195c)
  • fix: Improve webpack uglify js conf (600469d)
  • feat: Use imports to get type defs for src (b4abca4)
  • docs(readme): Link to elastic-muto (5e2cb7f)
  • chore: Bump dev dependencies to latest (1af6143)
  • chore: mv favicon for docs accessibility (8b1848b)
elastic-builder - Release 0.4.4

Published by sudo-suhas over 7 years ago

  • chore: Deprecate pre/postversion scripts (5d2e635)
  • docs: Update src guide section on dependencies (df2d4a9)
  • chore: Add package-lock.json thanks to npm-5 (c27c12f)
  • fix: Trim lodash fat for lighter builds (3e4c3d2)
  • chore: Add node 8 test env to travis conf (192bcae)
  • docs(README): Add releases link for changelog (35a9e6a)
  • docs: Minor correction in src guide (d45d270)