changelogs.md


gormenhou/mongoosastic

Repository  -  API  -  Source

4.3.0

February 21, 2017

4.2.4

January 6, 2017
  • chore(package): update eslint to version 3.13.0 (#267) https://greenkeeper.io/
    • chore(package): update dependencies (#266) https://greenkeeper.io/
    • resolve #95, support routing on index/unIndex/esSearch. (#260)
      • support routing on index/unIndex/esSearch.
    • update travis build badge to precise one (#265)
    • support auto index when call Model.insertMany
    • add co-mocha: write tests with generator function
    • fix bad request when esCount without query (#261)
    • unIndex should retry when unindex failed (#259)
    • unIndex should retry when unindex failed
    • should trigger removed event when retry failed
    • fix #111, findOneAndRemove should work fine when no document found (#258)
    • add *.swp to .gitignore
    • Merge pull request #257 from mongoosastic/issue/docs update elasticsearch.org to elastic.co
    • update elasticsearch.org to elastic.co

4.2.2

December 22, 2016
  • test folder linted (#247)
    • test folder linted
    • Exclude aggs from being added to the esQuery, as they're already added to the body. Fixes errors with Elasticsearch v5.0.0.
    • added a catch to the populate promise call in postSave (#248)
    • should keep populated field of source doc unchanged (#254)
    • should keep populated field of source doc unchanged
    • fix typo

2016-12-12

  • Fix (#5) mapping creation of nested references (#252)
  • Update mapping-generator.js
  • Test proving that mongoosastic fails when mapping a geo_point field inside a nested referenced schema
  • Restoring original mapping-generator.js file
  • Tests fixed and array of nested referenced object now correctly mapped

4.2.1

November 20, 2016
  • update dependencies (#246)
    • eslint updated (#245)
      • eslint updated
      • dependencies updated & added strict mode

4.1.0

November 17, 2016
  • Fixed: #207 Add min_score to search function (#218)
    • Reset bulk to original options.bulk instead of false. Fixes #161 (#237)
    • fix a bug where calling doc.index would overwrite all plugin options! (#187)
    • Custom serializer (#241)
      • updated the index method to allow for specifying a custom serialize method
      • added test for the custom serializer
      • removed lodash include
      • fixed a bug/typo in the config.js createModelAndEnsureIndex method
      • removed debug code from config.js
    • Eliminate Mongoose Query.prototype.stream() deprecation warning (#243)
      • Eliminate Mongoose deprecation warning for Query.prototype.stream() #230
      • Add "Matt Audesse matt@mattaudesse.com" to AUTHORS

2016-04-17

  • readme (#205) Add unit test for saveOnSynchronize describe only removed

2016-04-15

  • Fixes #86: Callback function in index schema method was not being called with arguments needed for emitter (#202)
  • Hydration preserve ES ordering (if no hydrateOptions.sort is set) (#194)
    • Hydration preserve ES ordering (if no hydrateOptions.sort is set)
    • Adding tests

2016-04-13

  • Raw search: providing unwrapped query object. For paging, for example. (#162)
    • es_search function added to mongoosastic.js in order to generalize search query parameter, i.e. add size and from first order parameters
  • Hydrated results are augmented with the raw ES result: useful for retrieving ES scores (#163)
  • Clone Mongoose tree and path in getCleanTree and mutate the clone (#197)

2016-04-12

  • Synchronise option: decide whether to save or not documents with mongoose before updating ES. (#200)

2016-03-03

  • Merge pull request #185 from StickyCube/master :memo: Add documentation for customProperties and unIndex

2016-03-02

  • :memo: Add documentation for customProperties and unIndex

2016-02-23

  • Merge pull request #177 from jbdemonte/master Fix explicit es_indexed on array. Also close #178 and #179

2016-02-18

  • support for nested schema
  • Fix explicit es_indexed on array

4.0.2

February 14, 2016
  • Merge pull request #170 from mongoosastic/updated-dependencies updated deps
    • Merge pull request #169 from nschloe/patch-1 Update README.md

4.0.0

February 13, 2016
  • Merge pull request #144 from Alexandre-io/feat/elasticsearch2.x Add support for ElasticSearch 2.x

3.6.1

January 30, 2016
  • Merge pull request #138 from Bauer-Xcel-Media/master fix: added missing prefix
    • JasonMore-feature/disable-middlewareHooks. merged #135

3.6.0

November 15, 2015
  • 3.6.0
    • Merge pull request #132 from jeresig/add-aggs Add in support for query aggregations
    • Add in support for aggregations in search queries.
    • Merge pull request #131 from JasonMore/feature/123-documenation Added documentation around issue #123
    • documentation around issue #123

3.6.0

November 15, 2015
  • 3.6.0
    • Merge pull request #132 from jeresig/add-aggs Add in support for query aggregations
    • Add in support for aggregations in search queries.
    • Merge pull request #131 from JasonMore/feature/123-documenation Added documentation around issue #123
    • documentation around issue #123

3.5.0

November 12, 2015
  • moved node version to 4.x instead of 4.2
    • 3.5.0
    • Merge pull request #129 from SamyPesse/feature/custom_mappings Add option "customProperties" to extend mapping
    • Merge pull request #130 from SamyPesse/feature/unindex Unindex when filtered
    • Merge pull request #125 from Alexandre-io/fix-travis-warn Fix eslint warning & Update travis to use the latest services
    • Unindex when filtered and postSave and fixes #126
    • Add option "customProperties" to extend mapping
    • Fix eslint warning & update deps (eslint-config-airbnb, istanbul)
    • Merge pull request #127 from SamyPesse/fix/91 Fix #91: add option "transform" to transform serialized model before indexation
    • Use option "transform" to transform the serialized model before indexing
    • updated CHANGELOG.md

3.5.0

November 12, 2015
  • moved node version to 4.x instead of 4.2
    • 3.5.0
    • Merge pull request #129 from SamyPesse/feature/custom_mappings Add option "customProperties" to extend mapping
    • Merge pull request #130 from SamyPesse/feature/unindex Unindex when filtered
    • Merge pull request #125 from Alexandre-io/fix-travis-warn Fix eslint warning & Update travis to use the latest services
    • Unindex when filtered and postSave and fixes #126
    • Add option "customProperties" to extend mapping
    • Fix eslint warning & update deps (eslint-config-airbnb, istanbul)
    • Merge pull request #127 from SamyPesse/fix/91 Fix #91: add option "transform" to transform serialized model before indexation
    • Use option "transform" to transform the serialized model before indexing
    • updated CHANGELOG.md

3.4.0

November 7, 2015
  • Merge pull request #120 from JasonMore/master Recognizes an es_type of nested with es_fields and maps it
    • added ability to define a nested type
    • Merge pull request #122 from guumaster/updated-travis-coveralls updated yml config for travisci and coveralls
    • added coverage script
    • Update README.md
    • Create .coveralls.yml

3.3.2

September 27, 2015
  • Merge pull request #107
    • added AUTHORS file
    • Merge pull request #106
    • updated travis config
    • removed gulp dependency. moved to ESLint instead of jshint/jscs

3.3.0

September 13, 2015
  • updated README
    • Merge pull request #100
    • Merge pull request #104
    • fixed suggesters tests
    • fix(postSave): fix findOneAndUpdate if document doesn't exist
    • added support for suggesters
    • small json typo

3.2.0

September 7, 2015
  • 3.2.0
    • Merge pull request #98 added fuzzy search test
    • added fuzzy search test
    • Merge pull request #99
    • package.json updated. and src linted
    • Merge pull request #97
    • update dependency elasticsearch to ^8.0.0
    • index/unindex when findOneAndUpdate/findOneAndRemove

3.1.4

July 19, 2015
  • updated package.json dependencies and added "licence" field.
    • added iojs and Node 0.12 to travis environments.
    • upgraded to new travis infraestructure.
    • minor tweaks to improve tests.

3.1.3

July 19, 2015
  • improves synchronize high memory usage #84

3.1.2

May 25, 2015
  • added complex sorting object to search() options parameters #79
    • devDependecies updated

3.1.1

May 25, 2015
  • fixed index creation #75
    • added index filtering documentation #72

3.1.0

May 1, 2015
  • added esCount feature #58
    • fixed esTruncate #69
    • added filtering index logic #67

3.0.0

March 29, 2015
  • mongoose and elasticsearch version bump

2.1.3

March 29, 2015
  • added doc parameter on mongoose hooks

2.1.1

March 28, 2015
  • added gulp, jshint and jscs
    • example fixed and dependencies updated

2.1.0

March 21, 2015
  • added multihost connection feature #56
    • updates to README
    • lots of smalls code cleaning
    • Added highlight feature #51
    • added full CHANGELOG.md

2.0.10

March 19, 2015
  • updated elasticsearch dependency. changed bulk config
    • Dependecies updated

2.0.9

March 19, 2015
  • Increased timeout for travis environment
    • Update .travis.yml testing conf.
    • added timeout env variable for travis to wait on index deletion

2.0.8

March 17, 2015
  • fixed timeout for bulk test
    • Merge pull request #40 from srfrnk/patch-1 Patch 1 - fixed
    • Merge pull request #47 from guumaster/master small patch for nested array schemas
    • Merge pull request #53 from gazsp/master Fixes #49
    • Fixes #49
    • small patch for nested array schemas
    • wrong value used... now should be better.
    • fixed commit
    • allow debugging the calls made by elasticsearch client. added ability to send {log:"trace"} in options to enable logging

2.0.6

December 11, 2014
  • Merge pull request #35 from jitowix/master add settings when index is created
    • add settings when index is created

2.0.5

November 21, 2014
  • Merge pull request #30 from nicolasmccurdy/mention-estruncate In documentation files, rename "truncate" to "esTruncate"
    • In documentation files, rename "truncate" to "esTruncate"

2.0.4

November 10, 2014
  • Merge pull request #27 from ignlg/feature/serialize-cast-bulk Serialize on bulk calls. Serialize: this = full model.
    • Serialize on bulk calls. Serialize: this = full model.

2.0.3

November 10, 2014
  • Merge pull request #26 from b96705008/master get rid of "continue" when encounter objectid (issue #12)
    • get rid of "continue" when encounter objectid
    • remove unstable node testing, broken for now

2.0.2

November 5, 2014
  • Treat null query like undefined

2.0.1

November 2, 2014
  • Merge pull request #23 from sascha/master 'protocol' and 'auth' options are ignored
    • 'protocol' and 'auth' options are ignored This fixes an issue, where the 'protocol' and 'auth' options were ignored.
    • Merge pull request #21 from mongoosastic/feature/official-driver Feature/official driver
    • Add changelog

2.0.0

October 30, 2014
  • updates for travis
    • longer delay for bulk test
    • significant version bump
    • formatting
    • Add gitter badge
    • Update query interface
    • refresh readme
    • don't stop bulk options with synchronize
    • refactor bulk api
    • uppercase README
    • Break out docs
    • remove elastical dependency
    • All tests passing
    • had to scale back abstraction on search
    • Close to fixing geo test
    • first pass at integrating elasticsearch driver
    • remove semicolons from mongoosastic.js

1.0.2

October 28, 2014
  • Document geo_shape

1.0.1

October 28, 2014
  • Add documentation about bulk api

1.0.0

October 28, 2014
  • big api changes, big version bump
    • Merge pull request #17 from mongoosastic/albanm/feature/bulk-and-array-indexing Albanm/feature/bulk and array indexing
    • resolve conflicts
    • use containEql instead of include
    • Merge pull request #16 from mongoosastic/remove-river-code remove river code
    • Merge pull request #14 from mongoosastic/nlko-geo_shape Nlko geo shape
    • Merge pull request #15 from mongoosastic/cubuzoa/feature/hydrate-hits Cubuzoa/feature/hydrate hits
    • remove river code
    • Update hydrated tests to conform to api
    • Get first level of hits field Provided fix for etting first level hits field of search results when used hydrate
    • Correct enveloppe test Enveloppe corners were in wrong order resulting in a bad test.
    • Add ES 1.0 support for geo shape tests
    • Added testfor geo_shape and updated manual
    • Add test for undefined object field in the path prior of its use
    • Correct boost test field (support ES 0.9 and 1.0). In my tests, the mapping format returned by the getMapping function is not the same between 0.90.11 and 1.0
    • Keep geo_* types in the mapping Prior, only geo_point were kept in the mapping.
    • Update readme.md More dynamic version info

0.6.1

October 24, 2014
  • Update badge
    • Update repo info in package.json

0.6.0

October 14, 2014
  • remove outdated river info
    • add more node versions to travis
    • Merge pull request #128 from marsanla/patch-3 Add elasticsearch client
    • Merge pull request #120 from antoineverger/master Add the esTruncate static method to remove all documents from an index
    • Add elasticsearch client Add elasticsearch client to avoid duplicate instances and call from model plugin.
    • Documentation for the truncate static method
    • Centralise the "warmup" timeout value in the config to make it easier to adjust it
    • Add the feature to pre-process a field before indexing
    • Add the esTruncate static method to remove all documents from an index
    • bump semver
    • Merge pull request #119 from antoineverger/master Add the settings to create mapping.

0.5.0

September 23, 2014
  • Add the settings to create mapping. First step to have a better configuration of the index settings.
    • update readme to reflect version

0.4.1

August 28, 2014
  • Merge pull request #116 from sascha/feature/id-in-subdocuments '_id' and/or 'id' properties in subdocuments
    • Merge pull request #115 from danteata/master fixed configuration setup example
    • '_id' and 'id' in subdocuments Added the possibility to have properties called '_id' or 'id' within subdocuments.
    • fixed configuration setup example
    • Update semver to reflect api change
    • Merge pull request #111 from astro/refresh expose index refresh

0.4.0

August 18, 2014
  • Update version, could be some breaking changes

0.3.0

August 15, 2014
  • Merge pull request #113 from aschmid/master fixed issue where object properties where ignored by serialize
    • fixed issue where object properties where ignored by serialize
    • Merge pull request #99 from xren/master Emit the error when doc.save() fails during synchronization
    • Merge pull request #100 from clippPR/master fixing this bug (hopefully) - https://github.com/jamescarr/mongoosastic/...