DEV: Remove the deprecation of `includePostAttributes` (#30381)
This commit is contained in:
parent
d2979997e9
commit
9618075b9c
|
@ -3,7 +3,7 @@
|
|||
// docs/CHANGELOG-JAVASCRIPT-PLUGIN-API.md whenever you change the version
|
||||
// using the format described at https://keepachangelog.com/en/1.0.0/.
|
||||
|
||||
export const PLUGIN_API_VERSION = "1.39.1";
|
||||
export const PLUGIN_API_VERSION = "1.39.2";
|
||||
|
||||
import $ from "jquery";
|
||||
import { h } from "virtual-dom";
|
||||
|
@ -823,15 +823,6 @@ class PluginApi {
|
|||
*
|
||||
**/
|
||||
includePostAttributes(...attributes) {
|
||||
deprecated(
|
||||
"`api.includePostAttributes` has been deprecated. Use api.addTrackedPostProperties instead.",
|
||||
{
|
||||
id: "discourse.api.include-post-attributes",
|
||||
since: "v3.4.0.beta3-dev",
|
||||
dropFrom: "v3.5.0",
|
||||
}
|
||||
);
|
||||
|
||||
includeAttributes(...attributes);
|
||||
}
|
||||
|
||||
|
|
|
@ -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.2] - 2024-12-19
|
||||
|
||||
- Removed the deprecation of `includePostAttributes` for now.
|
||||
|
||||
## [1.39.1] - 2024-12-18
|
||||
|
||||
- Renamed `addTrackedPostProperty` to `addTrackedPostProperties` to allow plugins/TCs to add multiple new tracked properties to the post model.
|
||||
|
|
Loading…
Reference in New Issue