Commit graph

52 commits

Author SHA1 Message Date
James George
a40c491f7a chore: bump version to 2026.2.0 2026-02-23 17:46:08 +05:30
James George
32114fc8ef chore: bump version to 2026.1.1 2026-02-04 22:54:23 +05:30
James George
8991f2a490 chore: bump version to 2026.1.0 2026-01-23 21:18:39 +05:30
Shreyas
c64928885f
feat(desktop): host mapping infra for cloud orgs (#5795) 2026-01-23 15:07:44 +05:30
Shreyas
b3b609d0b4
perf(desktop): cache store path resolution (#5747) 2026-01-06 14:08:29 +05:30
James George
9693a82a87 chore: bump version to 2025.12.1 2026-01-05 16:15:09 +05:30
James George
440868d635 chore: bump version to 2025.12.0 2025-12-19 17:19:24 +05:30
James George
3527f217c9 chore: bump version to 2025.11.2 2025-12-10 18:58:30 +05:30
Shreyas
87d1cccb82
feat(desktop): atomic write for registry persistence (#5658)
This implements atomic writes for registry.json using a temporary file and renaming to prevent file corruption on Windows 11.
2025-12-04 14:34:22 +05:30
James George
77d0956180 chore: bump version to 2025.11.1 2025-12-03 23:02:12 +05:30
Shreyas
ce026d5cef
chore(desktop): bump desktop shell dependencies (#5612)
This updates Hoppscotch Desktop (Shell) dependencies to align with
 `v2025.11.0` security patch and other dependency chain.

---------

Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-11-24 21:09:50 +05:30
James George
8b164f9e31 chore: bump version to 2025.10.1 2025-11-13 00:11:21 +05:30
jamesgeorge007
457ca12be9 chore: bump version to 2025.10.0 2025-10-27 23:04:50 +05:30
Shreyas
ecf7d2507a
feat(relay): control redirect follow (#5508)
Add per-domain toggle to disable automatic HTTP redirect following in
 the Native and Agent interceptors. When disabled, requests return the
 redirect response (status code, headers, body) without following the
 Location header.

 Previously HTTP redirects were always followed (on browser, can't do
 much about that, see
 https://fetch.spec.whatwg.org/#atomic-http-redirect-handling) without
 option to inspect the redirect response itself. This prevented
 developers from accessing redirect metadata needed when testing OAuth
 flows (PKCE where intermediate responses contain authorization tokens),
 authentication endpoints that return codes in Location headers with 302
 status, and debugging API redirect chains. But on the desktop app,
 redirects were just never followed, creating the opposite effect.

 The browser's fetch API applies atomic HTTP redirect handling per spec,
 making it impossible to intercept redirects and inspect their responses.
 The Native and Agent interceptors use curl and native HTTP clients
 respectively, both supporting redirect control, making this feature
 viable for these specific interceptors. (Proxyscotch tbd).
2025-10-27 17:41:58 +05:30
jamesgeorge007
d80ea5d214 chore: bump version to 2025.9.2 2025-10-07 17:22:25 +05:30
jamesgeorge007
6bbfb9b8b7 chore: bump version to 2025.9.1 2025-10-01 11:18:38 +05:30
Shreyas
6beca5c787
fix(native): bump tauri-plugin-shell to v2.2.1 (#5402)
Updates `tauri-plugin-shell` from vulnerable version to `v2.2.1` to
 address `CVE-2025-31477` in `open` around scope validation.

 Affects both `hoppscotch-agent` and `hoppscotch-desktop`.

 Closes FE-1022
2025-09-24 21:48:06 +05:30
jamesgeorge007
93d2e53885 chore: bump version to 2025.9.0 2025-09-24 19:47:28 +05:30
Shreyas
3be91a4a51
fix(relay): multiple Set-Cookie headers in resp (#5394)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-09-23 17:14:29 +05:30
jamesgeorge007
75ec412076 chore: bump version to 2025.8.1 2025-09-02 15:22:35 +05:30
Shreyas
eb8487fc82
fix(desktop): rebase with appload mirror and hash (#5351)
The rebases and updates desktop's `@hoppscotch/plugin-appload`
 dependency from branch-based ref to specific commit hash to resolve
 Docker build failures.

 Branch-based GitHub dependencies require `git` in the build environment.
 Our Dockerfile stages didn't install `git`, which caused `pnpm install`
 to fail with `spawn git ENOENT`. Using a commit hash allows `pnpm` to
 fetch the tarball directly without requiring `git`.
2025-08-27 09:52:49 +05:30
Shreyas
f234e66078
feat(desktop): portable phase-2 app loader infra (#5341)
This implements backend path management, backup system, cross-platform utilities, and refactors the `appload` plugin arch to support portable mode deployment.

The changes are mainly establishing foundational infra maintaining current frontend behavior until phase-3+ integration.
2025-08-26 20:48:31 +05:30
jamesgeorge007
6ae85ea9fa chore: bump version to 2025.8.0 2025-08-25 12:10:44 +05:30
Shreyas
a0fbb7b076
chore(native): bump and align dependencies (#5331)
- This standardises package versions between desktop, agent, appload, relay
  all the native components to resolve version inconsistencies and prepare
  for unified bumps in the future.

- Account for recent minor dependency bumps as a follow-up to #5329

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-08-21 16:24:30 +05:30
jamesgeorge007
43c025fa5e chore: bump version to 2025.7.0 2025-08-08 14:13:48 +05:30
Shreyas
137e95e873
fix(relay): expand MIME type support (#5306)
This fixes file uploads incorrectly showing MIME type as "Other" instead
 of their actual content types by expanding the `MediaType` enum relay
 to include common audio, video, and image formats.

 Basically `MediaType` enum is used for both `ContentType` which would
 map to `ContentType` from `hoppscotch-data` (e.g. `multipart/form-data`)
 but also to `FormValue` in `interop`
 ```rust
 pub enum FormValue {
     ...
     File {
         filename: String,
         content_type: MediaType,
         data: Bytes,
     },
 }
 ```
 although the later should be much more pervasive.

 This is a follow up on #5244

 Closes FE-887
 Closes #3810
 Closes #5223
 Closes #5233

 The issue occurred because the `relay`'s `MediaType` couldn't deserialize
 beyond the basic types (text, JSON, XML, etc.), lacked support for
 other media file types. The TypeScript layer correctly detected MIME
 types (e.g., "audio/x-m4a"), but the deserialization process fell back
 to `MediaType::Other`. Main reason for servers performing strict MIME
 validation to reject uploads.
2025-08-08 13:51:46 +05:30
Shreyas
eb2cc58dca
feat(desktop): explore random port for IPv6 compat (#5311)
This attempts to resolve app startup failures on Linux systems
where IPv6 is disabled at the kernel level by replacing the dual-stack
port selection logic with network interface discovery.

Closes FE-912
Closes #4962
2025-08-08 13:40:02 +05:30
jamesgeorge007
1537734374 chore: bump version to 2025.7.0 2025-07-28 23:48:07 +05:30
Shreyas
899db05ab8
feat(desktop): portable phase-1 foundational: infra & build (#5259) 2025-07-24 15:45:48 +05:30
jamesgeorge007
636d350c0f chore: bump version to 2025.6.1 2025-07-14 14:28:51 +05:30
Shreyas
39124fb50d
fix(desktop): disk space detection on overlay fs (#5226) 2025-07-11 13:32:15 +05:30
Shreyas
b1d4ad2bf8
chore(desktop): update typescript bump hash (#5199) 2025-06-26 11:38:18 +05:30
jamesgeorge007
d674a2e8d2 chore: bump version to 2025.6.0 2025-06-25 14:15:29 +05:30
jamesgeorge007
580cf60766 chore: bump version to 2025.5.4 2025-06-24 14:44:25 +05:30
jamesgeorge007
8a88016d00 chore: bump version to 2025.5.2 2025-06-18 18:05:26 +05:30
jamesgeorge007
9493b30a84 chore: bump version to 2025.5.2 2025-06-10 14:11:38 +05:30
Shreyas
26cb342969
fix(desktop): arrow inserting escape sequences (#5108)
The unstable flag was causing arrow keys to
display ANSI escape sequences as literal text
instead of performing cursor navigation.

For example the arrow keys in URL input fields
display escape sequences (`^[[C, ^[[D, ^[[A, ^[[B`)
as literal text.

Closes HFE-880
Closes #5102

The unstable feature flag was originally added to
support experimental features that were required
for functionality that is no longer needed
in the current implementation.

See:
- [Tauri Issue #9257] - Keyboard shortcuts broken with unstable flag
- [Tauri Issue #10194] - Arrow keys printing invalid characters
- [Wry Issue #1177] - Related macOS input handling issues
2025-06-06 14:17:30 +05:30
jamesgeorge007
caeddac94c chore: bump version to 2025.5.1 2025-05-29 15:14:19 +05:30
jamesgeorge007
a80573603b chore: bump version to 2025.5.0 2025-05-27 13:35:29 +05:30
Shreyas
2ecc60ad1a
feat(desktop): complete lifecycle logs (#5044) 2025-05-21 15:26:16 +05:30
jamesgeorge007
b5e19c9d46 chore: bump version to 2025.4.2 2025-05-08 15:38:54 +05:30
jamesgeorge007
9e8ecd97d0 chore: bump version to 2025.4.1 2025-05-07 16:21:39 +05:30
jamesgeorge007
3219cb3b5d chore: bump version to 2025.4.0 2025-04-25 20:47:28 +05:30
Shreyas
fbeb0e56be
feat(desktop): file-based logs with rotation (#5009)
This PR adds a file-based logging system with size-based rotation to the desktop application. It essentially redirects existing diagnostic to size-based rotating files for troubleshooting environment-specific issues.

Closes HFE-801

The desktop application currently lacks a persistent logging mechanism in production environments. Logs are only available through the development mode console.

This PR will help diagnose issues reported in #4859, #4950, #5003, discussions #4984 and #4986.

Mainly aiming to understand errors in specific environments that can't be reproduced in our testing setups.

This implementation uses the tracing ecosystem (`tracing`, `tracing_subscriber`, `tracing_appender`) along with `file_rotate` to create log files in the platform's log directory. The logs are automatically rotated when they reach `10MB`, with a maximum of `5` files retained.

Thinking 10 * 5 MB is reasonable disk usage while maintaining sufficient history.

The system currently writes to both the console (with ANSI colors where supported) and to files (without ANSI formatting for readability). Log levels are currently controlled via the `RUST_LOG` environment variable, defaulting to "debug" when not specified.

| OS      | Log File Path                                        |
|---------|------------------------------------------------------|
| Windows | `C:\Users\<username>\AppData\Local\io.hoppscotch.desktop\logs\io.hoppscotch.desktop.log` |
| macOS   | `~/Library/Logs/io.hoppscotch.desktop/io.hoppscotch.desktop.log` |
| Linux   | `~/.local/share/io.hoppscotch.desktop/logs/io.hoppscotch.desktop.log` |
2025-04-25 17:09:51 +05:30
jamesgeorge007
236db8396b chore: bump version to 2025.3.2 2025-04-15 13:16:56 +05:30
jamesgeorge007
9a5b5323ab chore: bump version to 2025.3.1 2025-04-09 19:47:01 +05:30
jamesgeorge007
3c535b2ad4 chore: bump version to 2025.3.0 2025-03-27 13:15:30 +05:30
jamesgeorge007
8c67c832d2 chore: bump version to 2025.2.3 2025-03-19 14:41:08 +05:30
jamesgeorge007
05399d874a chore: bump version to 2025.2.2 2025-03-12 13:59:11 +05:30
jamesgeorge007
ced98b997a chore: bump version to 2025.2.1
Bump Agent version to `0.1.5`.
2025-03-06 15:41:15 +05:30