# Platformatic v0.15.0

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 https://hub.docker.com/r/platformatic/platformatic.

Platformatic v0.15.0 ships with all the security updates from the Node.js [February 2023 Security Releases](https://nodejs.org/en/blog/vulnerability/february-2023-security-releases/).

You can use the Platformatic docker image simply by copying over your configuration and all the needed files, like so:

```plaintext
FROM platformatic/platformatic:latest

USER root

WORKDIR /opt/app
COPY migrations migrations
COPY platformatic.db.json platformatic.db.json
COPY plugin.js plugin.js

EXPOSE 3042

ENV PLT_SERVER_HOSTNAME=0.0.0.0
ENV PORT=3042
ENV PLT_SERVER_LOGGER_LEVEL=info
ENV DATABASE_URL=sqlite://./platformatic.db

CMD ["platformatic", "db", "start"]
```

## Allow specifying multiple entities per authorization rules

Very often, we end up writing the same [authorization rules](https://oss.platformatic.dev/docs/reference/db/authorization/rules) over and over again. Instead, it's possible to condense the rule for multiple entities on a single entry:

```json
 {
    "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 https://github.com/platformatic/platformatic/pull/660.

## Setup Dashboard on a custom endpoint

It is now possible to specify the path upon which the [dashboard](https://www.loom.com/share/d97416b3fb984e3a829d9e72aab2a9be) is exposed:

```json
{
  "dashboard": {
    "path": "/"
  }
}
```

This change was implemented by [@leorossi](https://github.com/leorossi) in https://github.com/platformatic/platformatic/pull/664.

## Multiple bugfixes

* docs(cli): Remove comment by [@rozzilla](https://github.com/rozilla) in https://github.com/platformatic/platformatic/pull/654.
    
* Add guide for using adminSecret in https://github.com/platformatic/platformatic/pull/656.
    
* fix(db): Properly format entity type name by [@rozzilla](https://github.com/rozzilla) in https://github.com/platformatic/platformatic/pull/662.
    
* fix: add permissions to the GH action workflow script by [@ivan-tymoshenko](https://github.com/ivan-tymoshenko) in https://github.com/platformatic/platformatic/pull/676.
    
* docs(dashboard): Add info boxes by [@rozzilla](https://github.com/rozzilla) in https://github.com/platformatic/platformatic/pull/687.
    
* feat: add lint as pre-commit hook by [@imrishabh18](https://github.com/imrishabh18) in https://github.com/platformatic/platformatic/pull/688.
    
* docs(schema): Add tip box by [@rozzilla](https://github.com/rozzilla) in https://github.com/platformatic/platformatic/pull/691.
    
* fix(dashboard): Active selector by [@rozzilla](https://github.com/rozzilla) in https://github.com/platformatic/platformatic/pull/694.
    
* Remove wrong loader setup due to introspection order in https://github.com/platformatic/platformatic/pull/692.
    
* Consolidate two db/js-api.md and db/programmatic.md in one file in https://github.com/platformatic/platformatic/pull/696.
    

**Full Changelog**: https://github.com/platformatic/platformatic/compare/v0.14.0...v0.15.0
