Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump json-rules-engine from 5.3.0 to 7.2.1 #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 1, 2024

Bumps json-rules-engine from 5.3.0 to 7.2.1.

Release notes

Sourced from json-rules-engine's releases.

v6.5.0

What's Changed

A custom Almanac implementation can now be passed to the Engine.run method. This Almanac will be used in place of the default one. This allows for extensions to looking up Fact Values, or other caching behavior.

Support Facts in Events

Events can now include references to facts in their parameters. If the replaceFactsInEventParams flag is set to true on the engine options then the references to fact values will be replaced with the resolved values when the facts are emitted.

6.3.0

Release Notes

6.2.0

Release Notes

Dependencies

  • jsonpath-plus has been upgraded from ^5.0.7 -> ^7.0.0
  • hash-it has been upgraded from ^5.0.0 -> ^6.0.0

Doc Fixes

Changelog

Sourced from json-rules-engine's changelog.

6.1.0 / 2021-06-03

  • engine.removeRule() now supports removing rules by name
  • Added engine.updateRule(rule)

6.0.1 / 2021-03-09

  • Updates Typescript types to include failureEvents in EngineResult.

6.0.0 / 2020-12-22

  • BREAKING CHANGES
    • To continue using selectn syntax for condition paths, use the new pathResolver feature. Read more here. Add the following to the engine constructor:
      const pathResolver = (object, path) => {
        return selectn(path)(object)
      }
      const engine = new Engine(rules, { pathResolver })
      (fixes #205)
    • Engine and Rule events on('success'), on('failure'), and Rule callbacks onSuccess and onFailure now honor returned promises; any event handler that returns a promise will be waited upon to resolve before engine execution continues. (fixes #235)
    • Private rule.event property renamed. Use rule.getEvent() to avoid breaking changes in the future.
    • The success-events fact used to store successful events has been converted to an internal data structure and will no longer appear in the almanac's facts. (fixes #187)
  • NEW FEATURES
    • Engine constructor now accepts a pathResolver option for resolving condition path properties. Read more here. (fixes #210)
    • Engine.run() now returns three additional data structures:
      • failureEvents, an array of all failed rules events. (fixes #192)
      • results, an array of RuleResults for each successful rule (fixes #216)
      • failureResults, an array of RuleResults for each failed rule
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [json-rules-engine](https://github.com/cachecontrol/json-rules-engine) from 5.3.0 to 7.2.1.
- [Release notes](https://github.com/cachecontrol/json-rules-engine/releases)
- [Changelog](https://github.com/CacheControl/json-rules-engine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cachecontrol/json-rules-engine/commits)

---
updated-dependencies:
- dependency-name: json-rules-engine
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Author

dependabot bot commented on behalf of github Dec 1, 2024

The following labels could not be found: dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants