zellij/CHANGELOG.md
har7an 75801bdb0e
plugins: Improve error handling on plugin version mismatch (#1838)
* server/tab: Don't panic in `Pane::render`

and do not crash the application on failure to receive a render update
from plugins any longer. Instead, will print a simple string with a hint
to check the application logs, where a more thorough error indication
can be found.

* utils/errors: re-export `anyhow::Error`

to create ad-hoc errors with custom error types, without having to wrap
them into a `context()` before to turn the into anyhow errors.

* plugins: Check plugin version on startup

and terminate execution with a descriptive error message in case the
plugin version is incompatible with the version of zellij being run.

* server/wasm_vm: Add plugin path in version error

so the user knows which plugin to look at in case they're using custom
plugins.

* server/wasm_vm: Check plugin version for equality

Previously we would accept cases where the plugin version was newer than
the zellij version, which doesn't make a lot of sense.

* server/wasm_vm: Prettier error handling

in call to `wasmer::Function::call` in case a plugin version mismatch
can occur.

* tile: Install custom panic handler

that will print the panic message to a plugins stdout and then call a
panic handler on the host that turns it into a real application-level
panic.

* tile: Catch errors in event deserialization

and turn them into proper panics. These errors are symptomatic of an
uncaught plugin version mismatch, for example when developing from main
and compiling zellij/the plugins from source. Normal users should never
get to see this error.

* utils/errors: Improve output in `to_stdout`

for anyhow errors. The default anyhow error formatting of `{:?}` is
already very good, and we just made it worse by trying to invent our own
formatting.

* tile: Reword plugin mismatch error message

* zellij: Apply rustfmt

* changelog: Add PR #1838

Improve error handling on plugin version mismatch.

* server/wasm_vm: Rephrase error in passive voice
2022-10-23 13:14:24 +00:00

48 KiB
Raw Blame History

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog

[Unreleased]

[0.31.4] - 2022-09-09

[0.31.3] - 2022-08-18

  • HOTFIX: fix up-arrow regression

[0.31.2] - 2022-08-17

[0.31.1] - 2022-08-02

[0.31.0] - 2022-07-28

[0.30.0] - 2022-06-07

[0.29.1] - 2022-05-02

[0.29.0] - 2022-05-02

[0.28.1] - 2022-04-13

[0.27.0] - 2022-03-31

[0.26.1] - 2022-03-16

[0.26.0] - 2022-03-11

[0.25.0] - 2022-02-22

[0.24.0] - 2022-01-05

[0.23.0] - 2021-12-20

[0.22.1] - 2021-12-14

[0.22.0] - 2021-12-13

[0.21.0] - 2021-11-29

[0.20.1] - 2021-11-10

[0.20.0] - 2021-11-08

[0.19.0] - 2021-10-20

[0.18.1] - 2021-09-30

[0.18.0] - 2021-09-29

[0.17.0] - 2021-09-15

[0.16.0] - 2021-08-31

[0.15.0] - 2021-07-19

[0.14.0] - 2021-07-05

[0.13.0] - 2021-06-04

[0.12.1] - 2021-05-28

[0.12.0] - 2021-05-27

[0.11.0] - 2021-05-15

This version is mostly an installation hotfix.

[0.10.0] - 2021-05-14

[0.9.0] - 2021-05-11

[0.8.0] - 2021-05-07

[0.7.0] - 2021-05-04

[0.6.0] - 2021-04-29

[0.5.1] - 2021-04-23

[0.5.0] - 2021-04-20

Beta release with all the things