mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Ensure post.updateFromPost
syncs tracked properties (#29970)
This commit ensures that tracked properties added to the post model are correctly synced when using `post.updateFromPost`. It also introduces a plugin API to allow plugins to register new tracked properties in the post model without needing to modify the class.
This commit is contained in:
@@ -7,6 +7,10 @@ in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.39.0] - 2024-11-27
|
||||
|
||||
- Added `addTrackedPostProperty` which allows plugins/TCs to add a new tracked property to the post model.
|
||||
|
||||
## [1.38.0] - 2024-10-30
|
||||
|
||||
- Added `registerMoreTopicsTab` and "more-topics-tabs" value transformer that allows to add or remove new tabs to the "more topics" (suggested/related) area.
|
||||
|
Reference in New Issue
Block a user