[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zellij 0.39.0 #153521

Merged
merged 2 commits into from
Nov 7, 2023
Merged

zellij 0.39.0 #153521

merged 2 commits into from
Nov 7, 2023

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
This is a significant release with lots of major and long requested features. Here's a run down:

Session Resurrection

This version adds a built-in capability to resurrect sessions. Attaching to "exited" sessions will re-create them, placing any running commands behind a Press <ENTER> to run banner so as to prevent awkward situations with things like rm -rf. Sessions can also be resurrected through the session-manager.

Read more

Special thanks to @AlixBernard for implementing the serialization algorithm, as well as to @alekspickle for helping integrate the algorithm with our code base. Without them this feature would not have come to be.

UI Components for Plugins

This version introduces UI Components for plugins. Allowing plugins to render beautiful and consistent UI elements (eg. table, ribbon, nexted-list) no matter which programming language they were developped in. These components are serialized on the plugin-side and interpreted by our ANSI interpreter using a private DCS.

Read more

Load Plugins from the Web

This release introduces the http(s) prefix for plugin URLs. Meaning we would be able to load them from the web just like we load them from the HD.

A new top-level CLI command was also added to make loading plugins easier:

zellij plugin -- https://example.com/plugin.wasm # Will also work with file: and zellij: urls

Thanks @jaeheonji for designing and implementing this feature.

Renaming Sessions

It's now possible to rename the current session. This can either be done through the CLI with the new rename-session action, or through the session-manager with Ctrl r.

Start panes in-place

Sometimes, when opening new panes it can be convenient to have them open "in-place", meaning that they would replace the currently active pane and then drop back to it once they exit. This release adds this ability to zellij run and similar commands using the --in-place flag.

Wasmer 3.x upgrade

While not user facing, this is an important upgrade of our WebAssembly runtime that makes packaging easier as well as facilitating compatibility to some platforms.

Thanks @tlinford for his tremendous efforts in getting this done

New Plugin APIs

RunCommand - execute command in the background and get a response

This API allows plugins to run a command on the host machine. The command will run in the background and the plugin will be notified with an Event when the command has completed, receiving its exit code, STDIN and STDOUT.

WebRequest - execute an http(s) request in the background and get a response

This API allows plugins to make a web request and receive its output. The request will run in the background and the plugin will receive an Event with the response once the request is complete.

Add <ESC> - Drop to shell to command panes

For a while now, Zellij has had the concept of "command panes" - panes that run a specific command as part of the UI. Now, in addition to being able to re-run the command with ENTER and close the pane with Ctrl c, it's also possible to drop to a shell with <ESC>. This can be especially useful when combined with the session resurrection feature (eg. if one does not want to run the resurrected command but does not want to close the pane either).

Support Styled Underlines

Zellij now supports the "styled underlines" ANSI extension.

Thanks @eatgrass and @mike-lloyd03 for the implementation

Open new Plugins to current CWD

Starting this release, plugins are opened to the working folder of the currently focused terminal pane (if available), rather than the folder in which the Zellij session was started.

All changes

New Contributors

Full Changelog: zellij-org/zellij@v0.38.2...v0.39.0

@github-actions github-actions bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Nov 7, 2023
@chenrui333 chenrui333 added the ready to merge PR can be merged once CI is green label Nov 7, 2023
zellij: depends_on `openssl@3`

Signed-off-by: Rui Chen <rui@chenrui.dev>

zellij: needs zlib for linux build

Signed-off-by: Rui Chen <rui@chenrui.dev>
Copy link
Contributor
github-actions bot commented Nov 7, 2023

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Nov 7, 2023
@BrewTestBot BrewTestBot added this pull request to the merge queue Nov 7, 2023
Merged via the queue into Homebrew:master with commit ae84efe Nov 7, 2023
12 checks passed
@BrewTestBot BrewTestBot deleted the bump-zellij-0.39.0 branch November 7, 2023 15:58
@github-actions github-actions bot added the outdated PR was locked due to age label Dec 7, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. outdated PR was locked due to age ready to merge PR can be merged once CI is green rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants