Releases: ThomasHambach/NcalcJS
2.1.1
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
- 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
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
Bump to 1.0.0
0.0.3
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
- Documented custom functions
- Added prettier for cleaner code
- Allow arrays in custom parameters
- Increase code coverage
0.0.1
Implement most functionality of NCalc