Skip to content

Releases: chapar-rest/chapar

v0.4.1

21 Jul 20:38
98646e1
Compare
Choose a tag to compare

New Features

This release introduces several new features, improvements, and internal changes.

🐍 Post-Scripts Support with Python

Chapar now supports post-request scripts written in Python! For example:

import chapar

print("print test")
print("content-type", request.headers['Content-Type'])

def on_response(response):
    if response.status_code == 200:
        chapar.set_env('Stage_token', response.json()['Token'])
    else:
        print('Error:', response.text, response.status_code)

chapar.on_response = on_response

This allows users to define custom logic to run after a request completes. In this first version, Chapar runs scripts inside an isolated Docker environment. You’ll need to enable scripting before using this feature.

More scripting capabilities and APIs will be added in future releases.


⚙️ Settings Page

By popular demand, Chapar now has a Settings page!
Many users asked for the ability to store their data in a custom location. That led to a refactor of how Chapar manages data and configuration files.

With the new settings page, you can:

  • Change the data storage location
  • Customize editor preferences
  • Adjust general application settings

🖥️ Console Section

A new Console section has been added to the bottom of the application.
It displays:

  • Application logs
  • Output from print() statements in your scripts

This makes debugging and visibility much easier.


🔔 Notifications

Chapar now includes a Notifications section in the footer.
It shows important messages such as:

  • When the scripting server starts
  • Errors or events that need your attention

Note: This feature is still limited but will be expanded in future updates.


🧹 Code Improvements


🧑‍💻 New Contributors


🔗 Full Changelog: Compare v0.3.4...v0.4.0

v0.3.4

10 Mar 19:21
c764687
Compare
Choose a tag to compare

What's Changed

New Features:

  • Response variables its provide a tools to extract more than one variable from the response.
  • Search Bar in header Now by simply hitting the CMD/CRL+F you can search in the workspace. by hitting the Enter you can open first item on the search results.

Changes:

  • Storage Refactor Storage layer is rebuilt to enable implementations it for different storage backends.

Full Changelog: v0.3.3...v0.3.4

v0.3.3

29 Jan 20:54
83da84c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.2...v0.3.3

v0.3.2

16 Jan 12:15
3fa1000
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.3.2

v0.3.1

27 Oct 14:30
ab84e5f
Compare
Choose a tag to compare

What's Changed

  • improve response section by @mirzakhany in #100, now we are using the code editor to render the response which provides better user experience and syntax highlighting.
  • refresh windows after open view containers by @mirzakhany in #99

Full Changelog: v0.3.0...v0.3.1

v0.3.0

20 Oct 19:16
1b4bde1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.9...v0.3.0

v0.2.9

10 Oct 21:20
1ffdb79
Compare
Choose a tag to compare

This release is made to fix failed windows build in previous one.

v0.2.8

09 Oct 19:43
dc36a72
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.7...v0.2.8

v0.2.7

23 Sep 19:56
a18ce62
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.6...v0.2.7

v0.2.6

30 Aug 19:56
3891d97
Compare
Choose a tag to compare

What's Changed

  • re build notification widget by @mirzakhany in #74
  • fix: remove post request error dialog, it was interrupting the use will changing the post request config. by @mirzakhany in #76

Full Changelog: v0.2.5...v0.2.6