Skip to content

Releases: Julien-cpsn/ATAC

v0.15.1

03 May 10:13
5500fe6
Compare
Choose a tag to compare

Added

  • You can now use YAML to store your collections! The default format still is JSON. #30
    • If you want to use yaml by default, add preferred_collection_file_format = "yaml" to your app config file. All the new collections will have the yaml format.

Improved

  • Replaced all std RwLocks by parking_lot RwLocks to gain speed and reduce data size.

Fixed

  • Fixed a bug where you could not use the app if you did not have an environment #60 #62

v0.15.0

01 May 17:29
Compare
Choose a tag to compare

❗IMPORTANT❗

  1. The priorities have been reorganized. There no more "v2.0.0", all the elements have been moved to the "v1.0.0" section. This change has been made in order to clearly tell that the features will be implemented in a near future. Also, all the "v3.0.0" have been moved to "v2.0.0"
  2. We now have discussions!!! 🤌
  1. I am actively searching for 1-2 testers that will help me to quickly test the features before they come out (apply here: #53)

Added

  • Added pre and post-request scripts!!!!!!! 🎉
    • You can use basic Javascript in the script text areas. E.g. fetch is not usable.
    • You have to add this to your existing collections:
{
...request...
    "scripts": {
        "pre_request_script": null,
        "post_request_script": null
    },
}
  • The console tab will display every console.log and errors used within the scripts

  • You can manipulate the request variable, it litterally represents the data that ATAC uses

    • Accessible: name, url, method, params, headers, body, auth and settings
  • You can also manipulate the env variable, to get and set your environment variables. They then will be saved into your environment file.

    • Accessible: env.get('KEY') and env.set('KEY', data)
  • A pretty_print(...) method is implemented by default. It will stringify your data to JSON and then print it.
    image

  • Image responses can now be visualized directly from ATAC! 👀

    • Images can be copied onto the clipboard (like a regular response body)
    • In classic terminals, the image will be rendered using characters. In terminals that support the Kitty protocol, the real image will be displayed.
    • The image preview can be disabled in the config file atac.toml by setting disable_images_preview = true
      image

Improved

  • Added response headers highlighting #31
  • Added pre and post-request import from Postman

Fixed

  • Fixed delete/backspace being inverted on the body text area

v0.14.0

23 Apr 14:02
Compare
Choose a tag to compare

Towards v1.0.0 at the speed of light!! 🎉🎉🥳

Added

  • Added configurable key-bindings. They can be configured by putting a path to your config file in the ATAC_KEY_BINDINGS environment variable. Don't wait to create yours! #10
    • Two example config files have been put inside the key_bindings_templates folder
    • When editing a key-bindings config file, you can either use the VimEmulation or the Custom options to edit text areas (like the text body). The VimEmulation implements most of the Vim key-bindings from the original software like many modes.
    • You can create a pull request to add new key-bindings config files that you find pertinent to add (not your crackhead one please)
  • Totally reworked the key-bindings help, the help on the bottom right now shows your current key-bindings. You can also access a help popup at any time to show all the hidden shortcuts and actions by pressing Ctrl-h on the default key-bindings config.
  • You can now yank to your clipboard a part of the request's reponse by pressing y on the default config. Thanks to @NachoNievaG #24
  • Added the Javascript body content-type

Improved

  • Added env variables to the file body content-type
  • Javascript and File content-type can now be imported from Postman
  • We now have a typo check CI thanks to @ccoVeille
  • Now on Fedora copr thanks to @joxcat
  • Now on the official Arch repos thanks to @orhun

Fixed

  • Quick fix refreshing response scrollbars after receiving a response

v0.13.0

18 Apr 20:54
Compare
Choose a tag to compare

Added

  • If no directory is specified with --directory -d, the application will try to get one from the ATAC_MAIN_DIR environment varable
  • Automatically pretty print the response content #27
    • It can be deactivated within each request settings
      image
    • You have to upgrade the requests settings in your collection json files from:
{
...request...
    "settings": {
        "use_config_proxy": true,
        "allow_redirects": true,
        "store_received_cookies": true
    }
}

to:

{
...request...
    "settings": {
        "use_config_proxy": true,
        "allow_redirects": true,
        "store_received_cookies": true,
        "pretty_print_response_content": true
    }
}
  • For now, only supports JSON (open an issue if other formats are needed)

Improved

  • Automatically use the selected collection in the request creation popup #25
  • When in the params-only view, the tab key changes the params tabs. When in the result-only view, the tab key chanegs the result tabs.
  • Reworked error printing that concerns "human" errors in order to be more readable (e.g. the app trying to parse a malformed collection file).
  • Lowered the release binary size by 25% to 40% depending on your OS thanks to https://github.com/johnthagen/min-sized-rust

Fixed

  • Fixed a bug where param tabs are still processed and displayed when you were in the result only view #15
  • Fixed a bug where you couldn't get the first collection when using the create request popup #20
  • Fixed a bug where the log file was created even when you were in --dry-run

v0.12.0

16 Apr 22:03
ce8eb84
Compare
Choose a tag to compare

Added

  • Now you can use File content-type, you will need to write down the file's path in the input box as follow:
    image

Improved

  • Reworked text inputs to show ellipsis if the text is too long and to allow edition further
  • Removed panic when seeing an unknown file type #11
  • "Create request" option appeared when there was no collection, now directly jumps to creating a collection #12
  • Add AUR instructions #9

v0.11.3

15 Apr 20:58
Compare
Choose a tag to compare

Added

  • Now available on homebrew!

Improved

  • Key binding rework to avoid some keys not getting registered properly (crossterm-rs/crossterm#685)
  • Added funding button (donation are not needed, but still welcome!)
  • Updated the demo GIF !!! 🥳 🎉

Fixed

  • Fixed result scrollbar not getting refreshed when selecting a new request

v0.11.2

15 Apr 14:39
Compare
Choose a tag to compare

Improved

  • Added Multipart form, UrlEncoded form and settings in Postman import

Fixed

  • Fixed a crash bug when a content-type was provided in a response but the content could not be syntax highlighted

v0.11.1

15 Apr 12:38
Compare
Choose a tag to compare

Improved

  • Added horizontal result scrolling
  • Can expand a collection by pressing Enter
  • Can move up and down requests inside a collection
  • Now calculates the syntax highlighted result only once instead of one time per frame, resulting in high performance gain

v0.11.0

24 Mar 22:16
Compare
Choose a tag to compare

Features

  • Added cookies visualization

Improved

  • Improved popups placement

v0.10.1

17 Mar 04:00
Compare
Choose a tag to compare

Improved

  • Better key help
    • Default: only the keys available (e.g. (u))
    • When (h)elp is pressed: full keys name (e.g. (u)rl)
  • Added CORS disabling via the config file
  • Added collection and request renaming