From 29c9f396a2669b27034e8919369f72da584b2a05 Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Wed, 18 Sep 2024 22:46:02 -0400 Subject: [PATCH] Add blog post and download links for 1.121.0 Blurb by confused-Techie and savetheclocktower, with some copy-editing and the tagline by me. Co-authored-by: confused_techie Co-authored-by: Andrew Dupont --- .../blog/20240918-confused-Techie-v1.121.0.md | 67 +++++++++++++++++++ docs/download.md | 30 ++++----- 2 files changed, 82 insertions(+), 15 deletions(-) create mode 100644 docs/blog/20240918-confused-Techie-v1.121.0.md diff --git a/docs/blog/20240918-confused-Techie-v1.121.0.md b/docs/blog/20240918-confused-Techie-v1.121.0.md new file mode 100644 index 000000000..983bc5306 --- /dev/null +++ b/docs/blog/20240918-confused-Techie-v1.121.0.md @@ -0,0 +1,67 @@ +--- +title: "Pulsar 1.121.0: CLI improvements? Now you're speaking my language!" +author: confused-Techie +date: 2024-09-18 +category: + - dev +tag: + - release +--- + +Pulsar [1.121.0](https://github.com/pulsar-edit/pulsar/releases/tag/v1.121.0) is available now! + + + +## Pulsar v1.121.0: CLI improvements? Now you're speaking my language. + +For this edition of Pulsar, along with the usual bug fixes, we've particularly focused on CLI usage and up-to-date language support. + +On Linux and macOS, the `pulsar -p` command (via the `pulsar.sh` launcher script) will now invoke `ppm` directly without having to launch Pulsar first. (We shipped the equivalent enhancement for Windows in the last release.) + +The Linux CLI has some further enhancements. It’s now much better at detecting where your Pulsar installation is on disk; this should help those who have extracted Pulsar from the `.tar.gz` tarball distribution. (Building on this, we hope we can make CLI usage easier for our AppImage users in the next release.) + +Speaking of the CLI: we’ve fixed an issue with `ppm` that was affecting only users with Apple Silicon Macs. An old, hard-coded value in `ppm`, from before Apple Silicon existed, broke several community packages with native C/C++ module dependencies -- `x-terminal-reloaded` and `autocomplete-paths`, to name just two examples. Before now, these packages wouldn’t install correctly on Apple Silicon macs, and would need manual fixing from the terminal. But now, those packages will build and rebuild successfully on your ARM64 machine. + +Meanwhile on Windows, the ability to add Pulsar to the PATH has been moved from the settings menu to the installer. This approach should work much more reliably, and is able to clean up the user's PATH during an uninstall. + +Inside the editor we’ve got a number of improvements to language grammars. Our underlying `web-tree-sitter` library has been bumped to the latest stable version, as have our grammars for CSS, Markdown, JavaScript, TypeScript, and HTML. + +Under the hood, there’s been a major refactor of how Tree-sitter indentation logic is organized in our codebase. This doesn’t have direct effects on the user, but should make it easier to iterate on indentation logic and deliver more features to the indentation hinting system. + +In fact, there’s one new feature for indentation: a new `@match.next` capture. It’s not something that a grammar author would commonly need, but it allows them to do things that weren’t possible before — for instance, to move the indentation level to its proper place after a “hanging indent.” + +In the coming releases, some built-in grammars may take advantage of this feature to deliver indentation hinting options that come closer to _"reading your mind"_. + +That's everything this time around, and as always a gracious thank you to our wonderful community, all those that contribute to issues, discussions and pull requests, and help make Pulsar possible through donations, bug reports, and helping to support other users. + +Until next time, happy coding, and see you amongst the stars! +\- The Pulsar team + +--- + +- Updated `web-tree-sitter` to version 0.23.0. +- [language-css] Updated `tree-sitter-css` to the latest version. +- [language-gfm] Updated `tree-sitter-markdown` to the latest version. +- [language-html] Updated `tree-sitter-html` and `tree-sitter-embedded-template` to their latest versions. +- [language-javascript] Updated `tree-sitter-javascript` to the latest version. +- [language-typescript] Updated `tree-sitter-typescript` to the latest version. +- Added a new `@match.next` capture for advanced control of how indentation should change from one line to the next. +- Added new indentation-specific query predicates `indent.matchesComparisonRow` and `indent.matchesCurrentRow` for comparing arbitrary positions in a Tree-sitter node tree to the operative rows in an indentation suggestion query. Makes it possible to say things like “decrease the indent on line 10 if a statement ends on line 9.” +- Renamed indentation directives `indent.matchIndentOf` and `indent.offsetIndent` to `indent.match` and `indent.offset`, respectively. The old names still work as aliases. +- Improved the command-line `pulsar` script’s ability to find the user’s Pulsar installation location on Linux. +- On macOS and Linux, `pulsar -p` now invokes `ppm` without having to launch Pulsar itself. +- Added options to the Windows installer to add Pulsar and PPM to the PATH +- Fixed `ppm rebuild` command on ARM (Apple Silicon) Macs + +### Pulsar + +- Fixed: Tree-sitter rolling fixes: 1.121 edition [@savetheclocktower](https://github.com/pulsar-edit/pulsar/pull/1085) +- Updated: Update ppm to commit 97f4d201be013157756a76008bf0cb55e6a1fe35 [@savetheclocktower](https://github.com/pulsar-edit/pulsar/pull/1094) +- Fixed: Experiment: Redirect `-p`/`--package` to `ppm` via `pulsar.sh`… [@savetheclocktower](https://github.com/pulsar-edit/pulsar/pull/1066) +- Added: [windows] Add PATH manipulation to Pulsar installer [@confused-Techie](https://github.com/pulsar-edit/pulsar/pull/1071) +- Updated: CI: Update Cirrus Rolling upload token [@DeeDeeG](https://github.com/pulsar-edit/pulsar/pull/1086) + +### PPM + +- Fixed: Remove hard-coded architecture on Mac [@savetheclocktower](https://github.com/pulsar-edit/ppm/pull/141) +- Updated: Begin less reliance on `async` package: Await as we go [@confused-Techie](https://github.com/pulsar-edit/ppm/pull/134) diff --git a/docs/download.md b/docs/download.md index 57b8b6c97..6a9be020c 100644 --- a/docs/download.md +++ b/docs/download.md @@ -113,7 +113,7 @@ feature issues that have already been resolved in our Rolling Release so if a particular fix or feature is important to you it may be worth swapping to one of those instead. -Current version is [v1.120.0](https://github.com/pulsar-edit/pulsar/releases/tag/v1.120.0). +Current version is [v1.121.0](https://github.com/pulsar-edit/pulsar/releases/tag/v1.121.0). ::: details Linux @@ -121,19 +121,19 @@ Current version is [v1.120.0](https://github.com/pulsar-edit/pulsar/releases/tag | Package | Distribution | | :-------------------------------------------------------------------------------------------------------------------------: | :----------------: | -| [deb](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Linux.pulsar_1.120.0_amd64.deb) | Debian/Ubuntu etc. | -| [rpm](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Linux.pulsar-1.120.0.x86_64.rpm) | Fedora/RHEL etc. | -| [AppImage](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Linux.Pulsar-1.120.0.AppImage)[1][2] | All distributions | -| [tar.gz](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Linux.pulsar-1.120.0.tar.gz) | All distributions | +| [deb](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Linux.pulsar_1.121.0_amd64.deb) | Debian/Ubuntu etc. | +| [rpm](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Linux.pulsar-1.121.0.x86_64.rpm) | Fedora/RHEL etc. | +| [AppImage](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Linux.Pulsar-1.121.0.AppImage)[1][2] | All distributions | +| [tar.gz](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Linux.pulsar-1.121.0.tar.gz) | All distributions | **ARM_64** - For ARM based devices - Raspberry Pi, Pinebook etc. | Package | Distribution | | :-----------------------------------------------------------------------------------------------------------------------------------: | :----------------: | -| [deb](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/ARM.Linux.pulsar_1.120.0_arm64.deb) | Debian/Ubuntu etc. | -| [rpm](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/ARM.Linux.pulsar-1.120.0.aarch64.rpm) | Fedora/RHEL etc. | -| [AppImage](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/ARM.Linux.Pulsar-1.120.0-arm64.AppImage)[1][2] | All distributions | -| [tar.gz](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/ARM.Linux.pulsar-1.120.0-arm64.tar.gz) | All distributions | +| [deb](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/ARM.Linux.pulsar_1.121.0_arm64.deb) | Debian/Ubuntu etc. | +| [rpm](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/ARM.Linux.pulsar-1.121.0.aarch64.rpm) | Fedora/RHEL etc. | +| [AppImage](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/ARM.Linux.Pulsar-1.121.0-arm64.AppImage)[1][2] | All distributions | +| [tar.gz](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/ARM.Linux.pulsar-1.121.0-arm64.tar.gz) | All distributions | [1] Appimage may require `--no-sandbox` as an argument to run correctly on some systems. [2] Some distributions no longer ship with `libfuse2` which Appimage requires to run. You may need to install this manually, e.g on Ubuntu >=22.04 `apt install libfuse2`. @@ -152,15 +152,15 @@ Current version is [v1.120.0](https://github.com/pulsar-edit/pulsar/releases/tag | Package | Type | | :----------------------------------------------------------------------------------------------------------: | :-----------: | -| [dmg](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Silicon.Mac.Pulsar-1.120.0-arm64.dmg) | DMG installer | -| [zip](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Intel.Mac.Pulsar-1.120.0-mac.zip) | Zip archive | +| [dmg](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Silicon.Mac.Pulsar-1.121.0-arm64.dmg) | DMG installer | +| [zip](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Intel.Mac.Pulsar-1.121.0-mac.zip) | Zip archive | **Intel** - For Intel macs | Package | Type | | :------------------------------------------------------------------------------------------------------: | :-----------: | -| [dmg](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Intel.Mac.Pulsar-1.120.0.dmg) | DMG installer | -| [zip](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Intel.Mac.Pulsar-1.120.0-mac.zip) | Zip archive | +| [dmg](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Intel.Mac.Pulsar-1.121.0.dmg) | DMG installer | +| [zip](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Intel.Mac.Pulsar-1.121.0-mac.zip) | Zip archive | :::: @@ -178,8 +178,8 @@ You can bypass this by clicking "More info" then "Run anyway". | Package | Type | | :---------------------------------------------------------------------------------------------------------: | :-------------------: | -| [Setup](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Windows.Pulsar.Setup.1.120.0.exe) | Installer | -| [Portable](https://github.com/pulsar-edit/pulsar/releases/download/v1.120.0/Windows.Pulsar-1.120.0-win.zip) | Portable (no install) | +| [Setup](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Windows.Pulsar.Setup.1.121.0.exe) | Installer | +| [Portable](https://github.com/pulsar-edit/pulsar/releases/download/v1.121.0/Windows.Pulsar-1.121.0-win.zip) | Portable (no install) | | Package Manager | Command | | :------------------------------------------------------------: | :--------------------: |