Skip to content

Releases: darrenburns/posting

2.9.2 - Fix path param issue

14 Oct 18:07
e56508f

Choose a tag to compare

When switching between requests, path parameters would interfere with each other due to state not being cleared properly in the UI.

Full Changelog: 2.9.1...2.9.2

2.9.1 - I'm sorry I melted your CPU

24 Sep 21:28
87683c0

Choose a tag to compare

Alternative title: 2 orders of magnitude improvement in CPU usage

Full Changelog: 2.9.0...2.9.1

2.9.0 - Path parameters

17 Sep 21:49
82e91a6

Choose a tag to compare

Path parameters

This release adds support for path parameters - a highly requested feature [docs].

posting-path-params.mp4

New themes

synthwave - standard and compact mode

image image

hypernova - standard and compact mode

image image

Copy requests as YAML

Adds export: copy as YAML to the Command Palette (ctrl+p). This will copy the request to the clipboard as YAML for easy sharing.


What's Changed

Full Changelog: 2.8.0...2.9.0

2.8.0 - Upgrade Textual version

13 Sep 15:45
b3887ae

Choose a tag to compare

Upgrades Textual version from 3.0.0 to 6.1.0.

This fixes an issue in Ghostty where characters would occasionally appear in text inputs when your cursor moved over the edge of the terminal. It also greatly improves the speed of fuzzy searching in the request search menu, and the command palette.

What's Changed

Full Changelog: 2.7.1...2.8.0

2.7.1 - Hotfix to avoid tree-sitter incompatibility

22 Jul 22:25
e1e90bd

Choose a tag to compare

The new 0.25.0 version of tree-sitter has a breaking API change which causes runtime crashes.

This release pins tree-sitter to 0.24.0 or below.

What's Changed

New Contributors

Full Changelog: 2.7.0...2.7.1

2.7.0 - Import from Postman

19 Apr 19:08
59d0364

Choose a tag to compare

The main feature of this release is the ability to import collections from Postman.

Simply export your collection from the Postman UI, then run:

posting import --type postman path/to/collection.json

Here's Posting in action, browsing collections and sending off requests - all of which have been imported from Postman.

posting-postman-import-example__80pct_smaller.mp4

Changelog

Posting's full changelog is always available at https://posting.sh/CHANGELOG/.

