Skip to content

Latest commit

 

History

History
404 lines (277 loc) · 33.6 KB

CHANGELOG.md

File metadata and controls

404 lines (277 loc) · 33.6 KB

Changelog

3.6.0 (2024-09-08)

Features

Bug Fixes

  • force delete scratch buffer (34f3fe9)

3.5.1 (2024-09-05)

Bug Fixes

  • scope and buf number in setting options (252d56a)

3.5.0 (2024-09-04)

Features

Bug Fixes

  • expand variables in graphql (d3acfb5)
  • gq: catch error while setting filetype (b08b2c2)

3.4.0 (2024-09-03)

Features

  • curl: add opt-in option to add --compressed (96a3a15)
  • use curl --compressed argument if Accept-Encoding includes gzip (6822112)

3.3.4 (2024-09-03)

Bug Fixes

3.3.3 (2024-09-02)

Bug Fixes

  • cookie: clean() should keep cookies (fix #434) (e2f13a2)

3.3.2 (2024-09-01)

Reverts

  • "fix(ui): use rest_nvim_result filetype for all panes (fix #424)" (4044d85)

3.3.1 (2024-09-01)

Bug Fixes

  • ui: use rest_nvim_result filetype for all panes (fix #424) (3327656)

3.3.0 (2024-09-01)

Features

Bug Fixes

3.2.1 (2024-08-30)

Bug Fixes

  • statistics: allow all curl statistics, ordering, highlight (344fdff)
  • statistics: change statistics option to list (6fc08c9)
  • statistics: fix skip curl.statistics key (1eb44cd)

3.2.0 (2024-08-26)

Features

  • command-modifiers in more subcommands (fix #419) (75c4856)

Bug Fixes

  • check if last request exist before running :Rest last (311e7da)
  • parser: handle variables in URI (2402414)
  • utils: skip lsp formatexpr (#414) (b7ab923)

3.1.0 (2024-08-25)

Features

3.0.3 (2024-08-23)

Bug Fixes

3.0.2 (2024-08-22)

Bug Fixes

  • remove tree-sitter-http from github workflow (0c3700c)

3.0.1 (2024-08-22)

Bug Fixes

  • manually run release-please (05fe751)

3.0.0 (2024-08-22)

⚠ BREAKING CHANGES

  • format to indent-size 4
  • script: modularize script runner client
  • config: rewrite config structures
  • config: rewrite configs
  • big rewrite
  • add archiving notice

ref

  • config: rewrite config structures (6583234)
  • script: modularize script runner client (c6173ec)

Features

  • add tree-sitter-http submodule (76d868c)
  • add nix. I have no idea what I'm doing but it works (434927d)
  • automatically name request by file name (ff9cf3d)
  • basic :Rest curl command (6a7699b)
  • better progress handlers (27d0faf)
  • bump version of tree-sitter-http parser (6ab4cb0)
  • client selector & libcurl client (bf41cbf)
  • commands: :Rest cookies (ee05dc5)
  • commands: :Rest open (0fbef12)
  • commands: use command-modifiers like :tab (ce55212)
  • config: ensure all options are working (0aa1c42)
  • config: more builtin request hooks (5880134)
  • cookies (611450a)
  • curl.cli: basic body support (3200046)
  • curl.cli: parse statistics (306975a)
  • custom mappings for result window (8f62a29)
  • delete unused syntax/ and tests/ dir (e62fcc1)
  • dotenv: auto-register matching dotenv file (025c9d4)
  • evaluate context sequentially (95f810a)
  • external body support (51d115e)
  • ftplugin: remove n:> from 'comments' (968c15b)
  • get rid of _G usage (16ba718)
  • guess content-type for external bodies (7c100f2)
  • handler script support (e721684)
  • lazy-loading & global user commands (47beb74)
  • parse & render status text (100626e)
  • pre-script & handler-scripts (2fec5f9)
  • print request name, url, and version in UI (01c661b)
  • queries: add empty fold.scm to enable fold (3a18c92)
  • remove external formatter, use gq instead (1741ed8)
  • run request by name (70eefb5)
  • separate context from request object (1e92829)
  • set concealcursor to nc on help window (3af7b3e)
  • treat form-urlencoded as raw-body (90c46f7)
  • ts: match queries to v3 parser version (c15b81f)
  • upgrade tree-sitter-http (a9040da)

Bug Fixes

  • rest-nvim.result is removed (78ad115)
  • allow to abort :Rest env select command (2f04e29)
  • build: proper require for luarocks.nvim breaking changes (5300ae0)
  • case-insensitive header (fc9b1f6)
  • change default HL behavior (31a5665)
  • commands: complete on command with mods (c3ff445)
  • config: require loop (9346bcc)
  • correctly urlencode query parameters (fixes #317) (38ceda9)
  • don't conceal result pane (2737024)
  • don't try to highlight over the last line (826118b)
  • enable fold in result UI (cbe31e7)
  • functions: handle highlights of winbar result with prefixed zeros (1bad966)
  • H and L keymaps are buffer local (21a9ae3)
  • handle HOST header (828cf52)
  • handle multiple space between command args (5dc89bb)
  • health: recommend using the --lua-version flag in luarocks commands (9b9ad65)
  • injection queries (58e8bca)
  • match lowercase content-type header (20c5b52)
  • minor issues (0258236)
  • minor issues (ec41cec)
  • minor issues (c2d41e5)
  • minor type issues (7ab1007)
  • parser: handle reqeust name from comment (fed6d4a)
  • parser: handler heading without value (e795f7c)
  • parser: remove line breaks from url (6af0022)
  • parser: set host based on header of strings (f01fb8e)
  • pre-request script sets variable locally (c2e7ab4)
  • response buffer fold issue (7fbc292)
  • run last: not modify body in order to use it again (9598c89)
  • set host in the context of port (3c13242)
  • test: don't run real request on test (2b61cec)
  • test: issues from different machine (e04f2c9)
  • ui.panes: handle unloaded buffer (a88b0f8)
  • ui: don't try to render image (061f65d)
  • ui: handle when content-type is not provided (b8a1bf8)
  • ui: http_version comes before code (377ad65)
  • use title field instead of manual prefix (7d1058f)
  • use vim.notify instead of logger (09358a3)

Documentation

Styles

  • format to indent-size 4 (8369aa1)

Code Refactoring

2.0.1 (2024-03-19)

Bug Fixes

  • config: proper checking for the keybinds configuration table correctness, see #306 (0277464)
  • ensure help window width is an int (af7b2ea)
  • functions: proper env variables file loading order, fixes #308 (2030bf6)
  • health: include luarocks.nvim plugin in the luarocks installation section (eff6f1b)
  • parser: make parse_request handle request TS nodes (a74e940)
  • plugin: improve log message when a dependency was not found (abfc4b2)

2.0.0 (2024-03-18)

⚠ BREAKING CHANGES

  • release v2, it's finally here :)
  • parser: do not read environment files during the parsing process

ref

  • parser: do not read environment files during the parsing process (5c34314)

Features

  • config: add decode_url configuration option to the result.behavior table (070660b)
  • curl: encode URL query parameters using cURL flags (16284ba)
  • env_vars: add a quiet parameter to read_file to decide whether to fail silently if an environment file is not found, some cleanups (ee3f047)
  • re-implement pre and post request hooks, load env variables from environment file before running the requests (b8cfe07)
  • release v2, it's finally here :) (72e2662)
  • utils: expose a escape function to encode strings, meant to be used by extensions to encode URLs in case their clients does not provide an encode utility (c3dca4a)

1.1.0 (2024-02-12)

Features

Bug Fixes

  • add host before url only if it starts with '/', otherwise it probably starts with 'http' (f3d319f)
  • return non json body (543b64c)
  • telescope: doc and check select is nil (e862e72)

1.0.1 (2024-01-24)

Bug Fixes

  • ci: run luarocks CI on new releases too and let us run the CI manually (6ce1f76)

1.0.0 (2023-11-29)

Features

  • add callbacks (dcea003)
  • add config option for custom dynamic variables (3da902d)
  • add config.show_curl_command (aea7c64)
  • add formatting CI so I don't have to care about formatting myself (28a146d)
  • add luacheck (WIP) (64eb52f)
  • add selene linter CI (28eaf15)
  • add support for custom formatters (b98ee9e)
  • add support for passing flags to curl (3c46649)
  • add tree-sitter parser instructions, remove syntax highlighting lazy-loading. Closes #30 (1831a5f)
  • add verbose command to preview cURL requests (f04b205)
  • adding a RestLog command (f1597ab)
  • adding rockspec (f87117d)
  • allow selecting of env files with command (090e253)
  • allow skipping SSL verification, closes #46 (#50) (cd6815d)
  • apply jq formatting on any JSON content-type, see #61 (155816b)
  • be able to use environment variables in headers (b44e602)
  • better syntax highlights in http result (5b21f91)
  • ci: add releaser CI to automate semver (e0ca3ef)
  • config option for custom environment variables file (#83) (2542929)
  • defer splicing as late as possible (f811cfe)
  • doc: use treesitter injection (#243) (8b62563)
  • dont display binary output in answer (5ebe35f)
  • implement document vars, fix #68 (7e45caf)
  • implementing backend-agnostic run_request (87941ab)
  • initial statistics implementation (091d160)
  • introduce a testing framework (d34e1b8)
  • introduce stringify_request (7b21a36)
  • log failed request in logfile (8373dcd)
  • make it possible to not inline external file (248a07c)
  • move highlight option to per-query options (09143ad)
  • refactor writing to buffer (e326b56)
  • running a response script to set env (090e253)
  • support variables in path towards the file to load as well (ef06dae)
  • update highlights query (713ba63)
  • update tree-sitter setup, http parser got merged into nvim-treesitter (759bf5b)
  • use size and time default transformers (d60951c)
  • yank executable curl cmd (b635ff2)

Bug Fixes

  • get_auth was always returning nil (d6aeecb)
  • 51: body_start is calculated correctly even if the last request has (52448f5)
  • add http highlights file to repository (da70732)
  • add ignore http version (383af39)
  • ci/formatter: remove init.lua reference (ca6ba49)
  • ci: add missing stylua version field to formatter (9515f59)
  • ci: change linter job name to luacheck (b971076)
  • curl: check if b:current_syntax exists before trying to unlet it (ad7ac9f)
  • curl: return a better error message, see #16 and #17 (2ed39f1)
  • disable interpretation of backslash escapes in response body (d5a4022)
  • disable interpretation of backslash escapes in response body rendering (275c713)
  • document renamed variable (6e73def)
  • env var interpolation regex expression (#53) (e0f023e)
  • error handling for formatters (dc10994)
  • error when run_request is run without { verbose = XXX } (25761da)
  • escape single quotes in response body (59d5331)
  • escape single quotes in response body (da30eef)
  • find next request line when the verb is 'DELETE' (3ee124d)
  • formatter for html (e5e364f)
  • hardcoded lower casing of content-type (17ab07d), closes #157
  • httpResultPath match (#245) (5bd5713)
  • ignore commented lines as it should be (0096462)
  • include documentation on rockspec (c63c780)
  • inconsistency in rockspec (8f0232b)
  • init: squashed some luacheck errors (d5a0b5e)
  • log: dont hardcode log level (867cde3)
  • missing argument to end_request (2826f69), closes #94
  • parsing of curl arguments (48a7c85)
  • parsing of headers and json body (88ff794)
  • parsing of nested tables in request body (46441b6)
  • proper comments parsing regex. Closes #29 (fb35b85)
  • proper regex for env variables and json body detecting (850f01e)
  • proper search regex for json body start/end (2d970d0)
  • quotes (761bd07)
  • readme table layout (7184d14)
  • README: set proper repository for license badge (de5cb9e)
  • README: use a consistent coding style in packer example (36351d8)
  • remove stylua edits (0d22f4a)
  • remove unnecessary edits (042d6d2)
  • Removed forgotten print (e1482ea)
  • result_split_horizontal config getter (948cf14)
  • tidy adding meta tags (8b7d9df)
  • typo in lua docstring (aa63d33)
  • undefined api (4b1ae8a)
  • use config.get to read skip_ssl_verification setting (4b8608e)
  • yank curl command which includes double quotes (1d76b3a)

Reverts

  • removed error logging from curl (877291e)
  • temporarily revert stylua changes (91795ef)