Releases: Julien-cpsn/ATAC
Releases · Julien-cpsn/ATAC
v0.18.1
Very busy with my PhD lately, but I'll try making some new updates!!!
Thanks a lot for (almost) 2k stars <3
Improved
- Added goto
Start
andEnd
for single-line inputs (Home and End keys) #114 - Updated dependencies (Ratatui v0.29.0 is yet to come because of other deps)
Fixed
v0.18.0
Some more colors and customization 🌈
Added
- 🌺🌈 | You can now use your own themes as you like! (#100)
- Set the
ATAC_THEME
environment variable to point toward a theme file (.toml) - The default theme file and 6 other example themes are included here: https://github.com/Julien-cpsn/ATAC/tree/main/example_resources/themes (you can see them all below)
- If you feel proud of your themes, make a PR to add them to the pool!!
- Set the
- 📁 | The application will now try to use
config
directory if no directory was specified (-d
or viaATAC_MAIN_DIR
). An example would in my case be:/home/julien/.config/atac/
(#68) @namespaceYcZ- You can avoid using
-d
orATAC_MAIN_DIR
if you prefer
- You can avoid using
- ❌ | You can now cancel a pending request by pressing the
send
key before receiving a response or timeout (#82, #95) @ficolas2 - 🤷 | It is now possible to accept invalid hostnames. You have to update your collection files.
{
...request...
"settings": {
"use_config_proxy": true,
"allow_redirects": true,
"store_received_cookies": true,
"pretty_print_response_content": true,
"accept_invalid_certs": false,
"accept_invalid_hostnames": false
}
}
- 🐋 | We now have a docker package, pull the image from https://hub.docker.com/repository/docker/juliencaposiena/atac/general (#96) @alan910127
Improved
- You can now press
ctrl-c
to exit the app while a request is selected (#50) @NachoNievaG
Fixed
- Fixed directory problem with completions and man commands (#104) @orhun
- Fixed some minor CLI comments
v0.17.0
A big wait for a big reward 🎉
Added
- ⌨ | ATAC is now FULLY usable by CLI!!!!! (please use it a lot, it cost me 40h+ of my life)
- You can find the list of all commands below
- The
-h|--help
flag or help command is available everywhere, abuse it if you need - A great start can be to use the
atac completions <SHELL_TYPE>
command to generate completion files - Another great start could be to generate the man pages with the
atac man
command - Ya like cURL? Behold
atac try
which is a one-shot request sender (like cURL)
- 📜 | Totally reworked the log system, now almost everything is getting logged. Also, the log file now really contains logs (incredible I know). @v3rmine @i5.650
- Modulate the verbosity with
-v|vv|vvv|vvvv
or-q
- Deactivate ANSI formatting with
--no-ansi-log
- Modulate the verbosity with
- 🌱 | Added reserved environment variables, they will automatically be replaced by their value
{{NOW}}
{{TIMESTAMP}}
{{UUIDv4}}
{{UUIDv7}}
- ☠ | Possibility to allow invalid certificates (#99). @ficolas2
Please update your collections as follows:
{
...request...
"settings": {
"use_config_proxy": true,
"allow_redirects": true,
"store_received_cookies": true,
"pretty_print_response_content": true,
"accept_invalid_certs": false
}
}
Improved
- 🔥 | Added multithreaded parallelization to a lot of iterators (for loops). Now parses, finds and collects data faster! (blazingly fast)
- 🤷 | Improved auth data structure
- Basic auth
{
...request...
"auth": {
"basic_auth": {
"username": "user",
"password": "pass"
}
}
}
- Bearer token
{
...request...
"auth": {
"bearer_token": {
"token": "my_bearer="
}
}
}
- 🖊 | Improved the documentation. If something is missing, please contribute! @Zacktamondo @Cephra
- ⬆ | Updated all dependencies
Fixed
- Body environment variables not getting replaced by their value (#101) @anussel5559
- Enormous cosmetic change, thanks @orhun (#89)
List of all the commands (+ a lot of flags & options):
atac
- collection
- list
- info
- new
- delete
- rename
- send (all requests from the collection)
- request
- info
- new
- delete
- rename
- url
- method
- params
- auth
- headers
- body
- scripts
- send
- settings
- try
- env
- info
- key
- get
- add
- set
- delete
- rename
- import
- postman
- curl
- completions
* bash, powershell, fish
- man
v0.16.0
❗IMPORTANT❗
- I have been extremely busy lately, but I am gaining some more free time. Also, some major updates are getting worked on parallelly (CLI, export, documentation, increase performances, libc linking)
- We now have a documentation!! https://atac.julien-cpsn.com/
- Please notice that it is still very WIP, a lot of pages are missing, but you can contribute by making PRs on the git repo (or press the edit button on the page you want to edit)
Added
- Import from cURL! #66 You can use it with
atac import curl my_request_file_path my_collection
example cURL file:
curl 'https://httpbin.org/put' \
-X PUT \
-H 'Content-Type: application/json' \
-d 'test'
- You also have a
--recursive
or-r
option to import request recursively starting from the selected path (also check--max-depth <MAX_DEPTH>
) - Some things are not supported yet, such as forms.
Improved
- Updated a lot of dependencies versions, so various bug fixes and performances improvements are linked to this.
- Improved key helper readability #77
- Add support for home directory symbol (~) in file paths #78
Fixed
- Resolved major typo (horrifying) #70
v0.15.1
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.
- If you want to use yaml by default, add
Improved
- Replaced all std RwLocks by parking_lot RwLocks to gain speed and reduce data size.
Fixed
v0.15.0
❗IMPORTANT❗
- 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"
- We now have discussions!!! 🤌
- You can give your feedback on new releases here: https://github.com/Julien-cpsn/ATAC/discussions/categories/release-feedback
- Feel free to create some more topics
- 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
andsettings
- Accessible:
-
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')
andenv.set('KEY', data)
- Accessible:
-
A
pretty_print(...)
method is implemented by default. It will stringify your data to JSON and then print it.
-
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 settingdisable_images_preview = true
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
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
folderkey_bindings_templates/default_key_bindings.toml
key_bindings_templates/vim_key_bindings.toml
thanks to @diego-rapoport @kayuxx @ndtoan96 @NachoNievaG
- When editing a key-bindings config file, you can either use the
VimEmulation
or theCustom
options to edit text areas (like the text body). TheVimEmulation
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)
- Two example config files have been put inside the
- 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
Added
- If no directory is specified with
--directory
-d
, the application will try to get one from theATAC_MAIN_DIR
environment varable - Automatically pretty print the response content #27
{
...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
v0.12.0
v0.11.3
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