Skip to content

Tags: billv5w/apex-rollup

Tags

v1.2.43

Toggle v1.2.43's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
V1.2.43 - Multi-currency rollup support & bugfixes (jamessimone#161)

* Added unit test + config + data to demo that multi-currency isn't currently handled
* Added a rollup-summary field as another way to validate if apex-rollup's logic matches OOTB declarative functionality
* Added fields + failing tests for MIN and MAX
* Worked with @jongpie to finish implementing true multi-currency rollup support. Still todo - checking first/last/average calculations, but everything appears to be working
* Fixed tests that failed due to new multi-currency support
* Added multi-currency tests for AVERAGE, FIRST and LAST
* Added support for FIRST and LAST using multi-currency fields
* A few tweaks here and there after code review, but mostly just adding in some tests that inadvertently got deleted while we were rebasing
* Fixed casing on multicurrency IsTest decorators
* Fixes jamessimone#158 by properly referring to FlowBulkProcessor default properties
* Potential fix for jamessimone#155 and additional logging
* Fixes an issue found while investigating jamessimone#159 - hierarchy full recalc rollups need to reswim down other hierarchies to ensure all children records are correctly retrieved
* Refactored multi-currency tests to be compatible with non-multi-currency sandboxes, too
* Fixes jamessimone#159 by correctly assigning the relationship name for intermediate parents when a hierarchy rollup is not used in conjunction with the grandparent relationship field path
* Fixed an issue with RollupEvaluator where some text-based replaces were a little too eager
* Fixes jamessimone#155 & jamessimone#160 by tracking which parent-level fields have already been reset during full recalculation runs
* Adding in a few more safety precautions when it comes to multi-currency calculations - revised Readme with explicit extent of support (up to but not including support for DatedConverstionRate-based multi-currency orgs)
* Removed some ugly (and unnecessary) casting

Co-authored-by: Jonathan Gillespie <[email protected]>

v1.2.42

Toggle v1.2.42's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
V1.2.42 - Full Recalc Bulkification Finished, NOT LIKE full support, …

…bugfixes (jamessimone#154)

* Cached rollup logging check for current logging level, which was accidentally being called every time a log message was attempted - a more expensive operation than anticipated
* Updating RollupControl__mdt.MaxLookupRowsBeforeBatching__c description and help text to properly reflect the default of 3000
* Initial commit with boxcarred and deferred full recalc rollups for non-batch implementation. Introduced RollupAsyncProcessor.FullRecalcProcessor to facilitate between the now-two implementations of full recalc processors
* Lowered max number of retries (from 100 to 20) for deferred rollups to prevent endless job spawning
* Updated IsTest casing - still breaking this habit
* Finished bulkification for full recalcs by introducing methods to ensure RollupFullBatchRecalculator runs even if it is stored as an inner rollup
* Fixing an issue with COUNT_DISTINCT reported by @Silchuki14
* Implemented feedback from @jongpie on updates to COUNT_DISTINCT calculator
* Fixing several other COUNT_DISTINCT bugs
* Fixing issue reported by Katherine West with wacky merge detection
* Included additional where clause instructions in Invocable Action section of README, as well
* Breaking ground on adding proper query support for NOT LIKE where clauses
* Adding proper support for NOT LIKE
* Updating transform method name for clarity, applied formatting
* Making reparent deletion detection on full recalc route safer
* Stellar code review feedback from @jongpie yielded some additional test class clarity - adding comments where necessary, improved the overall quality of RollupQueryBuilderTests, fixed an additional issue with COUNT_DISTINCT where nulls could be counted inadvertently, and swept up some commented out code.

v1.2.41

Toggle v1.2.41's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
V1.2.41 - Massive Flow Improvements (jamessimone#153)

* Properly bulkified and added test coverage for full recalculation and standard rollup actions through Invocable code path(s)
* Added action to Rollup_Integration_Multiple_Deferred_Case_Rollups flow for REFRESH end-to-end test
* Incorporating code review feedback from @jongpie - removed unncessary boolean in 'matches' evaluation for RollupEvaluator, made RollupQueryBuilder's 'adjustWhereClauseForPolymorphicFields' safer by checking whether or not an object's OwnerId field is polymorphic to begin with. Updated test method name in RollupCalculatorTests to accurately reflect the problem statement of unfilterable fields
* Fixed bug in RollupRelationshipFieldFinder brought on by the research put into reconstituting where clauses with nested conditionals while bulkifying the Invocable full recalc code path
* Bumping package version from Github Action

v1.2.40

Toggle v1.2.40's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
v1.2.40 - Annotation updates & Requeue bugfix (jamessimone#151)

* changing testVisible to TestVisible, and isTest to IsTest - moved toString def to Rollup.cls. Moved all test classes to extra-tests/ directory
* Bumping package version

v1.2.39

Toggle v1.2.39's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
V1.2.39 - Rollup Logger Plugin Enhancements (jamessimone#150)

* Reworking logging plugins to allow for better modularization - all of this to better allow for consumers to opt in/out of granular log statements by stipulating a LoggingLevel to use

* Added in additional logging areas

* Added sync override for invocables, preamble to adding failing test in extra-tests/classes/InvocableDrivenTests.cls for jamessimone#149

* code review feedback from @jongpie

v1.2.38

Toggle v1.2.38's commit message

Verified

This commit was signed with the committer’s verified signature.
jamessimone James Simone
Finishing touches on jamessimone#148 to get build back to green

v1.2.37

Toggle v1.2.37's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
V1.2.37 - Added reparenting calculation to REFRESH (jamessimone#145)

* Initial commit with failing test for jamessimone#144

* Fixes jamessimone#144 by adding reparenting recalc operation to new REFRESH context for flow invocables

v1.2.36

Toggle v1.2.36's commit message

Unverified

This user has not yet uploaded their public signing key.
Added Calc Item Where Clause fields properly to full recalc rollups i…

…nvoked through Flow. Bumped package version and re-made Custom Logger package

v1.2.35

Toggle v1.2.35's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
V1.2.35 - Rollup Logging Plugins (jamessimone#142)

* Adding code coverage for new fields on RollupFlowBulkProcessor
* Start of fix for jamessimone#68 by adding custom rollup logger plugin and adapter plugin to allow rollup logging to Nebula Logger with help from @jongpie
* Code review cleanup for jamessimone#68 following @jongpie comments - only thing left to do is regenerate the CustomObjectRollup logger and Rollup packages
* Fixes jamessimone#141 by adding REFRESH context to invocable actions to allow for full recalcs to be performed
* Fixing UTC testing datetime issue when packaging after UTC midnight
* Fixed full recalc bug when different parent objects are present - updated ALL packages

v1.2.34

Toggle v1.2.34's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
V1.2.34 - Additional Rollup Logging & CMDT Invocable updates (jamessi…

…mone#140)

* Documentation update for Parent Record Recalc Button

* Updating build script and sfdx-project.json with @jongpie approach for including extra-tests in non-packaged directory

* v1.2.34 - added additional rollup logging for deferred rollups, supplemented CMDT invocable action with additional optional properties