- Fix how observers are created.
- Make code asynchronous.
- Allow pipeline parameter to be a function returning the pipeline. The pipeline will then be generated anew on each update triggered by observer changes.
- Fixes (regression) error when documents are removed from collection
- Fixes error when removing non-existing documents from collection
- Support for multiple ReactiveAggregates per subscription
- Ref #76
- Fixes a regression issue.
- Fixed errors being thrown when unsetting if documents do not exist as well as when using NO_MERGE publications strategy with client-only collection
- Ref: #61
- Cleanup the debounce timer when the subscription is stopped. This fixes error "Cannot read property 'documents' of undefined" reported here and here
- Fixed issues:
- Fixed issue Aggregation with $lookup by using localOptions instead of options
- Fixed issue with
_CircDepPreventionSimpleSchema
being undefined Moved _CircDepPreventionSimpleSchema out of scope
- Added options.specificWarnings
- Added options.loadObjectIdModules
- Fixing unset issue due to Meteor updating clientCollection to be Map instead of Object
- Ref: DDP Package Changes
- Remediation release for v1.3.5 bug.
- Adds some more debug output when using
options.debug: true
.
- The internal observer initialisation is now done asynchronously.
⚠️ Do not use this version. It has a serious performance bug when a publication is stopped and restarted. Upgrade to v1.3.6 or downgrade to v1.3.4.
- Allow capturing of pipeline output with new
options.pipelineCapture
parameter.
- Allow opt-out of dependency warnings with new
options.warnings
parameter.
- Display dependency warnings only once.
- Addresses v1.3.0 issue #37 arising from circular require/import dependencies in user code. PR from @RealHandy.
- Adds support for Mongo.ObjectId ids (previously supported string ids). PR from @RealHandy.
- Changes the way updates to docs with removed fields are handled. Kudos to @CyberCyclone.
- This version should not (cannot) be used. The
meteor publish
hung and never completed, leaving this version in an unclean state.
- Fixes an issue which delays the marking as
ready
of the publication. - Adds a new option:
debug
, which provides basic console logging of the main stages and an initial insight into MongoDB'sexplain
for the aggregation.
- Fixes an issue in which MongoDb
ObjectId
s in the pipeline are apparently mutated into POJOs followingtoArray()
. That mutation breaks minimongo. The fix applied in the release is to check each document's primary_id
type and cast the result to a string, if necessary (and possible). All minimongo client document_id
s are then of typeString
. Exceptions will be thrown for documents emitted from the pipeline with no_id
field, or having an_id
field not of typeString
,Object
orObjectId
. - Adds History.md (this file) for visibility of changes over time.
- Deprecates
observeSelector
andobserveOptions
. - Adds more error checking.
- Adds new options for:
observers
- a list of observers across 0-n collections.noAutomaticObserver
- allows the disabling of the addition of an automatic observer on the primary collection.debounceCount
anddebounceDelay
- throttling controls for very active aggregation re-runs.
- Fix for aggregation cursor not returning a Promise.
- Changes to README.md.
- Changes to README.md.
- Add some error handling.
- Initial release:
- Removes dependency on
meteorhacks:reactive-aggregate
. - Refactored for Promises and ES6/7 syntax.
- Removes dependency on