Releases: CodeShellDev/secured-signal-api
v1.4.4 Bugfix
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-Typeheader was present.
This is due toGetReqBody()relying onContent-Type, to determine wetherjsonorform.
So when using Query-to-Body Injection there would often not be aContent-Typeheader set, this meant that even tho the query was injected, the next time the body would be read, it would result in a seemingly emptyBodystruct.
PRs
- fix: Query-to-Body Injection without
Content-Typeby @CodeShellDev in #192 - Update copyright year in LICENSE file by @CodeShellDev in #154
Full Changelog: v1.4.3...v1.4.4
This is the 2nd release of
v1.4.4since I had forgotten to update the © notice for the LICENSE
CSD out 👋
v1.4.3 Bugfix & Backend
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=>settingstokens=>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_TOKENSAPI_TOKEN=>API_TOKENSAPI__URL=>API_URL
These may be used instead of the original environment variables, but dom't have to.
PRs
- Automated README update by @github-actions[bot] in #135
- Enhance bug report template with config section by @CodeShellDev in #148
- migrate: to gotl by @CodeShellDev in #136
- chore: restructure and move by @CodeShellDev in #147
- Automated README update by @github-actions[bot] in #153
- chore/refactor: configs by @CodeShellDev in #150
- fix: template before block by @CodeShellDev in #144
- Thank You! by @CodeShellDev in #155
Full Changelog: v1.4.2...v1.4.3
CodeShell out👋 and happy holidays 🎄
v1.4.2 Bugfix & Improvements
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
PRs
- chore: improve body reading by @CodeShellDev in #123
- chore: restructure logger by @CodeShellDev in #124
- feat: field policies deep equal for nested data by @CodeShellDev in #122
- feat: print body using
devloglevel by @CodeShellDev in #125 - fix: improve body reading by @CodeShellDev in #127
- fix: VARIABLES mutating by @CodeShellDev in #130
Full Changelog: v1.4.1...v1.4.2
CodeShell out👋
v1.4.1 Hotfix
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/aboutfrom 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
- fix: endpoints middleware by @CodeShellDev in #116
- hotfix: added missing return value in endpoints by @CodeShellDev in #118
- fix: set authToken in BasicAuth by @CodeShellDev in #115
- Automated README update by @github-actions[bot] in #119
Full Changelog: v1.4.0...v1.4.1
CodeShell out 👋
v1.4.0 Release
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.
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
- chore: update README workflow by @CodeShellDev in #77
- Update docs-deploy.yml by @CodeShellDev in #78
- Update docs-update.yml by @CodeShellDev in #79
- Automated update of README.md by @github-actions[bot] in #82 #83 #84 #85 #88 #93 #100 #113
- chore: cleanup code by @CodeShellDev in #75
- chore: restructure config by @CodeShellDev in #90
- fix: mapping middleware in chain by @CodeShellDev in #92
- feat: field policy by @CodeShellDev in #94
- chore: move config to internals by @CodeShellDev in #102
- chore: added
requestkeysmodule by @CodeShellDev in #101 - fix: normalize field policy by @CodeShellDev in #105
- fix: token configs & field policies by @CodeShellDev in #108
- fix/improve: custom
devloglevel by @CodeShellDev in #107 - feat: pretty print by @CodeShellDev in #109
- fix: pretty print by @CodeShellDev in #110
- fix: change reload func by @CodeShellDev in #111
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
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
- feat: improve templating by @CodeShellDev in #65
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
Fixed #64
Full Changelog: v1.3.0...v1.3.1
v1.3.0 QoL Features
Hey there, here again for a new quite big Release...🥳
What's Changed
This time we do have quite some handy new QoL Features, like:
Docs
- added Nginx to Docs #52
PRs
- revamped README by @CodeShellDev in #42
- README update by @CodeShellDev in #43
- removed old README parts by @CodeShellDev in #44
- Update Dev by @CodeShellDev in #46
- Update Dev by @CodeShellDev in #48
- feat: favicon by @CodeShellDev in #55
- feat: Message Templates by @CodeShellDev in #53
- feat: Print Image Tag on Startup by @CodeShellDev in #56
- fix: message alias overwrite by @CodeShellDev in #58
- cleaned up for Release by @CodeShellDev in #59
Full Changelog: v1.2.2...v1.3.0
CodeShell out 👋
v1.2.2 Release
Hello everyone, new Release is here...
What's Changed
- added
settingstoconfig.yml - updated modules
- clenup in files
Breaking Changes
variables, messageAliases, blockedEndpoints and addedEndpoints will now be set under settings.
Please update your config to apply to the new change!
PRs
- Update README by @CodeShellDev in #39
- Update Main by @CodeShellDev in #40
- fix traefik compose file by @CodeShellDev in #41
Full Changelog: v1.2.1...v1.2.2
CodeShell out👋
v1.2.1 Allowed Endpoints
Back again with a new small Feature Update... 😁
What's Changed
Added allowedEndpoints setting, to be able to...
- block all and allow specific
- allow all and block specific
PRs
- Update Main by @CodeShellDev in #38
Full Changelog: v1.2.0...v1.2.1
CodeShell out👋