Skip to content

Releases

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 26 Nov 20:28

Security fix

Secret header names are now masked wherever they appear (#9).

Until 0.4.0, Authorization, Cookie, Set-Cookie, Proxy-Authorization, X-Api-Key and names added with header() were masked only as HTTP headers. When the same names showed up in a JSON or form body, a query parameter, a storage key or a SQL column, their values were stored, shown in the viewer and exported in clear text. A common case is an API that echoes the request headers in its response body.

They are now masked in all of those places, on every platform (Android, KMP, iOS and Flutter), since the rules live in the shared core. allow() still removes a name everywhere.

Events recorded before the update keep their stored values. To remove them, clear the log from the viewer or call StackAudit.clear().

Upgrading is recommended for everyone on 0.4.0 or earlier.

Install

debugImplementation("io.github.r1b2ns:stackaudit-android:0.4.1")
debugImplementation("io.github.r1b2ns:stackaudit-ui:0.4.1")
releaseImplementation("io.github.r1b2ns:stackaudit-noop:0.4.1")
.package(url: "https://github.com/r1b2ns/stack-audit", from: "0.4.1")

Full Changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 18:51

Highlights

  • Automatic WebSocket capture on iOS. In .automatic mode, URLSessionWebSocketTask connections are recorded with no code changes: open, frames sent and received, ping, pong, close and failures. Tasks you wrap with StackAuditWebSocket are recorded once, not twice.
  • Search in the viewer. Every list has a search field that matches several terms at once.
  • Better export. Text is now the default format and includes request and response headers and bodies, with a separator between events. The export preview can be expanded and its text selected.
  • Turning masking off. With Secrets.Show, the viewer and exports show secrets as they are. Use it only on local debug builds; StackAudit logs a warning if it is on in a release build.

Changes

  • The default storage limit is now 200 MB (was 100 MB). Set maxStorage to change it.
  • List rows show seconds and a disclosure chevron, the close button is an X icon, and the keyboard hides when you scroll.

Fixes

  • iOS: calling StackAudit.start() a second time no longer crashes.

Docs

Install

debugImplementation("io.github.r1b2ns:stackaudit-android:0.4.0")
debugImplementation("io.github.r1b2ns:stackaudit-ui:0.4.0")
releaseImplementation("io.github.r1b2ns:stackaudit-noop:0.4.0")
.package(url: "https://github.com/r1b2ns/stack-audit", from: "0.4.0")

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 14:41

What's Changed

  • feat: audit tabs, event deletion, recording and storage settings by @r1b2ns in #3

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 12:19

What's Changed

  • Fix viewer crashes and header masking, redesign the audit viewer by @r1b2ns in #2

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 18:18

What's Changed

  • feat: add Android and iOS demo apps by @r1b2ns in #1

New Contributors

  • @r1b2ns made their first contribution in #1

Full Changelog: https://github.com/r1b2ns/stack-audit/commits/v0.1.0