GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com โ Tags ยท dschach/salesforce-trigger-framework
Tags
v2.2.2chore(main): release 2.2.2 (#409) ๐ค I have created a release *beep* *boop* --- ## [2.2.2](v2.2.1...v2.2.2) (2026-11-12) ### Documentation * **apexdoc:** Add since tags with release versions to all members ([#411](#411)) ([3a7b82c](3a7b82c)) * **site:** Add markdown copies, llms.txt, and a markdown toolbar to the site ([#407](#407)) ([628f77c](628f77c)) * **site:** Regenerate the documentation site ([#412](#412)) ([33bf6fd](33bf6fd)) ### Build System * **node:** Update Node.js from v24.22.2 to v24.22.3 ([#405](#405)) ([61ba0a2](61ba0a2)) * **prettier:** Update devDependency prettier from 3.9.10 to 3.10.0 ([#406](#406)) ([0c615b2](0c615b2)) * **site:** Add a local preview of the deployed site ([#410](#410)) ([111173f](111173f)) * **turndown:** Update devDependency turndown from 7.2.4 to 7.2.5 ([#408](#408)) ([ec79953](ec79953)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). v2.2.1chore(main): release 2.2.1 (#403) ๐ค I have created a release *beep* *boop* --- ## [2.2.1](v2.2.0...v2.2.1) (2026-11-11) ### Documentation * **readme:** Tidy the wording of the usage and sample sections ([3f5200c](3f5200c)) ### Build System * **release:** Choose whether to promote, and show the build progress ([#402](#402)) ([3f5200c](3f5200c)) ### Continuous Integration * **release:** Skip Code Analyzer on the release pull request ([#404](#404)) ([b87523d](b87523d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). v2.2.0chore(main): release 2.2.0 (#399) ๐ค I have created a release *beep* *boop* --- ## [2.2.0](v2.1.0...v2.2.0) (2026-11-11) ### Features * **package:** Release from a button with a beta package version ([#400](#400)) ([04e203a](04e203a)) ### Bug Fixes * **release:** Wait for GitHub to show the pushed commit before the merge ([#401](#401)) ([5e57e66](5e57e66)) ### Documentation * **handler:** Warn that a partial-success retry uses loop limit runs ([#398](#398)) ([8f310c2](8f310c2)) ### Build System * **package:** Create beta package versions and write their ids ([04e203a](04e203a)) * **package:** Name the unlocked package in sfdx-project.json ([04e203a](04e203a)) ### Continuous Integration * **package:** Check the package ids and promote the beta after a release ([04e203a](04e203a)) * **release:** Release from a button that merges the release pull request ([04e203a](04e203a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). v2.1.0chore(main): release 2.1.0 (#390) ๐ค I have created a release *beep* *boop* --- ## [2.1.0](v2.0.0...v2.1.0) (2026-11-11) ### Features * **handler:** Add hideAllDebug to hide the debug lines of all handlers ([#392](#392)) ([1334dc5](1334dc5)) * **handler:** Bypass all handlers for a user with a custom permission ([#394](#394)) ([2df4eaf](2df4eaf)) * **handler:** Bypass and clear a set of handler names ([1334dc5](1334dc5)) * **handler:** End hideAllDebug with showAllDebug ([1334dc5](1334dc5)) * **handler:** Read the loop count of 1 trigger operation by type ([1334dc5](1334dc5)) * **handler:** Return the handler from clearMaxLoopCount ([1334dc5](1334dc5)) ### Bug Fixes * **apexdox:** Add ids to the headings of the site pages ([e51cf9e](e51cf9e)) * **apexdox:** Link each source file from the repository root ([e51cf9e](e51cf9e)) * **site:** Add heading ids to the deployed changelog page ([e51cf9e](e51cf9e)) * **site:** Keep the headings below the sticky panel ([e51cf9e](e51cf9e)) ### Documentation * **readme:** Add diagrams of the run() flow ([#395](#395)) ([41318c5](41318c5)) * **readme:** Add what is new in version 2.0 ([2f3ceae](2f3ceae)) * **site:** Refresh the documentation site ([#397](#397)) ([e51cf9e](e51cf9e)) ### Build System * **marked:** Update devDependency marked from 18.1.2 to 18.2.0 ([#391](#391)) ([33f4b0a](33f4b0a)) ### Continuous Integration * **release:** Run Release Please only after the checks pass on main ([#393](#393)) ([3bd3b17](3bd3b17)) * **site:** Deploy the documentation site from each release tag ([#396](#396)) ([cf4dfef](cf4dfef)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). v2.0.0chore(main): release 2.0.0 (#379) ๐ค I have created a release *beep* *boop* --- ## [2.0.0](v1.5.1...v2.0.0) (2026-10-30) ### โ BREAKING CHANGES * **handler:** The test-visible no-arg constructor TriggerHandler.LoopCounter() is removed, and setTriggerContext() and validateRun() are no longer test-visible. A test that used them must build the counter with a maximum, or run the handler with setTestContext() and run(). * **handler:** The test-visible static fields TriggerHandler.loopCountMap, TriggerHandler.bypassedHandlers, and TriggerHandler.globalBypass are removed. A test that read them must use the public methods instead: getLoopCount(), bypassList(), and isGlobalBypassed(). * **handler:** TriggerHandler is now an abstract class, so new TriggerHandler() no longer compiles. Code that built the base class directly must build a class that extends it. * **handler:** The test-visible method setTriggerContext(System.TriggerOperation, Boolean) is removed. A test that called it to force a trigger context must call setTestContext(operation) on the handler instead. * **handler:** beforeInsert(), beforeUpdate(), beforeDelete(), afterInsert(), afterUpdate(), afterDelete(), afterUndelete(), and andFinally() are no longer test-visible. A test that called 1 of them through a TriggerHandler reference must run the handler with setTestContext() and run(), or call the handler's own public override. * **handler:** The test-visible fields TriggerHandler.showDebug and TriggerHandler.showLimits are renamed to TriggerHandler.doShowDebug and TriggerHandler.doShowLimits. A test that read the old names must read the new ones; no code outside tests can see these fields. * **handler:** A maximum loop count now applies to each trigger operation separately, so 1 operation no longer uses up the count of the others. A handler that called setMaxLoopCount(2) to allow 1 run of before update and after update together must call setMaxLoopCount(1). To read the count of 1 operation, call getLoopCount(String, System.TriggerOperation). * **handler:** getLoopCount() returns -1, not 0, for a handler or trigger operation with no call of setMaxLoopCount(). After a call with 0 or a negative value, the framework counts the runs but sets no limit. Code that compared the count with 0 to find a handler that is not counted must compare it with -1. * **handler:** setMaxLoopCount(0) no longer stops every run of a handler; it removes the limit. To keep a handler from running, bypass it with TriggerHandler.bypass(). * **handler:** setBypass(name, false) no longer clears the global bypass, and isBypassed() no longer returns true for a handler that only the global bypass stops. To ask whether a handler will run, call isSkipped(), and to ask about the global bypass, call isGlobalBypassed(). * **handler:** bypassAll() no longer clears the named bypasses. After bypassAll() and clearGlobalBypass(), a handler that was bypassed by name before is still bypassed. To clear every bypass, call clearAllBypasses(). * **handler:** A global bypass no longer adds the entry BypassAll to bypassList() or bypassSet(). To check whether all handlers are bypassed, call isGlobalBypassed(). A test that read TriggerHandler.BYPASS_ALL_ALIAS must stop using it. * **handler:** The constructor TriggerHandler(String handlerName) is removed. A handler that calls super('HandlerName') must call super(HandlerName.class) instead, which sets the handler name to Type.getName(). A handler that passed a name other than its class name must also change the bypass calls and getLoopCount() calls that use that name. ### Features * **handler:** Add isGlobalBypassed() and isSkipped() to check bypasses ([33c852d](33c852d)) * **handler:** Name a handler by its type with a Type constructor ([9b47bba](9b47bba)) * **handler:** Set a bypass by type with setBypass(Type, Boolean) ([33c852d](33c852d)) * **handler:** Set and read the loop limit of 1 trigger operation ([931d336](931d336)) * **handler:** Turn on debug and limits lines for 1 handler ([79d3964](79d3964)) ### Bug Fixes * **handler:** Count the loop of each trigger operation separately ([#381](#381)) ([931d336](931d336)) * **handler:** Keep the named and global bypasses independent ([#380](#380)) ([33c852d](33c852d)) * **handler:** Keep the named bypasses when all handlers are bypassed ([33c852d](33c852d)) * **handler:** Read a maximum loop count of 0 as no limit ([931d336](931d336)) * **handler:** Return -1 from getLoopCount for an operation not counted ([931d336](931d336)) * **handler:** Say that the loop limit stopped the run in its warning ([f844349](f844349)) ### Tests * **handler:** Suppress NcssCount on the large test class ([ef55c41](ef55c41)) ### Code Refactoring * **handler:** Drop the BypassAll alias from the bypass list ([33c852d](33c852d)) * **handler:** Hold the bypasses and loop counters in inner classes ([#384](#384)) ([ef55c41](ef55c41)) * **handler:** Make TriggerHandler an abstract class ([#383](#383)) ([8845dc6](8845dc6)) * **handler:** Name each handler by its type and remove the String constructor ([#378](#378)) ([9b47bba](9b47bba)) * **handler:** Remove TestVisible from the overridable methods ([8845dc6](8845dc6)) * **handler:** Remove the testMode parameter from setTriggerContext ([8845dc6](8845dc6)) * **handler:** Remove the unused LoopCounter default and test-visible members ([#385](#385)) ([0f02565](0f02565)) * **handler:** Rename the debug flags to doShowDebug and doShowLimits ([#382](#382)) ([79d3964](79d3964)) ### Documentation * **changelog:** Remove the duplicate lines of an older release ([f844349](f844349)) * **contributing:** Say that the site is updated before each release ([fecb28b](fecb28b)) * **handler:** Add since dates and fix the see links ([f844349](f844349)) * **handler:** Correct the loop count, loop limit, and andFinally docs ([f844349](f844349)) * **handler:** Deprecate bypassSet() in favor of bypassList() ([33c852d](33c852d)) * **handler:** Deprecate debug() and limits() for the show methods ([79d3964](79d3964)) * **handler:** Deprecate getLoopCount(String) for the per-operation form ([931d336](931d336)) * **handler:** Rewrite the ApexDoc and the markdown files in simplified technical English ([#386](#386)) ([fecb28b](fecb28b)) * **handler:** Say that TriggerHandler(Type) replaces the String one ([33c852d](33c852d)) * **handler:** Say when andFinally() runs and when it does not ([931d336](931d336)) * **handler:** Say why TriggerHandler suppresses EmptyStatementBlock ([0f02565](0f02565)) * **readme:** Add the upgrade steps for handlers, triggers, and tests ([fecb28b](fecb28b)) * **readme:** Fix the site links and add contributing and license ([f844349](f844349)) * **readme:** Show how to pass the handler class to super() ([9b47bba](9b47bba)) * **repo:** Correct the documentation and comments after a prose review ([#388](#388)) ([f844349](f844349)) * **repo:** Rewrite DEPLOY, the internal READMEs, and the PR template ([fecb28b](fecb28b)) * **sample:** Copy the sample trigger and handler into the sample README ([#387](#387)) ([1c7851f](1c7851f)) * **sample:** Remove the br tags from the sample code in the README ([#389](#389)) ([99cdcb4](99cdcb4)) * **sample:** Rewrite the sample ApexDoc and README ([fecb28b](fecb28b)) * **security:** Add a security policy and the issue form links ([f844349](f844349)) * **site:** Regenerate the documentation site ([99cdcb4](99cdcb4)) * **site:** Regenerate the documentation site ([f844349](f844349)) ### Build System * **hooks:** Copy the sample code into the sample README on commit ([1c7851f](1c7851f)) * **release:** Keep the version placeholder of the bug form current ([f844349](f844349)) ### Continuous Integration * **format:** Check that the sample README shows the current sample code ([1c7851f](1c7851f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). v1.5.1chore(main): release 1.5.1 (#375) ๐ค I have created a release *beep* *boop* --- ## [1.5.1](v1.5.0...v1.5.1) (2026-10-30) ### Bug Fixes * **handler:** Trim the handler name given to the String constructor ([b4b7781](b4b7781)) ### Miscellaneous Chores * **apexdox:** Build the sample page from the sample handler README ([b98f560](b98f560)) * **markdown:** Generate markdown tables of contents with doctoc ([b98f560](b98f560)) ### Code Refactoring * **handler:** Clean up TriggerHandler fields, names, and comments ([#374](#374)) ([b4b7781](b4b7781)) * **handler:** Rename the inner class LoopCount to LoopCounter ([b4b7781](b4b7781)) ### Documentation * **handler:** Drop the leading description tags from ApexDoc ([b4b7781](b4b7781)) * **handler:** Say exactly which runs the loop counter counts ([b4b7781](b4b7781)) * **site:** Refresh the documentation site and its markdown sources ([#376](#376)) ([b98f560](b98f560)) * **site:** Show the current classes, README, and changelog on the site ([b98f560](b98f560)) ### Continuous Integration * **apex-tests:** Skip the Apex tests for markdown-only changes ([#377](#377)) ([8385a72](8385a72)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). v1.5.0chore(main): release 1.5.0 (#370) ๐ค I have created a release *beep* *boop* --- ## [1.5.0](v1.4.2...v1.5.0) (2026-10-30) ### Features * **handler:** Let a test run a handler without DML ([312e121](312e121)) * **handler:** Route the framework messages through a log hook ([#372](#372)) ([312e121](312e121)) ### Code Refactoring * **handler:** Clear 4 Code Analyzer findings in TriggerHandler ([#373](#373)) ([3cc05e4](3cc05e4)) ### Continuous Integration * **apex-tests:** Run the Apex tests on pushes to main that change a class ([#368](#368)) ([e9a4ed3](e9a4ed3)) * **apex-tests:** Stop project config changes from starting a run ([e9a4ed3](e9a4ed3)) * **release-please:** Open release PRs with a token of their own ([#371](#371)) ([94e1de0](94e1de0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: David Schach <[email protected]> v1.4.2chore(main): release 1.4.2 (#364) ๐ค I have created a release *beep* *boop* --- ## [1.4.2](v1.4.1...v1.4.2) (2026-10-30) ### Tests * **handler:** Assert through the public API with correct messages ([5359db1](5359db1)) * **handler:** Cover the bypass clears and run outside a trigger ([5359db1](5359db1)) * **handler:** Prove that bypasses and the loop limit stop andFinally ([5359db1](5359db1)) * **handler:** Rewrite the TriggerHandler tests with 1 test per behavior ([#365](#365)) ([5359db1](5359db1)) * **handler:** Split the handler tests into 1 test per behavior ([5359db1](5359db1)) ### Miscellaneous Chores * **hooks:** Strip the config machine paths in the staged file ([65276b0](65276b0)) * **pmd:** Add the DevSecOps Java rules to Code Analyzer ([73b70a4](73b70a4)) * **pmd:** Add the DevSecOps Java rules to Code Analyzer ([#367](#367)) ([73b70a4](73b70a4)) * **pmd:** Regenerate code-analyzer.yml and correct the ruleset notes ([65276b0](65276b0)) * **pmd:** Turn off a rule and keep machine paths out of the config ([#369](#369)) ([65276b0](65276b0)) * **pmd:** Turn off AvoidTrivialPropertyGetters ([65276b0](65276b0)) * **sample:** Suppress FlagSystemMode where system mode is deliberate ([73b70a4](73b70a4)) * **scripts:** Write the Code Analyzer results to the sfca folder ([73b70a4](73b70a4)) ### Code Refactoring * **sample:** Rewrite the sample to show the framework in use ([149de0c](149de0c)) * **sample:** Rewrite the sample to show the framework in use ([#366](#366)) ([149de0c](149de0c)) ### Documentation * **contributing:** Explain how to mark a deliberate system mode ([73b70a4](73b70a4)) * **readme:** List all 7 contexts in every trigger example ([149de0c](149de0c)) * **readme:** Use system mode in the handler examples ([149de0c](149de0c)) * **sample:** Describe the new sample in its README and docs page ([149de0c](149de0c)) ### Continuous Integration * **apex-tests:** Delete the scratch org after a cancelled run ([0890448](0890448)) * **ci:** Give each push to main its own concurrency group ([0890448](0890448)) * **dependabot:** Run the update workflow once per pull request at a time ([0890448](0890448)) * **release-please:** Queue runs instead of running them at once ([0890448](0890448)) * **workflows:** Add concurrency groups so runs do not cancel each other ([#363](#363)) ([0890448](0890448)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> v1.4.1chore(main): release 1.4.1 (#362) ๐ค I have created a release *beep* *boop* --- ## [1.4.1](v1.4.0...v1.4.1) (2026-10-29) ### Build System * **node:** Update Node.js from v22.22.1 to v24.22.2 ([#361](#361)) ([905728c](905728c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> v1.4.0chore(main): release 1.4.0 (#348) ๐ค I have created a release *beep* *boop* --- ## [1.4.0](v1.3.0...v1.4.0) (2026-10-29) ### Features * **ci:** Add a job summary report for Code Analyzer results ([437f453](437f453)) * **handler:** Add protected accessors and correct the ApexDoc ([#349](#349)) ([d3c42d2](d3c42d2)) * **handler:** Add protected getTriggerEvent and getHandlerName ([d3c42d2](d3c42d2)) ### Bug Fixes * **handler:** Log a warning when the loop limit is exceeded ([d3c42d2](d3c42d2)) * **scripts:** Write highlight.js to doc-assets with portable sed ([032a7b9](032a7b9)) ### Miscellaneous Chores * **apexdox:** Correct 2 stale comments in the ApexDox config ([a15667e](a15667e)) * **code-analyzer:** Install Salesforce Code Analyzer config ([01b0bae](01b0bae)) * **code-analyzer:** Remove machine paths from the config on commit ([437f453](437f453)) * **codecov:** Drop the LWC flag that nothing uploads ([6bd4946](6bd4946)) * **git:** Ignore the Code Analyzer report folder ([437f453](437f453)) * **ignore:** Skip the husky hooks and the LWC config files ([7ec40cd](7ec40cd)) * **pmd:** Move the PMD rulesets to config and add Code Analyzer ([#351](#351)) ([01b0bae](01b0bae)) * **pmd:** Move the PMD rulesets under config/pmd ([01b0bae](01b0bae)) * **prettier:** Adopt the shared x2od prettier config ([#359](#359)) ([7ec40cd](7ec40cd)) * **prettier:** Correct the comment on the XML print width override ([7ec40cd](7ec40cd)) * **prettier:** Extend the shared x2od Prettier configuration ([7ec40cd](7ec40cd)) * **prettier:** Ignore only what Prettier should skip ([032a7b9](032a7b9)) * **project:** Clean up the tooling scripts, ignore files, and READMEs ([#353](#353)) ([032a7b9](032a7b9)) * **project:** Remove template leftovers from the ignore files ([032a7b9](032a7b9)) * **release:** Drop the 2 pre-major release-please flags ([6bd4946](6bd4946)) * **vscode:** Recommend better-comments-next instead of better-comments ([d3c42d2](d3c42d2)) ### Code Refactoring * **ci:** Read Code Analyzer results from JSON, not SARIF ([437f453](437f453)) * **handler:** Simplify setBypass to 4 statements ([d3c42d2](d3c42d2)) ### Styles * **docs:** Reformat the documentation assets to the shared style ([7ec40cd](7ec40cd)) * **pmd:** Rewrap the PMD rulesets at 80 characters ([7ec40cd](7ec40cd)) * **prettier:** Reformat the config and scripts to the shared style ([7ec40cd](7ec40cd)) ### Documentation * **actions:** Show the Code Analyzer CLI in the action examples ([032a7b9](032a7b9)) * **ApexDoc:** Add throws tags to TriggerHandler headers ([01b0bae](01b0bae)) * **changelog:** Link the first release to its release page ([a15667e](a15667e)) * **contributing:** Add a contributing guide for this repository ([a15667e](a15667e)) * **deploy:** Correct the scratch org instructions ([a15667e](a15667e)) * **github:** Add a pull request template ([a15667e](a15667e)) * **github:** Add the code of conduct to this repository ([f1ff40b](f1ff40b)) * **github:** Replace the issue templates with framework issue forms ([a15667e](a15667e)) * **handler:** Correct the ApexDoc statements and examples ([d3c42d2](d3c42d2)) * **handler:** Say when andFinally does not run ([d3c42d2](d3c42d2)) * **license:** Keep the BSD text alone and credit the original in NOTICE ([a15667e](a15667e)) * **project:** Add community files and fix the license and deploy docs ([#355](#355)) ([a15667e](a15667e)) * **readme:** Add an API reference and fix the documentation links ([032a7b9](032a7b9)) * **readme:** Correct the bypass, loop count, and handler examples ([032a7b9](032a7b9)) * **sample:** Move the sample README and describe the sample ([032a7b9](032a7b9)) ### Build System * **@x2od/prettier-config:** Update devDependency @x2od/prettier-config from 0.6.1 to 0.7.0 ([#360](#360)) ([a4585f7](a4585f7)) * **node:** Update Node.js from v22.22.1 to v24.22.2 ([#356](#356)) ([f522648](f522648)) * **npm:** Call lint-staged from the hook and prune gone branches ([032a7b9](032a7b9)) * **npm:** Get the Prettier plugins through the shared x2od config ([7ec40cd](7ec40cd)) * **npm:** Remove the local Apex Prettier server scripts ([7ec40cd](7ec40cd)) * **npm:** Run the Prettier scripts on the whole tree ([032a7b9](032a7b9)) ### Continuous Integration * **actions/setup-java:** Update actions/setup-java action from v5 to v6 ([#357](#357)) ([34c1596](34c1596)) * **apex-tests:** Fetch 2 commits and give Codecov the pull request base ([d3c42d2](d3c42d2)) * **apex-tests:** Pass the Dev Hub secret through stdin ([6bd4946](6bd4946)) * **apex-tests:** Put the stdin flag last so the alias is kept ([6bd4946](6bd4946)) * **code-analyzer:** Report Code Analyzer results from JSON ([#352](#352)) ([437f453](437f453)) * **codecov:** Troubleshoot Codecov base commit error ([#350](#350)) ([d0f4621](d0f4621)) * **java-jdk:** Update dependency java-jdk from v21 to v25 ([#358](#358)) ([83abc66](83abc66)) * **workflows:** Give the workflow tokens read-only permissions ([6bd4946](6bd4946)) * **workflows:** Harden the CI workflows and run the checks for every author ([#347](#347)) ([6bd4946](6bd4946)) * **workflows:** Run the Code Analyzer CLI and write results to sfca ([437f453](437f453)) * **workflows:** Run the formatting and PMD checks for every author ([6bd4946](6bd4946)) * **workflows:** Split the Apex tests from CI and drop the residue ([6bd4946](6bd4946)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> PreviousNext
|
| You are visitor 01402775 โ GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร600. No cookies required. |