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

[REQ] Easily skimmable release history #106

Open
OddMathisenNOV opened this issue Apr 25, 2024 · 4 comments
Open

[REQ] Easily skimmable release history #106

OddMathisenNOV opened this issue Apr 25, 2024 · 4 comments

Comments

@OddMathisenNOV
Copy link

OddMathisenNOV commented Apr 25, 2024

I am making the request to have a more easily available and skimmable changelog history.
I tried determining what the breaking changes were from 2.x to 3.0 but was unable to find the release history documenting the changes.
Having these readily available makes upgrading a legacy codebase much less cumbersome.

@Bykiev
Copy link
Contributor

Bykiev commented Apr 25, 2024

Hi, unfortunately no, but we can add changelog.md/releaseNotes.md.

The v3 of NCalc switched to ANTLR4, the grammar was updated. You shouldn't see any breaking changes.

Also the new features were introduced:

  • Added support for positive sign with numbers
  • Added support for numbers with trailing dot
  • Added support for case-insensitive logical operators
  • Added support for using ** as POW alternative

The cache handling logic was improved, CacheCleanInterval property was introduced, you can specify how frequent the cache clean will occur (in previous version the cache is cleaned on each compilation). By default the cache is checked every 1000 compilation.

@OddMathisenNOV
Copy link
Author

Ah, I assumed this was on a separate release schedule from NCalc.
I see this matches up pretty well with the release notes over at https://github.com/ncalc/ncalc/releases/tag/v3.0.0
If the releases are identical, you could reference the other project release notes in the readme.

@Bykiev
Copy link
Contributor

Bykiev commented Apr 25, 2024

No, the releases are not synced

@danreg
Copy link

danreg commented Aug 9, 2024

I found a different behavior between v2 and v3.
This works in v2 and returns false where I receive an expection in v3

string expression = "''==4"; bool result = (bool)new NCalc.Expression(expression, NCalc.EvaluateOptions.IgnoreCase | NCalc.EvaluateOptions.NoCache).Evaluate();

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

No branches or pull requests

3 participants