Skip to content

Releases: CodeShellDev/secured-signal-api

v1.5.0 RC2

30 Jan 16:28

Choose a tag to compare

v1.5.0 RC2 Pre-release
Pre-release

Hey there, just a small bugfix with minor improvements...

Note

Use ghcr.io/codeshelldev/secured-signal-api:v1.5.0-rc2 to test out the 2nd release candidate of v1.5.0

What's Changed

  • added deprecation messages for @authorization
  • switched to using basic colors
  • fixed the /auth=TOKEN/ not being stripped
  • bumped go to v1.25.6
  • updated deps
  • Authorization header will now be stripped before passing to downstream api
  • fixed default auth methods being ignored

Full Changelog: v1.5.0-rc1...v1.5.0-rc2

CodeShell out 👋

v1.4.5 Bugfix

30 Jan 17:41

Choose a tag to compare

Hello everyone 📣,
this is a small but IMPORTANT bugfix.

What's Changed

  • fixed a major bug in token parsing

Full Changelog: v1.4.4...v1.4.5

CodeShell out 👋

v1.5.0 RC1 – Testing is Open

28 Jan 20:11
d63e3a9

Choose a tag to compare

Pre-release

Hey there folks 📣

As 31.01 is approaching we have released a sneak-peek in form of a release candidate v1.5.0-rc1.

Note

To test out this new release candidate you need to use ghcr.io/codeshelldev/secured-signal-api:v1.5.0-rc1 as the image

Important

Found a bug? Oops... please open up an issue to let me know! Thanks ❤️

What's Changed

A ton of new cool features have been added:

  • new auth methods: Path and Body Auth
  • separate port per Token Config (See docs)
  • separate log level per Token Config (See docs)
  • Ratelimiting: Prevent spam or DOS on the API (See docs)
  • IP filters: Block and allow IPs and CIDR ranges (See docs)
  • restrict access by hostname (See docs)
  • regex in Field Policies and endpoints
  • enable and disable auth methods (See docs)

Documentation

🚨 Breaking Changes

  • /.../?@authorization=API_TOKEN => /.../?@auth=API_TOKEN
  • Path and Query auth are disabled by default, enable them in api.auth.methods
  • settings.access.endpoints no longer support glob-style patterns, use regex instead

🚧 Deprecation

  • token and tokens at root of Token Configs are now deprecated, use api.tokens instead
  • auth.token and api.token will be removed in favor of auth.tokens and api.tokens
  • overrides at the root of Token Configs are deprecated, use settings instead

PRs

Full Changelog: v1.4.4...v1.5.0-rc1

CodeShell out 👋

v1.4.4 Bugfix

08 Jan 21:39
434d057

Choose a tag to compare

Hey ho! 📣
Back again, with a small bugfix, that somehow flew under my radar 🤔...

What's Changed

Fixed #192:

Modified request bodies could not be read after successful writes occured and no Content-Type header was present.
This is due to GetReqBody() relying on Content-Type, to determine wether json or form.

So when using Query-to-Body Injection there would often not be a Content-Type header set, this meant that even tho the query was injected, the next time the body would be read, it would result in a seemingly empty Body struct.

PRs

Full Changelog: v1.4.3...v1.4.4

This is the 2nd release of v1.4.4 since I had forgotten to update the © notice for the LICENSE

CSD out 👋

v1.4.3 Bugfix & Backend

24 Dec 21:53

Choose a tag to compare

Hi there everyone 📣,
I'm back after, what? Like almost 2 months!?

This release brings a few bugfixes, but mostly includes major backend changes.

What's Changed

  • fixed placeholders in endpoints for access rules #140
  • updated token configs to share the same struct with the main config
  • added new aliases to improve env variables (See new Aliases)

🚨 Deprecation

Since the backend change many token config specific key names were renamed:

  • overrides => settings
  • tokens => api.tokens

Note

For now we've included temporary aliases, so your config should still be compatible,
but note that these aliases will be removed in the following release.

New Aliases

This release adds a few environment aliases:

  • API__TOKENS => API_TOKENS
  • API_TOKEN => API_TOKENS
  • API__URL => API_URL

These may be used instead of the original environment variables, but dom't have to.

PRs

Full Changelog: v1.4.2...v1.4.3

CodeShell out👋 and happy holidays 🎄

v1.4.2 Bugfix & Improvements

08 Nov 12:02

Choose a tag to compare

Hello everyone📣,
back again with a small bugfix 🐞 and improvements ⬆️ release.

What's Changed

  • can now use dictonaries and arrays for field policies
  • improved body serialisation
  • restructured logger and improved DevEx
  • fixed mutation in VARIABLES

Integrations

  • new Gitea integration (See Docs)
  • new Authentik integration (See Docs)

PRs

Full Changelog: v1.4.1...v1.4.2

CodeShell out👋

v1.4.1 Hotfix

02 Nov 13:52
8b276c6

Choose a tag to compare

Hello everyone 📣,
Just a quick hotfix, nothing special…

What‘s Changed

  • Added glob-like matching for endpoints. (See Docs).
  • Fixed pretty old bug with BasicAuth (token wasn‘t being used for token configs)
  • Removed /v1/about from blocklist

Breaking Changes

Endpoints are no longer matched by checking if the requested endpoint starts with one of the configured ones,
instead you must use glob-like patterns for more complicated setups. (See Docs)

PRs

Full Changelog: v1.4.0...v1.4.1

CodeShell out 👋

v1.4.0 Release

01 Nov 15:26
b09fbc1

Choose a tag to compare

Hey there 📣,

I know it has been a few weeks, but here I am back with another exciting 🤩 Release: v1.4.0

💡 What's Changed

This release brings ONE single feature, an important one might I add: Field Policies

Field Policies help you block certain values from being used with your configs,
this can be useful when you want to allow only one number for a given token and block any request using a different number.

Read more...

And of course some bugfixes.

🚨 Breaking Changes

There have been quite a few naming / config changes, before updating you must update your configs:

Data Alias Rename

dataAliases have been renamed to fieldMappings. (details)

Access

endpoints and Field Policies have been moved into settings.access.

Message

fieldMappings, variables and messageTemplates are now located under settings.message

Endpoint Merge

blockedEndpoints and allowedEndpoints have been merged,
use ! for blocking (remember to quote "" endpoints, details)

📖 Documentation

We also finally have an Official Documentation #86,
where we will be adding Integrations and more detailed instructions.

⚙️ PRs

New Contributors

  • @github-actions[bot] made their first contribution in #82

Full Changelog: v1.3.2...v1.4.0

CodeShell out 👋

v1.3.2 Advanced Templating

21 Sep 12:11

Choose a tag to compare

Greetings everyone, v1.3.2 is here with a hell 🔥 of a Templating Update...

What's Changed

Improved Templating:

  • allow for using Headers as Variables with #
  • added logic to remove possible collision between Header, Variable and Body Variables
  • reworked data templating: now using Recursive Value Templating instead of json string
  • fixed issues regarding advanced go templates (See Documentation, issue #61)
  • updated regex' due to new changes

PR

Full Changelog: v1.3.1...v1.3.2

Alternate Description: v1.3.2 is here with the end of a Development Nightmare🤣

CodeShell out👋

v1.3.1 Hotfix

20 Sep 21:38
0681ca6

Choose a tag to compare

Fixed #64

Full Changelog: v1.3.0...v1.3.1