Added

  • Collections can now be imported from Postman (#106)
  • posting.env files in the current directory will automatically be loaded if no --env options are provided (#249)
  • Generate JSON body with default values after importing OpenAPI specs (#247)
  • Use tags to separate sub-collections in OpenAPI specs (#247)
  • curl import now handles various different data options (#252)
  • Added -c shorthand alias for --collection option (#250)
  • Added posting sponsors command, which lists people who have supported Posting via GitHub Sponsors (specific sponsor tiers only). (#253)

Changed

  • A double-click rather than a single-click is now required to enter edit mode inside data tables (e.g. headers, query params, etc.) (#256)
  • In the body editor, the Form data menu item now shows (x-www-form-urlencoded) after the label, to suggest the type of data being sent. (#259)

Fixed

  • Exported curl command uses -d for form data now, rather than -F. The result is exported commands with form data will now use application/x-www-form-urlencoded instead of multipart/form-data (matching Posting's behaviour). (#252)
  • Fix attempting to add a protocol before applying variables in the URL bar (#248)
  • Fix script path with custom function (#254)
  • Fixed Posting's default User-Agent header not being used (#259)

New Contributors

Sponsors

Full Changelog: 2.6.0...2.7.0

2.6.0 - Editing rows, compact mode, header value autocomplete, and more!

29 Mar 22:25
2ac0c02

Choose a tag to compare

This is a pretty huge release. It introduces a bunch of features the community requested, and a bunch they didn't!

Edit rows without deleting them 🤯

Finally! You can now edit headers, query params, and form data without need to delete and re-add them.

Press enter on a row to edit the key/name, or press v to edit the value.

posting-edit-key-value.mp4

What's going on with the UI in that video? Oh, that's...

Compact mode 🐜

Set spacing: compact in your config file to remove Posting's padding and borders, letting you fit more on screen.

Here's a clip showing how compact mode looks on some different themes, and how it can be toggled via the command palette at runtime.

compact-mode-and-themes.mp4

Header value completion 🫨

Automatically complete header values based on the name. (The video below is a little out of date and has a bug where the completion dropdown remains open - that's been fixed but I'm too tired to record another video now!)

autocomplete-header-values-c.mp4

Other stuff

There are a number of quality of life improvements and small design tweaks. The https://posting.sh homepage was updated with a new video and footer. A contributing guide is also now in the repo. We now use Textual 3.0 - the latest version.

Here's the full changelog for this release:

Added

  • Added spacing: <compact|standard> config to allow for a more compact UI (default: standard).
  • Added ability to edit headers, form data, and query params without deleting and recreating them.
    • Press enter or click a row to enter edit mode. The row will be highlighted, and focus will move to the key/name input.
      Submitted changes will overwrite the existing row rather than adding a new one.
    • Press v to enter edit mode and immediately focus on the value input.
    • Press escape to cancel the edit.
    • Press enter to save the changes and exit edit mode.
    • The background colour behind the input will update to indicate edit mode is active.
  • Added autocompletion for header values based on the header name.
    • For example, if the header is Content-Type, when typing the value, you'll be able to quickly autocomplete from a list of common content types.
  • Press / to open the request search palette while the collection browser is focused.
    • ctrl+shift+p remains available as a global shortcut for this.
  • Added help: Open web docs command to the command palette.
  • Basic Vim motions to script output log (hjkl).
  • Added response status code label to the URL bar.
  • Contributing guide added to the GitHub repo (CONTRIBUTING.md).

Changed

  • Rewrite of the autocompletion system used to autocomplete header names, values, URLs, and variables.
  • Automatically prepend http:// protocol if no protocol is specified in the URL bar.
  • Debounce jump overlay recomposition - if you resize while the jump overlay is open, it'll wait a short period before recomputing.
  • Jump mode now lives on the main screen, rather than globally. This makes more sense as it's only available on the main screen. The only user-facing impact should be that the position of the keybinding in the footer and keybindings panel may change.
  • Jump mode interaction with Tabs now uses the Tabs API, rather than simulating a Click.
  • Status code label now displayed in the URL bar beside the trace markers.
  • Request description area at the bottom of the collection browser has new design.
  • When there are no response cookies, the cookies section will now display a message to the user.
  • Updated to Textual 3.0.0.
  • Various updates to the https://posting.sh homepage.

Fixed

  • Fixed scrolling in response headers and cookies tabs using keyboard.
  • Fixed crash when immediately pressing enter after loading the UI when the on_startup config is set to url (this was due to lazy loading of the UI, and attempting to send a request before the UI was fully loaded).
  • Fixed accepting a completion via enter in the header editor also adding the header.
    • Now, the first enter press will accept the completion, and the second enter press will add the header.
  • Fixed Textual markup not being escaped key value tables.
  • Fixed request description attempting to parse Textual markup (#243)

The full changelog can be found at https://posting.sh/CHANGELOG

New Contributors

Full Changelog: 2.5.4...2.6.0

2.5.4

13 Mar 19:51
c293144

Choose a tag to compare

Fixes an issue where user configured User-Agent headers were being overwritten by Posting's own User-Agent.

Posting now only adds the header if a user has not supplied it themselves.

2.5.3 - 40% reduction in startup time

13 Mar 14:44
aa3cfc8

Choose a tag to compare

Faster startup

This release reduces the startup time of Posting by around 40%.

I wrote a bit about it here: https://darren.codes/posts/python-startup-time/

Full Changelog: 2.5.2...2.5.3

2.5.2

08 Mar 16:52
350f480

Choose a tag to compare

A little bit of polish.

Added

  • Validation and corresponding UI feedback in New Request modal.
image

Fixed

  • Fixed crash when attempting to delete a request that doesn't exist on disk.
  • Fixed being able to create requests with empty names.

#216

Full Changelog: 2.5.1...2.5.2