Releases: darrenburns/posting
2.9.2 - Fix path param issue
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
Alternative title: 2 orders of magnitude improvement in CPU usage
Full Changelog: 2.9.0...2.9.1
2.9.0 - Path parameters
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
hypernova - standard and compact mode
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
- Add path param editor by @darrenburns in #295
- Update CHANGELOG by @darrenburns in #298
- Add export as YAML by @darrenburns in #299
- Add hypernova and synthwave by @darrenburns in #300
Full Changelog: 2.8.0...2.9.0
2.8.0 - Upgrade Textual version
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
- Update textual by @darrenburns in #296
Full Changelog: 2.7.1...2.8.0
2.7.1 - Hotfix to avoid tree-sitter incompatibility
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
- fix: typo in CONTRIBUTING.md by @jacqueminv in #267
- Update deps but limit tree-sitter < 0.25.0 by @davidfokkema in #282
New Contributors
- @jacqueminv made their first contribution in #267
Full Changelog: 2.7.0...2.7.1
2.7.0 - Import from Postman
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.jsonHere'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.envfiles in the current directory will automatically be loaded if no--envoptions 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
-cshorthand alias for--collectionoption (#250) - Added
posting sponsorscommand, 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 datamenu item now shows(x-www-form-urlencoded)after the label, to suggest the type of data being sent. (#259)
Fixed
- Exported curl command uses
-dfor form data now, rather than-F. The result is exported commands with form data will now useapplication/x-www-form-urlencodedinstead ofmultipart/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-Agentheader not being used (#259)
New Contributors
- @ll931217 made their first contribution in #106
- @jonahisadev made their first contribution in #254
Sponsors
- A huge thank you to @elithper for sponsoring development of Posting via GitHub Sponsors!
Full Changelog: 2.6.0...2.7.0
2.6.0 - Editing rows, compact mode, header value autocomplete, and more!
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
enteror 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
vto enter edit mode and immediately focus on the value input. - Press
escapeto cancel the edit. - Press
enterto save the changes and exit edit mode. - The background colour behind the input will update to indicate edit mode is active.
- Press
- 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.
- For example, if the header is
- Press
/to open the request search palette while the collection browser is focused.ctrl+shift+premains available as a global shortcut for this.
- Added
help: Open web docscommand 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_startupconfig is set tourl(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
- @TomJGooding made their first contribution in #243
Full Changelog: 2.5.4...2.6.0
2.5.4
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
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
A little bit of polish.
Added
- Validation and corresponding UI feedback in New Request modal.
Fixed
- Fixed crash when attempting to delete a request that doesn't exist on disk.
- Fixed being able to create requests with empty names.
Full Changelog: 2.5.1...2.5.2