Skip to content

Bump NCalcSync from 3.8.0 to 6.1.1#2823

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/Framework/Intersect.Framework.Core/NCalcSync-6.1.1
Closed

Bump NCalcSync from 3.8.0 to 6.1.1#2823
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/Framework/Intersect.Framework.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 3.8.0 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

5.4.1

What's Changed

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

5.4.0

What's Changed

Breaking Changes

  • Removed IEvaluationService, please use IEvaluationVisitorFactory. Check this article for more info.

New Contributors

Full Changelog: ncalc/ncalc@v5.3.1...v5.4.0

5.3.1

What's Changed

New Contributors

Full Changelog: ncalc/ncalc@v5.3.0...v5.3.1

5.3.0

What's Changed

Full Changelog: ncalc/ncalc@v5.2.11...v5.3.0

5.2.11

What's Changed

Full Changelog: ncalc/ncalc@v5.2.10...v5.2.11

5.2.10

What's Changed

New Contributors

Full Changelog: ncalc/ncalc@v5.2.9...v5.2.10

5.2.9

What's Changed

Full Changelog: ncalc/ncalc@v5.2.8...v5.2.9

5.2.8

What's Changed

Full Changelog: ncalc/ncalc@v5.2.7...v5.2.8

5.2.7

What's Changed

Full Changelog: ncalc/ncalc@v5.2.6...v5.2.7

5.2.6

What's Changed

Full Changelog: ncalc/ncalc@v5.2.5...v5.2.6

5.2.5

What's Changed

Full Changelog: ncalc/ncalc@v5.2.4...v5.2.5

5.2.4

What's Changed

New Contributors

Full Changelog: ncalc/ncalc@v5.2.3...v5.2.4

5.2.3

What's Changed

Full Changelog: ncalc/ncalc@v5.2.2...v5.2.3

5.2.2

What's Changed

Full Changelog: ncalc/ncalc@5.2.1...v5.2.2

5.2.1

What's Changed

Full Changelog: ncalc/ncalc@v5.2.0...5.2.1

5.2.0

What's Changed

Full Changelog: ncalc/ncalc@v5.1.0...v5.2.0

5.1.0

What's Changed

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

5.0.0

Full Changelog: ncalc/ncalc@v4.3.3...v5.0.0

Good morning! At this major release functions and parameters are refactored for a more cleaner public API. The v4 examples are still supported.

Functions:

v4:

expression.EvaluateFunction += delegate(string name, FunctionArgs args)
    {
        if (name == "SecretOperation")
            args.Result = (int)args.Parameters[0].Evaluate() + (int)args.Parameters[1].Evaluate();
    };

v5:

expression.Functions["SecretOperation"] = (args) => {
    return (int)args[0].Evaluate() + (int)args[1].Evaluate();
};

Dynamic Parameters:

v4:

expression.EvaluateParameter += delegate(string name, ParameterArgs args)
  {
    if (name == "Pi")
        args.Result = 3.14;
  };

v5:

expression.DynamicParameters["Pi"] = (_) => {
    Console.WriteLine("I'm evaluating π!");
    return 3.14;
};

What's Changed

4.3.3

What's Changed

Full Changelog: ncalc/ncalc@v4.3.2...v4.3.3

4.3.2

What's Changed

New Contributors

Full Changelog: ncalc/ncalc@v4.3.1...v4.3.2

4.3.1

What's Changed

Full Changelog: ncalc/ncalc@v4.3.0...v4.3.1

4.3.0

Welcome NCalc.Async!

NCalc.Async is now part of this repository to re-use logic without code duplication. Any parser fix or improvement will automatically apply to NCalc.Async 🎊. The old repo is now archived.

What's Changed

Full Changelog: ncalc/ncalc@v4.2.1...v4.3.0

4.2.1

What's Changed

Full Changelog: ncalc/ncalc@v4.2.0...v4.2.1

4.2.0

What's Changed

Especial Thanks

Thanks for @​sklose for the original LambdaExpressionVisitor implementation at https://www.github.com/sklose/NCalc2

Full Changelog: ncalc/ncalc@v4.1.0...v4.2.0

4.1.0

What's Changed

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

Nuget packages

https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed
https://nuget.org/packages/NCalc.DependencyInjection
https://nuget.org/packages/NCalc.MemoryCache
https://nuget.org/packages/NCalc.Antlr

4.0.0

What's new

Breaking Changes

  • .NET Framework 4.6.1 is no longer supported, please update to .NET Framework 4.6.2 or higher
  • Renamed EvaluateOptions enum to ExpressionOptions
  • Renamed EvaluateOptionsExtensions class to ExpressionOptionsExtensions
  • Renamed Expression.OriginalExpression property to Expression.ExpressionString
  • Renamed Expression.ParsedExpression property to Expression.LogicalExpression
  • Renamed Numbers static class to MathHelper
  • Removed Expression.Compile static method, please use LogicalExpressionFactory.Create
  • Removed unused BinaryExpressionType.Unknown enum value
  • Expression.Error property now stores an Exception object instead of a string
  • Expression.GetParametersNames method now returns a List<String> instead of a string[]

Credits

  • @​Bykiev
  • @​gumbarros
  • @​sebastienros

Nuget packages

https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed

3.13.1

What's new

Credits

  • @​gumbarros

Nuget packages

https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed

3.13.0

What's new

Credits

  • @​gumbarros
  • @​axunonb

Nuget packages

https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed

3.12.0

What's new:

Credits

  • @​gumbarros
  • @​lucaschimweg
  • @​axunonb

Nuget packages

https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed

3.11.0

What's new:

Credits

  • @​gumbarros
  • @​rodion-m
  • @​hhuang2013

Nuget package

https://nuget.org/packages/NCalcSync

3.10.0

What's new:

Credits

  • @​gumbarros
  • @​thetreatment
  • @​baughj

Thanks to

  • @​Jones-Abramoff

Nuget package

https://nuget.org/packages/NCalcSync

3.9.0

What's new:

Credits

  • @​gumbarros

Nuget package

https://nuget.org/packages/NCalcSync

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>
@dependabot dependabot Bot added .NET Issues or pull requests that involve a .NET version change dependencies Bugs that have to be fixed in a dependency, or a pull requests that update a dependency labels Jun 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/nuget/Framework/Intersect.Framework.Core/NCalcSync-6.1.1 branch June 28, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Bugs that have to be fixed in a dependency, or a pull requests that update a dependency .NET Issues or pull requests that involve a .NET version change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant