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
evaluatemethod to public interface.- CodeClimate badge to README.
- get operation with
operatormethod. - Custom stage operators using the
stagemethod, similar tooperatorbut for pipeline stage operators. $groupstage and accumulators.- Custom accumulator support via
accumulatormethod. defaultAccumulatorsinitialization option.$toLower,$toUpper,$ifNull,$cond,$add,$subtract,$multiply,$divideexpression operators.groupmethod to public interface.countmethod to public interface.paramKeysarray property to stage context.forEachParamKeymethod 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
$literalto be a real operator. - Operator context property
criteriachanged toexpression evaluateto support general operators.registerOpstooperator.- Operator registration no longer prepends '$' to names.
aggregatemethod topipefor an easier to type name.- Operator context property
valuetoparam - Licensing terms and details. Critr is now dedicated to the public domain. See UNLICENSE.
resetOpsfor now. Create new instance of type for a clean state.clearRegistrationfor now. Create new instance of type for a clean state.registerDefaults. Create new instance of type withdefaultsanddefaultFilterstrue.registerValueOp. Simply create your own operator with a noop handler for these instances.evaluateFieldExpression. Useevaluatefor this operation now.