Window rules moving to specific workspaces stopped working recently

My Hyprland version is 0.53.1. My hyprland.conf window rules used to open Flatpak applications wherever I specified, e.g.

windowrulev2 = workspace 1, class:^(com.discordapp.Discord)$
windowrulev2 = workspace 2, class:^(com.spotify.Client)$

This no longer works. Did anything change?

Yup

That worked. Here’s the new syntax for those wondering:

windowrule {
  name = windowrule-1
  workspace = 1
  match:class = ^(com.discordapp.Discord)$
}

windowrule {
  name = windowrule-2
  workspace = 2
  match:class = ^(com.spotify.Client)$
}