Releases: darrenburns/posting
1.13.0
What's Changed
With this release, Posting will watch loaded environment files and refresh the UI to reflect changes in them. There's some new config for hiding the collection browser on startup too, and a bunch of smaller changes. See the log below for more info.
Added
- New
collection_browser.show_on_startup
config to control whether the collection browser is shown on startup. - Watch for changes to loaded dotenv files and reload UI elements that depend on them when they change.
Changed
- Upgraded all dependencies.
- Remove
pydantic-settings
crash workaround on empty config files. - Renaming
App.maximized
as it now clashes with a Textual concept. - Removed "using default collection" message from startup.
Fixed
- Fixed crash while rendering error message on timeout.
Full Changelog: 1.12.3...1.13.0
1.12.3
What's Changed
- Upgrade textual by @darrenburns in #94
- Catch possible pyperclip exception if no clipboard mechanism installed by @seapagan in #98
New Contributors
Full Changelog: 1.12.1...1.12.3
Note: 1.12.2 was yanked. It's equivalent to 1.12.1.
1.12.1
Fixed
- Fix "invalid escape sequence" warnings on Python 3.12+
- Fix buttons in request deletion confirmation modal not being usable with the enter key.
Full Changelog: 1.12.0...1.12.1
1.12.0
Added
- Methods in the collection browser (sidebar) are now coloured.
- Add (work-in-progress) Guide: https://posting.sh/guide/
Full Changelog: 1.11.0...1.12.0
1.11.0
Added
- Duplicate request (with new request popup) under cursor in tree with
d
. - "Quick" duplicate request (without new request popup, request name is auto-generated) under cursor in tree with
D
(shift+d
). - Delete request (with confirmation modal) under cursor in tree with
backspace
. - "Quick" delete request (without confirmation modal) under cursor in tree with
shift+backspace
. - "Quit Posting" added to command palette.
- Move the sidebar to the right or left using
collection_browser.position: 'right' | 'left'
config. - Refinements to "galaxy" theme.
- "galaxy" theme is now default.
- Help text added to "empty state" in the collection browser.
- Extend info in the "Collection Browser" help modal.
- Visual indicator (a red bar on the left) on Input fields that contain invalid values.
- Toast message now appears when trying to submit the 'new request' modal with invalid values.
Fixed
- Ensure the location of the request on disk in the
Info
tab wraps instead of clipping out of view. - Inserting requests in sorted position on creation.
- Prevent creating requests with no name.
- Prevent submitting paths in the file-name field in the new request modal.
- Prevent specifying paths outside of the open collection dir in the directory field in the new request modal.
- Fix variables not being substituted into several fields, including auth.
Changed
- Upgrade to Textual version 0.76.0
- Change logic to render bindings in help modal to reflect new Textual API.
- Sort order of requests in the tree improved.
1.10.1
- fix: Disable Textual's
AUTO_FOCUS
behaviour, as it was causing focused widget to change unexpectedly on unmounting a screen.
Full Changelog: 1.10.0...1.10.1
1.10.0
Better user defined themes
Posting's theme system has received an upgrade 🛠️ 🎨
100% of the UI is now colored based on the chosen theme - including syntax highlighting!
You can also now target more specific elements in the UI with your themes, for times where you disagree with Posting's use of semantic colors.
In the GIF below, keep an eye on the text in the URL bar, and the syntax highlighting of the JSON displayed in the text area.
With recent changes to the snapshot testing system, we can check how Posting's appearance changes right inside a pull request on GitHub!
posting-svg-before-after.mov
Full Changelog: 1.9.3...1.10.0
1.9.3
- Upgrade and pin Textual at 0.74.0.
- Simplify text area theme naming conventions.
- fix: Ensure response status code border text is styled using the theme.
- fix: Ensure text area theme automatically updates when command palette is used to change theme.
Full Changelog: 1.9.2...1.9.3
1.9.2
What's Changed
- Fix check for missing colors in xresources by @SqrtMinusOne in #64
Full Changelog: 1.9.1...1.9.2
1.9.1
- Fix crash in auth form.