Swell: API development tool that enables developers to test endpoints served over streaming technologies including Server-Sent Events (SSE), WebSockets, HTTP2, GraphQL, gRPC, and tRPC..
Finalized the codebase’s conversion to Redux Toolkit, implementing type-safe hooks as recommended by the Redux documentation. We also refactored a number of legacy functions to a more modern and streamlined hook implementation.
Addressed an outstanding issue that requested the ability to attach files on HTTP requests. You are now able to select binary in the body drop down tab and attach a file of your choice that will be sent as binary to your specified endpoint.
Dark mode has now been integrated across the application.
Numerous improvements were made to the TypeScript quality across the codebase, allowing future contributors to more easily identify imported types and minimize type errors.
Test coverage was expanded to over 60% globally, including unit, integration, and end to end testing using both Jest and Mocha. We primarily focused on the main electron controllers but expanded test coverage in numerous other areas, including testing for new features.
Implemented a Content Security Policy (CSP) into the Electron and webpack bundle to generate nonce values for all scripts and styles in order to reduce the possibility of cross-site scripting attacks.
Documentation for Swell was already quite good for an open-source project, but we made quite a few improvements. Most notably, we added in-depth, step by step instructions for WSL users on how to properly set up your dev environment to work on an Electron app.
Testing
TypeScript
GET
and GraphQL QUERY
requestsTest
tab in the response pane to view assertion testing results-Added support for all three types of tRPC query methods: Query, Mutation, Subscription. -Support for tRPC Batch requests
-Added resizable panels between composer, response, and workspace. -Added user feedback when selecting between web communication protocols.
-Fixed a bug where selecting the WebRTC protocol would occasionally cause the application to crash.
Full Changelog: https://github.com/open-source-labs/Swell/compare/v1.0.0...v1.10.1