Releases: heilgar/nvim-http-client
Releases · heilgar/nvim-http-client
v1.4.3
- Automatic file extension detection when saving responses (.json, .csv, .xml, .html, .txt)
- Prettified buffer display for JSON, XML, and CSV responses
- CSV responses now formatted as aligned tables in the buffer
- Added :HttpResponseTab command to open the latest response buffer in a new tab
- Improved Content-Type detection for CSV (text/csv, application/csv)
- Always sanitize and re-encode JSON for valid output (jq/jmespath compatibility)
- Fixed Neovim fast event context errors with pure Lua list detection
- Save dialog now suggests correct file extension based on response type
- Improved robustness for malformed or double-encoded JSON from APIs
1.4.2
1.4.1
[1.4.1] 2025-04-05
Improved
- Context-aware Autocompletion System
- Fixed headers autocompletion in request bodies - no longer suggesting headers in the body section
- Improved script block detection for better completions in response handler scripts
- Added enhanced context detection to provide appropriate suggestions based on cursor position
- Added script-specific suggestions in response handler blocks (client.global.set, response.body, etc.)
- Maintained environment variable {{...}} completion in request bodies while disabling header suggestions
- Improved request body detection to properly recognize body sections
1.4.0
What's Changed
Added
- Intelligent Autocompletion System
- Environment variable completion with
{{
trigger - HTTP method completion at the start of requests
- HTTP header name completion with documentation
- Content type suggestions for Content-Type and Accept headers
- Adaptive filtering for better matching as you type
- Robust support for nvim-cmp
- Fallback completion for vanilla Neovim
- Caching system for recently used variables
- Context-aware completion based on cursor position
- Environment variable completion with
Full Changelog: v1.3.0...v1.4.0
1.3.0
Added
- Request Profiling Capabilities
- Detailed timing metrics for HTTP requests
- DNS resolution, connection, TLS handshake, and transfer time tracking
- Configurable display in response window
- Toggle profiling with
:HttpProfiling
command - New keybinding:
<leader>hp
to toggle profiling - Configuration options:
profiling.enabled
- Enable/disable profiling (default: true)profiling.show_in_response
- Show metrics in response (default: true)profiling.detailed_metrics
- Show detailed breakdown (default: true)
Full Changelog: v1.2.2...v1.3.0
1.2.2
v1.2.1
Full Changelog: v1.2.0...v1.2.1
v1.2.0
Added
- Resopnse window management
- New tab-based interface for resopnse history
- Timestamp-based tab naming
- Navigation between response with H/L keys
- Maximum 10 most recent responses preserved
Changed
-
Response display now uses a single split window
- All responses appear in the same window as tabs
- Improved window management and cleanup
- Better response history organization
-
Optimized buffer management for response history
-
Enhanced navigation between response tabs
Improved
- Response window behavior and consistency
- Buffer cleanup and management
- Tab navigation user experience
Responses are displayed in a dedicated split window with the following features:
Each response creates a new tab with timestamp
Latest 10 responses are preserved
Navigation:
- H - Previous response
- L - Next response
- q or - Close response window