Skip to content

chore: Bump NCalcSync from 5.4.1 to 6.1.1#764

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/NBi.Core/NCalcSync-6.1.1
Open

chore: Bump NCalcSync from 5.4.1 to 6.1.1#764
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/NBi.Core/NCalcSync-6.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown
Contributor

Updated NCalcSync from 5.4.1 to 6.1.1.

Release notes

Sourced from NCalcSync's releases.

6.1.1

What's Changed

Especial thanks to @​pawlos for reporting the issue with great details.

Full Changelog: ncalc/ncalc@v6.1.0...v6.1.1

6.1.0

What's Changed

Full Changelog: ncalc/ncalc@v6.0.0...v6.1.0

6.0.0

Breaking Changes

  • Public domain types moved out of the NCalc.Domain namespace and into NCalc. For example, use NCalc.LogicalExpression, NCalc.BinaryExpression, NCalc.Function, and NCalc.ValueExpression instead of NCalc.Domain.*.
  • Parser types now live in the new NCalc.Parser assembly. Projects that use parser APIs directly must reference NCalc.Parser and NCalc.Domain in addition to NCalc.Core when those assemblies are not brought in transitively.
  • ArgumentSeparator was renamed to LogicalExpressionArgumentSeparator. LogicalExpressionParserOptions no longer exposes Default, WithCultureInfo, WithArgumentSeparator, Create, or the implicit CultureInfo conversion; use object initialization or the new constructors instead.
  • Sync and async evaluation were unified in NCalc.Core. AsyncExpression, AsyncExpressionContext, IAsyncExpressionFactory, AsyncExpressionFactory, IAsyncEvaluationVisitorFactory, AsyncEvaluationVisitorFactory, and AsyncEvaluationVisitor were removed; use Expression, ExpressionContext, IExpressionFactory, IEvaluationVisitorFactory, and Expression.EvaluateAsync instead.
  • Async DI customization methods were removed from NCalcServiceBuilder: use WithExpressionFactory and WithEvaluationVisitorFactory instead of WithAsyncExpressionFactory and WithAsyncEvaluationVisitorFactory.
  • Function and parameter callback delegates and argument types now use unified types in NCalc.Handlers. FunctionArgs, ParameterArgs, ExpressionFunctionData, ExpressionParameterData, AsyncFunctionArgs, AsyncParameterArgs, AsyncExpressionFunctionData, and AsyncExpressionParameterData were replaced by FunctionEventArgs, ParameterEventArgs, FunctionData, and ParameterData.
  • Function callback arguments no longer expose arrays of nested Expression or AsyncExpression instances. FunctionData exposes LogicalExpression arguments and provides Evaluate(index) / EvaluateAsync(index) helpers for evaluating them with the current ExpressionContext.
  • AsyncExpressionFunction now returns Task<object?> and receives FunctionData. AsyncExpressionParameter was removed; dynamic parameters now use ExpressionParameter.
  • ExpressionBase<TExpressionContext> and ExpressionContextBase were removed. Custom expression types should derive from or compose Expression and use ExpressionContext.
  • LogicalExpression.ToString() no longer serializes the expression tree. Use ToExpressionString() from NCalc.Extensions when an expression string representation is required.
  • Public CancellationToken parameter names were renamed from ct to cancellationToken. Calls that use named arguments must be updated.
  • Evaluation failures may now be wrapped in NCalcEvaluationException; inspect InnerException for the original exception.

5.13.0

What's Changed

New Contributors

Full Changelog: ncalc/ncalc@v5.12.0...v5.13.0

5.12.0

What's Changed

New Contributors

Full Changelog: ncalc/ncalc@v5.11.0...v5.12.0

5.11.0

What's Changed

Full Changelog: ncalc/ncalc@v5.9.0...v5.11.0

5.10.0

What's Changed

Full Changelog: ncalc/ncalc@v5.9.0...v5.10.0

Upd. This was a wrong release, it doesn't contains any changes since 5.9.0 due to wrong publishing. Please, use v5.11.0 instead

5.9.0

What's Changed

Full Changelog: ncalc/ncalc@v5.8.0...v5.9.0

5.8.0

What's Changed

Breaking changes

This change can cause upcasting types in some cases. Also after theese changes an operator overload can be used for any types. For example, subtracting 2 dates will return a TimeSpan value, in previous versions the InvalidOperationException was thrown.

New Contributors

Full Changelog: ncalc/ncalc@v5.7.0...v5.8.0

Many thanks for reviewing the PRs to @​emayevski, @​sebastienros, @​gumbarros

5.7.0

What's Changed

New Contributors

Full Changelog: ncalc/ncalc@v5.6.0...v5.7.0

5.6.0

5.6.0

Breaking Changes

5.5.0

What's Changed

[Breaking changes]:

  • The number with fractional part with scientific notation without specifying fractional part is not valid anymore (123.E2 is not a valid expression anymore, should be 123.0E2)

Full Changelog: ncalc/ncalc@v5.4.2...v5.5.0

5.4.2

What's Changed

Full Changelog: ncalc/ncalc@v5.4.1...v5.4.2

Commits viewable in compare view.

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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

---
updated-dependencies:
- dependency-name: NCalcSync
  dependency-version: 6.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants