Skip to content

What's New

Platform 2021.03.16

Platform · 2021.03.16 · 16 March 2021

New FeatureOn production sites

On production sites

This release lets you protect websocket channels and adds two filters.

Control who can join a websocket channel

Create channels/channel_name/subscribed.liquid, where channel_name is your channel. It works like an Authorization Policy. If it evaluates to true, the user can use the channel. If not, they cannot. This stops people from listening to other people's direct messages. If you do not create the file, the channel has no authorization and is public.

New money filters

Use the new amount_to_fractional and fractional_to_amount filters in Liquid.

Also in this release

  • New flag do_not_add_return_to_to_authorization_policies, which you can set in app/config.yml