Bump NCalcSync from 3.8.0 to 6.1.1#2823
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Conversation
--- updated-dependencies: - dependency-name: NCalcSync dependency-version: 6.1.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
EvaluationVisitorremovingLazyto optimize binary expression handling. by @gumbarros in RefactorEvaluationVisitorremovingLazyto optimize binary expression handling. ncalc/ncalc#561Expressionand better handle null parameter. by @gumbarros in Refactor function and parameter events to not depend onExpressionand better handle null parameter. ncalc/ncalc#562NCalcEvaluationExceptionby @gumbarros in Wrap evaluation exceptions atNCalcEvaluationExceptionncalc/ncalc#565ExpressionContext.cs. by @gumbarros in Add new constructors overloads toExpressionContext.cs. ncalc/ncalc#566ToExpressionStringandParameterSubstitutionVisitorby @gumbarros in AddedToExpressionStringandParameterSubstitutionVisitorncalc/ncalc#567CancellationTokenparameters from ct to cancellationToken to align with Microsoft naming conventions. by @gumbarros in RenameCancellationTokenparameters from ct to cancellationToken to align with Microsoft naming conventions. ncalc/ncalc#568Breaking Changes
NCalc.Domainnamespace and intoNCalc. For example, useNCalc.LogicalExpression,NCalc.BinaryExpression,NCalc.Function, andNCalc.ValueExpressioninstead ofNCalc.Domain.*.NCalc.Parserassembly. Projects that use parser APIs directly must referenceNCalc.ParserandNCalc.Domainin addition toNCalc.Corewhen those assemblies are not brought in transitively.ArgumentSeparatorwas renamed toLogicalExpressionArgumentSeparator.LogicalExpressionParserOptionsno longer exposesDefault,WithCultureInfo,WithArgumentSeparator,Create, or the implicitCultureInfoconversion; use object initialization or the new constructors instead.NCalc.Core.AsyncExpression,AsyncExpressionContext,IAsyncExpressionFactory,AsyncExpressionFactory,IAsyncEvaluationVisitorFactory,AsyncEvaluationVisitorFactory, andAsyncEvaluationVisitorwere removed; useExpression,ExpressionContext,IExpressionFactory,IEvaluationVisitorFactory, andExpression.EvaluateAsyncinstead.NCalcServiceBuilder: useWithExpressionFactoryandWithEvaluationVisitorFactoryinstead ofWithAsyncExpressionFactoryandWithAsyncEvaluationVisitorFactory.NCalc.Handlers.FunctionArgs,ParameterArgs,ExpressionFunctionData,ExpressionParameterData,AsyncFunctionArgs,AsyncParameterArgs,AsyncExpressionFunctionData, andAsyncExpressionParameterDatawere replaced byFunctionEventArgs,ParameterEventArgs,FunctionData, andParameterData.ExpressionorAsyncExpressioninstances.FunctionDataexposesLogicalExpressionarguments and providesEvaluate(index)/EvaluateAsync(index)helpers for evaluating them with the currentExpressionContext.AsyncExpressionFunctionnow returnsTask<object?>and receivesFunctionData.AsyncExpressionParameterwas removed; dynamic parameters now useExpressionParameter.ExpressionBase<TExpressionContext>andExpressionContextBasewere removed. Custom expression types should derive from or composeExpressionand useExpressionContext.LogicalExpression.ToString()no longer serializes the expression tree. UseToExpressionString()fromNCalc.Extensionswhen an expression string representation is required.CancellationTokenparameter names were renamed fromcttocancellationToken. Calls that use named arguments must be updated.NCalcEvaluationException; inspectInnerExceptionfor the original exception.5.13.0
What's Changed
NullLoggerFactoryas default logger by @gumbarros in Breaking change: Switch toNullLoggerFactoryas default logger ncalc/ncalc#554New Contributors
Full Changelog: ncalc/ncalc@v5.12.0...v5.13.0
5.12.0
What's Changed
Assert.Expressionextension to unit tests by @gumbarros in AddedAssert.Expressionextension to unit tests ncalc/ncalc#544New 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
NCalc.slnto new.slnxformat. by @gumbarros in ConvertNCalc.slnto new.slnxformat. ncalc/ncalc#501HasNullOrTypeConflictby @gumbarros in Refactor null and type checks intoHasNullOrTypeConflictncalc/ncalc#500EvaluationHelperto support generic type context by @gumbarros in RefactorEvaluationHelperto support generic type context ncalc/ncalc#512Full Changelog: ncalc/ncalc@v5.8.0...v5.9.0
5.8.0
What's Changed
architecture.mdby @axunonb in docs: Fix broken link inarchitecture.mdncalc/ncalc#485LongAsDefaultoption by @Bykiev in Add LongAsDefault option ncalc/ncalc#484Breaking 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
TimeSpanvalue, in previous versions theInvalidOperationExceptionwas 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
NCalc.LambdaCompilationby @gumbarros in Move lambda compilation toNCalc.LambdaCompilationncalc/ncalc#4565.5.0
What's Changed
[Breaking changes]:
Full Changelog: ncalc/ncalc@v5.4.2...v5.5.0
5.4.2
What's Changed
nullby @Bykiev in Fix comparing values withnullncalc/ncalc#404SerializationVisitorto remove ObjectPool dependency by @gumbarros in Refactor SerializationVisitor to remove ObjectPool dependency. ncalc/ncalc#409Full 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
IEvaluationVisitorFactoryfor more granular control over evaluation. by @gumbarros in AddedIEvaluationVisitorFactoryfor more granular control over evaluation. ncalc/ncalc#395Breaking Changes
IEvaluationService, please useIEvaluationVisitorFactory. 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
Expressionsproperty fromFunctionclass by @gumbarros in Remove obsoleteExpressionsproperty fromFunctionclass ncalc/ncalc#362Full Changelog: ncalc/ncalc@v5.2.11...v5.3.0
5.2.11
What's Changed
ExpressionOptions.NoStringTypeCoercionby @Bykiev in Fix culture support with NoStringTypeCoercion ncalc/ncalc#347ExpressionOptions.StrictTypeMatchingby @gumbarros in AddedExpressionOptions.StrictTypeMatchingncalc/ncalc#351Full 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
FunctionExtractionVisitorby @gumbarros in Fix nested functions atFunctionExtractionVisitorncalc/ncalc#336Full Changelog: ncalc/ncalc@v5.2.8...v5.2.9
5.2.8
What's Changed
inoperator when there is an empty string by @gumbarros in Fixinoperator when there is an empty string ncalc/ncalc#330Full Changelog: ncalc/ncalc@v5.2.7...v5.2.8
5.2.7
What's Changed
Microsoft.Extensions.Logginginstead of hard-coded logging by @gumbarros in UseMicrosoft.Extensions.Logginginstead of hard-coded logging ncalc/ncalc#328ExpressionOptions.NoStringTypeCoercionshould respectinoperator by @gumbarros inExpressionOptions.NoStringTypeCoercionshould respectinoperator ncalc/ncalc#329Full Changelog: ncalc/ncalc@v5.2.6...v5.2.7
5.2.6
What's Changed
inoperator by @gumbarros in Allow objects to be used with theinoperator ncalc/ncalc#325Full Changelog: ncalc/ncalc@v5.2.5...v5.2.6
5.2.5
What's Changed
Likeoperator by @gumbarros in AddedLikeoperator ncalc/ncalc#324Full Changelog: ncalc/ncalc@v5.2.4...v5.2.5
5.2.4
What's Changed
ExpressionOptions.AllowNullOrEmptyExpressionsby @gumbarros in AddExpressionOptions.AllowNullOrEmptyExpressionsncalc/ncalc#322New 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
FunctionExtractionVisitorby @gumbarros in AddedFunctionExtractionVisitorncalc/ncalc#290LogicalExpressionListlogic forFunctionparameters by @gumbarros in Re-useLogicalExpressionListlogic forFunctionparameters ncalc/ncalc#291EvaluationHelperandinoperator should respect string comparer by @gumbarros in AddedEvaluationHelperandinoperator should respect string comparer ncalc/ncalc#292ExpressionBaseby @gumbarros in AddedExpressionBasencalc/ncalc#297ValueType.Guidby @gumbarros in AddedValueType.Guidncalc/ncalc#301ValueTaskinstead ofTaskatNCalc.Asyncby @gumbarros in Breaking Change: UseValueTaskinstead ofTaskatNCalc.Asyncncalc/ncalc#302Full Changelog: ncalc/ncalc@v5.1.0...v5.2.0
5.1.0
What's Changed
ShouldHandleBinaryExpressionunit test by @gumbarros in AddedShouldHandleBinaryExpressionunit test ncalc/ncalc#278ExpressionOptions.StringConcatto concat values as string by @Bykiev in Add newExpressionOptions.StringConcatto concat values as string ncalc/ncalc#276ExpressionOptions.AllowCharValuesby @gumbarros in AddedExpressionOptions.AllowCharValuesncalc/ncalc#279BinaryExpressionby @gumbarros in Small performance improvement forBinaryExpressionncalc/ncalc#283ExpressionContextby @gumbarros in Move event handlers toExpressionContextncalc/ncalc#286LogicalExpressionListandinoperator by @gumbarros in AddedLogicalExpressionListandinoperator ncalc/ncalc#287Full 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:
v5:
Dynamic Parameters:
v4:
v5:
What's Changed
LambdaExpressionVisitorby @gumbarros in Add OverflowProtection toLambdaExpressionVisitorncalc/ncalc#259DOTNET_NOLOGOandDOTNET_CLI_TELEMETRY_OPTOUTby @gumbarros in Improve CI withDOTNET_NOLOGOandDOTNET_CLI_TELEMETRY_OPTOUTncalc/ncalc#260IDictionary<string,ExpressionFunction>andIDictionary<string,ExpressionParameter>support by @gumbarros in AddedIDictionary<string,ExpressionFunction>andIDictionary<string,ExpressionParameter>support ncalc/ncalc#254... (truncated)
4.3.3
What's Changed
MemberNotNullWhenattribute toHasErrorsby @gmcchessney in AddMemberNotNullWhenattribute toHasErrorsncalc/ncalc#250Full Changelog: ncalc/ncalc@v4.3.2...v4.3.3
4.3.2
What's Changed
HasErrorsmethod toNCalc.Asyncby @gumbarros in Re-addedHasErrorsmethod toNCalc.Asyncncalc/ncalc#245New 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.Asyncis now part of this repository to re-use logic without code duplication. Any parser fix or improvement will automatically apply toNCalc.Async🎊. The old repo is now archived.What's Changed
asyncsupport by @gumbarros in Addedasyncsupport ncalc/ncalc#207TypeHelper.IsRealby @gumbarros in InlineTypeHelper.IsRealncalc/ncalc#225Full 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
Typelogic toTypeHelperand improve exception handling. by @gumbarros in MoveTypelogic toTypeHelperand improve exception handling. ncalc/ncalc#182IOptionsinstead ofIOptionsSnapshotatLogicalExpressionMemoryCacheby @gumbarros in UseIOptionsinstead ofIOptionsSnapshotatLogicalExpressionMemoryCachencalc/ncalc#187LambdaExpressionVisitorand newExpressionOptionsfrom NCalc2 by @gumbarros and @Bykiev in AddedLambdaExpressionVisitorand newExpressionOptionsfrom NCalc2 ncalc/ncalc#188HasFlagmethod by @gumbarros in Use enumHasFlagmethod ncalc/ncalc#196IsDynamicCodeSupportedat .NET6+ apps ncalc/ncalc#200Especial Thanks
Thanks for @sklose for the original
LambdaExpressionVisitorimplementation at https://www.github.com/sklose/NCalc2Full Changelog: ncalc/ncalc@v4.1.0...v4.2.0
4.1.0
What's Changed
TimeSpanandDateTimewith hours, minutes and seconds support by @gumbarros inTimeSpanandDateTimewith hours, minutes and seconds support ncalc/ncalc#159Full 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
GetParametersNamesno longer adds same parameter more than one time to the result by Gustavo Mauricio de BarrosBreaking Changes
EvaluateOptionsenum toExpressionOptionsEvaluateOptionsExtensionsclass toExpressionOptionsExtensionsExpression.OriginalExpressionproperty toExpression.ExpressionStringExpression.ParsedExpressionproperty toExpression.LogicalExpressionNumbersstatic class toMathHelperExpression.Compilestatic method, please useLogicalExpressionFactory.CreateBinaryExpressionType.Unknownenum valueExpression.Errorproperty now stores anExceptionobject instead of astringExpression.GetParametersNamesmethod now returns aList<String>instead of astring[]Credits
Nuget packages
https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed
3.13.1
What's new
BitwiseXOrbehaviorCredits
Nuget packages
https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed
3.13.0
What's new
Credits
Nuget packages
https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed
3.12.0
What's new:
Credits
Nuget packages
https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed
3.11.0
What's new:
Credits
Nuget package
https://nuget.org/packages/NCalcSync
3.10.0
What's new:
Credits
Thanks to
Nuget package
https://nuget.org/packages/NCalcSync
3.9.0
What's new:
Credits
Nuget package
https://nuget.org/packages/NCalcSync
Commits viewable in compare view.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.