# Meshery v1.0.40

2026-06-09 · [Original release notes](https://github.com/meshery/meshery/releases/tag/v1.0.40) · [Full summary](https://ratatosk.io/en/releases/meshery/v1.0.40)

Important fixes 2 · Enhancements 1 · Other changes 2

## Important fixes (2)

### Response-body leak fixed in `GetConnectionByID`

- Affects: remote-provider connection lookups through `GetConnectionByID` (Inferred)

When a provider returned a non-2xx status, the response body was not closed and the connection leaked. The body is now closed on every path after a response is returned, including non-2xx responses.

> - Fix printf-style logging calls flagged by go vet @leecalcote (#19941)

### Design import file resolution fixed

- Affects: main Designs and workspace design import flows

When an import used a modal without a `root_file` element, the UI hit a null-element TypeError. Imports now resolve the selected file from the active dialog, fall back when reader data is not yet in form state, and show an error if no file is selected.

> - [UI] Harden design import file resolution @ritzorama (#19940)
> - [UI] Harden design import file resolution @ritzorama (#19940)

## Enhancements (1)

- Remote provider preselection resolved by Meshery server and provider UI (To use: Set the `PROVIDER` environment variable to the remote provider (for example, `PROVIDER=Meshery`).)

## Other changes (2)

- Server log formatting calls fixed
- Accurate logging for `GetConnectionByID` responses

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
