שינויים ב-Discourse Plugin API: שימוש ב- api.registerValueTransformer עבור addPostMenuButton ו- component:topic-list

I updated my local development Discourse to version 3.5.0.beta2-dev, and the plugin API version is 2.1.1. How can I use api.registerValueTransformer for the addPostMenuButton and component:topic-list functions?