All Versions
45
Latest Version
Avg Release Cycle
66 days
Latest Release
761 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v0.8.5 Changes
September 04, 2017- ๐ Improved expression parsing performance in Swift 3.2 and 4.0
- ๐ Fixed some bugs in parsing of identifiers containing dots
-
v0.8.4 Changes
August 22, 2017- ๐ Fixed spurious parsing errors when expressions have leading whitespace
- ๐ The
parse(_: String.UnicodeScalarView)
method now accepts an optional list of terminating delimiters
-
v0.8.3 Changes
August 16, 2017- ๐ Fixed crash when parsing a malformed expression that contains just a single operator
- Internal
mathSymbols
andboolSymbols
dictionaries are now public, so you can filter them from symbols array
-
v0.8.2 Changes
August 08, 2017- ๐ Xcode 9b5 compatibility fixes
-
v0.8.1 Changes
July 25, 2017- Now marks the correct token as unexpected when attempting to chain function calls (e.g.
foo(5)(6)
) - Now produces a clearer error for empty expressions
- Now marks the correct token as unexpected when attempting to chain function calls (e.g.
-
v0.8.0 Changes
July 07, 2017- โ Added
parse(_: String.UnicodeScalarView)
method for parsing expressions embedded in an interpolated string - ๐ Improved parsing of expressions containing ambiguous whitespace around operators
- ๐ Fixed some more bugs in the expression description logic
- โ Removed the deprecated
noCache
option
- โ Added
-
v0.7.1 Changes
July 05, 2017- Made
clearCache()
method public (was previously left internal by accident) - โ Added additional hard-coded precedence for common operator types and names
- ๐ Now supports right-associativity for assignment and comparison operators
- ๐ Improved description logic, now correctly handles nested prefix/postfix operators
- โ Added support for infix alphanumeric operators, in addition to postfix
- ๐ Fixed bug when parsing a binary
?:
operator - ๐ Swift 4 compatibility fixes
- Made
-
v0.7.0 Changes
June 03, 2017- ๐ Significantly improved evaluation performance of by storing functions inline inside the parsed expression
- Expressions can now contain quoted string literals, which are treated as identifiers (variable names)
- โ Added
pureSymbols
optimization option, allowing custom functions and operators to be inlined where possible - โ Added deferred optimization, allowing functions that use a custom evaluator take advantage of optimization
- โ Added
parse(_, usingCache:)
method for fine-grained control of caching and pre-parsing - The
clearCache()
method now optionally accepts a specific expression to be cleared - ๐ Deprecated the
noCache
option. Use the newparse(_, usingCache:)
method instead - โ Added optimization guide to the README file
-
v0.6.1 Changes
May 28, 2017- ๐ Fixed bug where optimizer stopped as soon as it encountered a custom symbol in the expression
-
v0.6.0 Changes
May 27, 2017- ๐ฅ BREAKING CHANGE:
constant
symbols have now been renamed tovariable
to more accurately reflect their behavior - โก๏ธ Minor breaking change:
description
now returns the optimized description - โ Added built-in symbol library for boolean operations
- โ Added thread-safe in-memory caching of previously parsed expressions
- ๐ Improved optimizer - now pre-evaluates subexpressions with constant arguments
- โ Added configuration options for enabling/disabling optimizations and boolean arguments
- โ Added modulo
%
operator to the standard math symbol library - โ Added support for hexadecimal literals
- ๐ฅ BREAKING CHANGE: