Repository navigation
0.11.0
0.11.0 introduces new date, text & math modules with lots of standard functions, including a new date.to_text function. It contains a few bugs fixes, and lots of internal improvements to the compiler.
This release has 119 commits from 9 contributors. Selected changes:
Language:
- Breaking:
group'sbycolumns are now excluded from the partition. (#3490) - Breaking:
roundis now in themathmodule and needs to be called viamath.round. (#3928) - Breaking:
lowerandupperare now in thetextmodule and need to be called viatext.lowerandtext.upper. (#3913, #3973)
Features:
- The
std.infunction now supports a list of values (@PrettyWood, #3883) - Most standard mathematical functions are now supported:
abs,floor,ceil,pi,exp,ln,log10,log,sqrt,degrees,radians,cos,acos,sin,asin,tan,atan,powandround. Those functions are in themathmodule (@PrettyWood, #3909, #3916 & 3928) - Most standard string functions are now supported:
ltrim,rtrim,trim,length,extract,replace. Utility functionsstarts_with,containsandends_withare also available. Those functions are in thetextmodule (@PrettyWood, #3913, #3973) - Formatting a date to a text is now available for Clickhouse, DuckDB, MySQL, MSSQL and Postgres. A new
datemodule has been added with theto_textfunction (@PrettyWood, #3951, #3954 & #3955)
Fixes:
- Fix an issue with arithmetic precedence (@max-sixty, #3846)
+and-can be used after a cast (@PrettyWood, #3923)- The Lezer grammar had plenty of improvements and fixes. (@vanillajonathan)
Web:
- The Playground now uses Vite. (@vanillajonathan)
Internal changes:
New Contributors:
- @PrettyWood, with #3883