0.11.0
版本发布时间: 2023-12-20 09:39:26
PRQL/prql最新发布版本:0.13.0(2024-07-26 01:27:49)
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
'sby
columns are now excluded from the partition. (#3490) -
Breaking:
round
is now in themath
module and needs to be called viamath.round
. (#3928) -
Breaking:
lower
andupper
are now in thetext
module and need to be called viatext.lower
andtext.upper
. (#3913, #3973)
Features:
- The
std.in
function 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
,pow
andround
. Those functions are in themath
module (@PrettyWood, #3909, #3916 & 3928) - Most standard string functions are now supported:
ltrim
,rtrim
,trim
,length
,extract
,replace
. Utility functionsstarts_with
,contains
andends_with
are also available. Those functions are in thetext
module (@PrettyWood, #3913, #3973) - Formatting a date to a text is now available for Clickhouse, DuckDB, MySQL, MSSQL and Postgres. A new
date
module has been added with theto_text
function (@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:
- Bump
prql-compiler
's MSRV to 1.70.0 (@eitsupi, #3876)
New Contributors:
- @PrettyWood, with #3883
1、 prqlc-0.11.0-1.el7.x86_64.rpm 2.18MB
2、 prqlc-v0.11.0-aarch64-apple-darwin.tar.gz 2.85MB
3、 prqlc-v0.11.0-aarch64-unknown-linux-musl.tar.gz 2.59MB
4、 prqlc-v0.11.0-x86_64-apple-darwin.tar.gz 2.54MB
5、 prqlc-v0.11.0-x86_64-pc-windows-msvc.zip 2.56MB
6、 prqlc-v0.11.0-x86_64-unknown-linux-musl.tar.gz 2.91MB
7、 prqlc_0.11.0_amd64.deb 2.88MB
8、 prqlc_0.11.0_arm64.deb 2.57MB