Skip to content

Releases: heilgar/nvim-http-client

v1.4.3

26 Apr 20:45
Compare
Choose a tag to compare
  • 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

08 Apr 19:11
9df88ea
Compare
Choose a tag to compare

What's Changed

  • fix: "attempt to index local 'config' (a nil value)" when running :HttpEnvFile by @valchx in #9

New Contributors

  • @valchx made their first contribution in #9

Full Changelog: v1.4.1...v.1.4.2

1.4.1

05 Apr 15:30
Compare
Choose a tag to compare

[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

03 Apr 21:44
c1935a2
Compare
Choose a tag to compare

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

Full Changelog: v1.3.0...v1.4.0

1.3.0

03 Apr 21:02
Compare
Choose a tag to compare

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

26 Jan 22:01
Compare
Choose a tag to compare
  • Improved JSON response formatting
    • Fixed display of null values in JSON responses
    • Added proper handling of vim.NIL to null conversion

v1.2.1

09 Jan 00:21
Compare
Choose a tag to compare

Full Changelog: v1.2.0...v1.2.1

v1.2.0

30 Dec 05:58
f66f271
Compare
Choose a tag to compare

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

v1.1.0

17 Sep 23:38
f4e7352
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.1.0

v1.0.0

17 Sep 06:33
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/heilgar/nvim-http-client/commits/v1.0.0