Changelog #0012 — 💎 Streamlined library, smarter request duplication, and more
Tags: api, devtools, httpie, testing
Published: 2022-02-09 17:33:17

---
title: Changelog #0012 — 💎 Streamlined library, smarter request duplication, and more
published: true
description: DStreamlined library, improved request duplication, nested JSON improvements, new CLI description export command, and more.
cover_image: https://httpie.io/Images/Share/blog-changelog-0012.png
canonical_url: https://httpie.io/blog/changelog-0012
---

This past week we shipped several features streamlining the library in HTTPie for Web & Desktop and improving interoperability in HTTPie for Terminal.

Check out what’s new 👇


## HTTPie for Web & Desktop

We tend to release features as soon as possible to provide value to our beta users fast and gain insights on how to improve them through feedback. The library is a good example, we released a minimal version, collected lots of valuable feedback, and keep iterating to make it simpler and more intuitive.

### 🔀 Streamlined library

The organizational powers of the library just leveled up. Now you can quickly move requests around from one collection to another.

![Library context menu](https://httpie.io/Blog/changelog-0012/library_context_menu-WRFH3PZF.png)

Upon clicking “Edit…” in a request’s context menu, you can rename it as before, but now you can also change its home. Create your request first, decide where it goes later, and change your mind as many times as you need.

### 🐑 Smarter request cloning

The existing tab duplication has been very popular; it works great for cloning a request and creating a new one that reuses parts of the original one. Now, request duplication is also available through the library panel, and you can duplicate requests inside their collection as well as open them as a new draft.

![duplicate](https://httpie.io/Blog/changelog-0012/duplicate-5FQCZDZS.png)

### 🖱 Right-click context menus

The library items’ context menus are now consistent with the tabs’ ones and can be triggered with a right-click. Also, tabs can now be closed via a middle click.

![right click to open context menu](https://httpie.io/Blog/changelog-0012/context-menu-I5FK4LX5.png)


## HTTPie for Terminal
After the [3.0 release](https://httpie.io/blog/httpie-3.0.0), we’re actively working on structural reforms every day to prepare HTTPie for the future. Here’s what’s new in the [development version](https://github.com/httpie/httpie):

### 🎄 Nested JSON improvements

We’ve polished off a few corner cases on the new [nested JSON syntax](https://httpie.io/docs/cli/nested-json) enriching the HTTPie request language:

- Handling of top-level arrays is more robust now. For example, it’s no longer allowed to mix them with other top-level objects ([#1292](https://github.com/httpie/httpie/pull/1292)).
- We’ve fixed the escaping of integers with multiple backslashes ([#1288](https://github.com/httpie/httpie/pull/1288)).

### 📦 New export command ([#1293](https://github.com/httpie/httpie/pull/1293))

The new `httpie cli export` command has been designed to improve interoperability by exposing our CLI definition to third-party tools in a machine-readable format (not unlike an API description). This will make it easier for developers to generate auto-complete for different shells and utilities, power playgrounds, cheatsheets, etc.

HTTPie users will also benefit from the internal CLI-definition-as-data refactorings directly as they will allow us to implement a more user-friendly and contextual help output, finally generate a proper `man` page, and more.

Here is a sneak peek of that new command:

```bash
$ httpie cli export --format=json | jq '.spec.groups[].args[].options'
```

```json
"METHOD"
"URL"
"REQUEST_ITEM"
[
 "--json",
 "-j"
]
[
 "--form",
 "-f"
]
…
```

## Happy testing, and see you next week!

But in the meantime…

- 💁🏻‍♀️ If you’re not on the private beta yet, you can [join the waitlist here](https://httpie.io/beta).
- 👉 You can also follow [@httpie](https://twitter.com/httpie) and join our [Discord community](https://httpie.io/discord).
- 👩‍💻 We’re looking for new colleagues in [engineering and design roles](https://httpie.io/jobs).

---

Originally published on [HTTPie blog](https://httpie.io/blog/changelog-0012).