forked from joewalnes/filtrex
-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
documentationREADME, changelogs, examples, ...README, changelogs, examples, ...
Milestone
Description
Version 3 brings a lot of changes, including breaking ones. Either a readme or a wiki page should include a complete changelog. Furthermore, make sure that each new feature is properly documented in the readme.
BREAKING DESIGN CHANGES:
- Fail early and reliably #22 (Returning runtime errors instead of
undefined.) - Add booleans #27 (Not converting booleans to numbers anymore.)
- Make modulo “mathematically correct” #36 (Modulo can no more return a negative result.)
- Remove
randomfrom standard functions to promote reliability #47
BREAKING BUG FIXES:
- Unary minus has precedence over exponentiation (ie. incorrect parsing of −x²) #41
-
not inhas weird precedence #42 (Changednot into have the same precedence asin.) - Exponentiation is left-associative #43 (Changed exponentiation to be right-associative.)
DEPRECATIONS:
- Change the ternary operator to
if..then..else#34 (Ternary? :operator deprecated in favor ofif then else.) - Change modulo from
%tomod#48 (%deprecated in favor ofmod.)
NEW FEATURES:
- Add operator “overloading” #30
- Make errors i18n-friendly #35
- Add chained comparisons #37
- Add constants #38
- Add option to use dot attribute access #44 (Optional chaining and dot accessor syntax.)
-
customPropnow has additional argumenttype: 'unescaped' | 'single-quoted'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationREADME, changelogs, examples, ...README, changelogs, examples, ...