Skip to content

Releases: ThomasHambach/NcalcJS

2.1.1

19 Aug 03:43
163a429
Compare
Choose a tag to compare

Refactor error handling in Expression class

Removed the ErrorListener instances in the Expression class and simplified the error handling process. These changes reduced redundancy and improved the readability of the code. Now, instead of using two separate ErrorListener instances to catch lexer and parser errors, we just throw an error in case parsing fails. Errors are now stored directly in an array in the Expression instance, simplifying access to them.

Refactor tests for better error handling and clean up

Refactored Expression.test.ts and JsonSerialize.test.ts to utilize HasErrors() function for clearer, more accurate error handling. Additionally, cleaned up unnecessary variable declarations in JsonSerialize.test.ts for better readability. These changes improve test robustness and clarity in code.

2.1.0

17 May 02:35
d8d0361
Compare
Choose a tag to compare
  • Fix issues with antlr
  • Changes to module resolution
  • Move to have browser and node versions
  • Fixed unit tests suite runs
  • Updated version for beta
  • Webpack production breaks our code.
  • Add eslint
  • Fixed issues with errors when reportAttemptingFullContext is called
  • Code cleanuo
  • Split up domain into multiple files.
  • Code cleanup and version bump
  • Add a name for classes to allow minification. (#7)
  • Clean up unreachable code
  • Ensure types are exported (#8)

2.0.0

14 Mar 03:24
364179a
Compare
Choose a tag to compare
Release/2.0.0 (#6)

* Moved to official ANTLR4 Typescript generator
* Changes to module resolution
* Move to have browser and node versions
* Add eslint
* Fixed issues with errors when reportAttemptingFullContext is called
* Split up domain into multiple files.

1.0.0

19 Jan 10:51
Compare
Choose a tag to compare
Bump to 1.0.0

0.0.3

19 Jan 09:38
db37b3e
Compare
Choose a tag to compare
0.0.3 Pre-release
Pre-release
Release/0.0.3 (#3)

* Add recognition for Thaina Yu
* Test custom extensions and date compare
* Cleanup code smells
* Add documentation
* More unit tests
* Update known issues
* remove expected behavior from known issues

0.0.2

18 Jan 16:17
70eb584
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release
  • Documented custom functions
  • Added prettier for cleaner code
  • Allow arrays in custom parameters
  • Increase code coverage

0.0.1

18 Jan 11:08
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release
Implement most functionality of NCalc