Enhancements
- Linter Rules:
-
no-unsafe-finally
- What it does: Prevents the use of
return
,throw
,break
, andcontinue
withinfinally
blocks intry
statements. - Why it matters: Ensures code predictability and avoids unintended control flow behavior when
finally
executes.
- What it does: Prevents the use of
-
no-multi-assignments
- What it does: Disallows chained assignments like
$a = $b = $c
. - Why it matters: Improves code clarity and reduces the risk of bugs caused by unintended assignments.
- What it does: Disallows chained assignments like
-
Chores
- Refactor
ast-utils
crate:- Details: Comprehensive refactor of the
ast-utils
crate. - Impact: This change introduces breaking changes (BC breaks), so ensure to review and adapt your projects accordingly when updating.
- Details: Comprehensive refactor of the
Expanded Build Target Support
We now support a broader range of targets in our build process, ensuring compatibility across diverse systems. Below is the updated list of supported targets:
Windows
- MinGW
x86_64-pc-windows-gnu
- MSVC
-i686-pc-windows-msvc
(tested)
-x86_64-pc-windows-msvc
(tested)
macOS
aarch64-apple-darwin
(tested)x86_64-apple-darwin
(tested)
FreeBSD
i686-unknown-freebsd
x86_64-unknown-freebsd
Linux
aarch64-unknown-linux-gnu
(tested)arm-unknown-linux-gnueabi
arm-unknown-linux-gnueabihf
armv7-unknown-linux-gnueabihf
arm-unknown-linux-musleabi
arm-unknown-linux-musleabihf
armv7-unknown-linux-musleabihf
i686-unknown-linux-gnu
(tested)i686-unknown-linux-musl
(tested)powerpc-unknown-linux-gnu
powerpc64-unknown-linux-gnu
powerpc64le-unknown-linux-gnu
s390x-unknown-linux-gnu
x86_64-unknown-linux-gnu
(tested)x86_64-unknown-linux-musl
(tested)
Full Changelog: 0.0.11...0.0.12