All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- This CHANGELOG file to hopefully capture any change notes
evaluate
method to public interface.- CodeClimate badge to README.
- get operation with
operator
method. - Custom stage operators using the
stage
method, similar tooperator
but for pipeline stage operators. $group
stage and accumulators.- Custom accumulator support via
accumulator
method. defaultAccumulators
initialization option.$toLower
,$toUpper
,$ifNull
,$cond
,$add
,$subtract
,$multiply
,$divide
expression operators.group
method to public interface.count
method to public interface.paramKeys
array property to stage context.forEachParamKey
method to stage context.- Build status shield to README
- Code coverage status shield to README
- The public interface into a type accessible via
<instance>.Critr
- Term filter to stage keeping closer to MongoDB's terminology.
- Operator
$literal
to be a real operator. - Operator context property
criteria
changed toexpression
evaluate
to support general operators.registerOps
tooperator
.- Operator registration no longer prepends '$' to names.
aggregate
method topipe
for an easier to type name.- Operator context property
value
toparam
- Licensing terms and details. Critr is now dedicated to the public domain. See UNLICENSE.
resetOps
for now. Create new instance of type for a clean state.clearRegistration
for now. Create new instance of type for a clean state.registerDefaults
. Create new instance of type withdefaults
anddefaultFilters
true.registerValueOp
. Simply create your own operator with a noop handler for these instances.evaluateFieldExpression
. Useevaluate
for this operation now.