# Platformatic v0.6.0 - Options, Auth, and NULL!

We are *using* Platformatic to build something new that we find missing features we need all the time. v0.6.0 release adds a couple of new things!

The full release notes are available at: https://github.com/platformatic/platformatic/releases/tag/v0.6.0

While I was preparing this blog post, I stumbled a [bug](https://github.com/platformatic/platformatic/issues/283), which I [fixed](https://github.com/platformatic/platformatic/pull/296) in v0.6.1:

https://github.com/platformatic/platformatic/releases/tag/v0.6.1

## Setting the plugin options

It's now possible to configure the `options` for the custom plugins defined in Platformatic Service & DB.

Given the following config file:

```yml
server:
  hostname: 127.0.0.1
  port: 3000
plugin:
  path: ./plugin.mjs
  options:
    hello: 'Hello World'
```

and plugin

```js
export default async function (app, opts) {
  // opts will contain anything defined in plugin -> options
  app.get('/', () => opts.hello)
}
```

You can see it in action at: 

<div style="position: relative; padding-bottom: 58.286358511837655%; height: 0;"><iframe src="https://www.loom.com/embed/b3a36cbe42314fdba171b9d932a58ff8" frameborder="0" webkitallowfullscreen mozallowfullscreen width="560" height="315"></iframe></div>

## Skipping authorization

In custom plugins, it's possible to skip the [authorization](https://oss.platformatic.dev/docs/reference/db/authorization/introduction) rules on entities programmatically by setting the `skipAuth` flag to `true`, e.g.:


```js
// this works even if the user's role doesn't have the `find` permission
const res = await app.platformatic.entities.page.find({
  ctx, // The context contain the user information
  skipAuth: true
})
```

## is NULL support

In Platformatic DB, filtering by fields being `NULL` is now possible. This feature should have been in from the start - it's my fault ;).

![Screenshot 2022-11-09 at 18.11.13.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1668013879106/Keu6RwFaT.png align="left")




