Hi Folks! Platformatic v0.15.0 is out with a new feature and plenty of fixes!
Thanks to everybody that contributed!
Docker image
Did you know that we have a Docker Image that you can use to test Platformatic or use as a base image for your production systems? You can find it at hub.docker.com/r/platformatic/platformatic.
Platformatic v0.15.0 ships with all the security updates from the Node.js February 2023 Security Releases.
Allow specifying multiple entities per authorization rules
Very often, we end up writing the same authorization rules over and over again.
Instead, it’s possible to condense the rule for multiple entities on a single entry:
{
"authorization": {
"jwt": {
"secret": "supersecret"
},
"roleKey": "X-PLATFORMATIC-ROLE",
"anonymousRole": "anonymous",
"rules": [{
"role": "anonymous",
"entities": ["category", "page"],
"find": true,
"delete": false,
"save": false
}]
}
}
This new feature was implemented at github.com/platformatic/platformatic/pull/660.
Multiple bugfixes
- docs(cli): Remove comment by @rozzilla in github.com/platformatic/platformatic/pull/654.
- Add guide for using adminSecret in github.com/platformatic/platformatic/pull/656.
- fix(db): Properly format entity type name by @rozzilla in github.com/platformatic/platformatic/pull/662.
- fix: add permissions to the GH action workflow script by @ivan-tymoshenko in github.com/platformatic/platformatic/pull/676.
- docs(dashboard): Add info boxes by @rozzilla in github.com/platformatic/platformatic/pull/687.
- feat: add lint as pre-commit hook by @imrishabh18 in github.com/platformatic/platformatic/pull/688.
- Setup Dashboard on custom endpoint by @leorossi in github.com/platformatic/platformatic/pull/664.
- docs(schema): Add tip box by @rozzilla in github.com/platformatic/platformatic/pull/691.
- fix(dashboard): Active selector by @rozzilla in github.com/platformatic/platformatic/pull/694.
- Remove wrong loader setup due to introspection order in github.com/platformatic/platformatic/pull/692.
- Consolidate two db/js-api.md and db/programmatic.md in one file in github.com/platformatic/platformatic/pull/696.
Full Changelog: github.com/platformatic/platformatic/compar..
Leave A Comment