Skip to content

0.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Jun 18:22

Release Notes

  • New assignment-style option to enforce a preferred assignment operator, with the following values:

    • "arrow": Use <-. This is the default, aligning Air further with the tidyverse style guide.

    • "equal": Use =.

    • "preserve": Assignment operators are preserved as is.

    Note that prior to this option, Air's behavior was implicitly "preserve". Set "preserve" or "equal" directly if you prefer either of those behaviors (#502).

  • Fixed an issue where # fmt: skip file in a file with CRLF line endings would result in \r\n line endings getting converted to \r\r\n (#498).

  • Updated bundled tree-sitter-r, which comes with a few small fixes:

    • Hexadecimal constants with decimals are no longer parsed as two separate values (#495).

    • .{digit} (like .1) is now correctly parsed as a double rather than as an identifier. This means that things like function(.1 = 1) {}, where .1 is expected to be an identifier but not a double, now correctly fails to parse (#496).

    • else is no longer consumed as eagerly in some special cases (#499).

Install air 0.10.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/posit-dev/air/releases/download/0.10.0/air-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/posit-dev/air/releases/download/0.10.0/air-installer.ps1 | iex"

Download air 0.10.0

File Platform Checksum
air-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
air-x86_64-apple-darwin.tar.gz Intel macOS checksum
air-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
air-x86_64-pc-windows-msvc.zip x64 Windows checksum
air-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
air-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum