v1.6.0
Oh hi π
, didn't see you there π,
looks like you just made it in time for v1.6.0 π
π‘ What's Changed
What did you do this time�
As always let me first give you a quick overview:
- added Scheduled Messages on
/v2/sendwithsend_atas timestamp - added config settings to disable Templating and URL-To-Body Injection for various mediums (path, query, body, etc.)
- added templating to configs with
${{ .env.XYZ }}or${{ .vars.NUMBER }}(see Configuration) - added CORS (see docs)
- added configurable response headers (see docs)
- overhauled matching system with multiple match types (see docs for: Endpoints, Field Policies, IP Filter):
exactequals: case-incensitiveprefixsuffixcontains: string containsregexglob: glob-style patternshas: dict has keyincludes: array includes item
- improved and refactored config parsing systems:
- fixed some config settings not being normalized
- config is now validated at startup
- errors will be thrown if config is invalid, instead of silently failing
- overall better error handling (example: improved overview of panics)
- as always A TON of backend changes (man I really love doing this π)
π¨ Breaking Changes
-
settings.message.templateis now located undersettings.message.templating.messageTemplate -
settings.access.ipFilter,settings.access.endpointsare now separated intoallowedandblocked:ipFilter: allowed: - 1.2.3.4 blocked: - 5.6.7.8
-
settings.access.endpointsnow use the new, more flexible matching system:endpoints: allowed: - pattern: "/v1/receive[0-9]+" matchType: regex - pattern: "/v1/about"
π¬ Chat
I am also excited π₯³ to tell, you that we now have a matrix chat!
Come check it out π!
π Documetation
- [*] API documentation
- [*] Update in Home Assistant integration guide, now support for ANY version
PRs
- fix: Overwrites not Applying by @CodeShellDev in #239
- feat: Scheduled Messages by @CodeShellDev in #243
- Automated README update by @github-actions[bot] in #256
- feat: Improved Regex handling and Custom type compilers by @CodeShellDev in #268
- feat: Improved Placeholders in Configs by @CodeShellDev in #278
- feat: custom response headers by @CodeShellDev in #295
- feat: CORS by @CodeShellDev in #296
- feat: custom response headers by @CodeShellDev in #295
Full Changelog: v1.5.1...v1.6.0
Thank you β€οΈ and Codeπ’ outπ