Skip to content

Latest commit

 

History

History
541 lines (438 loc) · 23.2 KB

CHANGELOG.md

File metadata and controls

541 lines (438 loc) · 23.2 KB

4.3.0 2017-02-21

4.2.4 2017-01-06

  • 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 2016-12-22

  • 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 2016-11-20

  • update dependencies (#246)
  • eslint updated (#245)
    • eslint updated
    • dependencies updated & added strict mode

4.1.0 2016-11-17

  • 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 [email protected]" 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

  • 📝 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 2016-02-14

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

4.0.0 / 2016-02-13

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

3.6.1 / 2016-01-30

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

3.6.0 / 2015-11-15

  • 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 / 2015-11-12

  • 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.6.0 / 2015-11-15 ==================

  • 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 / 2015-11-12

  • 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 / 2015-11-07

  • 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 / 2015-09-27

  • 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 / 2015-09-13

  • 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 / 2015-09-07

  • 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 / 2015-07-19

  • 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 / 2015-07-19

  • improves synchronize high memory usage #84

3.1.2 / 2015-05-25

  • added complex sorting object to search() options parameters #79
  • devDependecies updated

3.1.1 / 2015-05-25

  • fixed index creation #75
  • added index filtering documentation #72

3.1.0 / 2015-05-01

  • added esCount feature #58
  • fixed esTruncate #69
  • added filtering index logic #67

3.0.0 / 2015-03-29

  • mongoose and elasticsearch version bump

2.1.3 / 2015-03-29

  • added doc parameter on mongoose hooks

2.1.1 / 2015-03-28

  • added gulp, jshint and jscs
  • example fixed and dependencies updated

2.1.0 / 2015-03-21

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

2.0.10 / 2015-03-19

  • updated elasticsearch dependency. changed bulk config
  • Dependecies updated

2.0.9 / 2015-03-19

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

2.0.8 / 2015-03-17

  • 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 / 2014-12-11

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

2.0.5 / 2014-11-21

  • 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 / 2014-11-10

  • 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 / 2014-11-10

  • 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 / 2014-11-05

  • Treat null query like undefined

2.0.1 / 2014-11-02

  • 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 / 2014-10-30

  • 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 / 2014-10-28

  • Document geo_shape

1.0.1 / 2014-10-28

  • Add documentation about bulk api

1.0.0 / 2014-10-28

  • 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 / 2014-10-24

  • Update badge
  • Update repo info in package.json

0.6.0 / 2014-10-14

  • 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 / 2014-09-23

  • 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 / 2014-08-28

  • 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 / 2014-08-18

  • Update version, could be some breaking changes

0.3.0 / 2014-08-15

  • 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/...