Repository navigation
Bump version to 2.7.0 and add the v2.7.0 changelog - #2311
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the release metadata and documentation updates.
No open issues 🎉
What changed in this PR
Prepares GoDAM’s develop branch for the v2.7.0 release by synchronizing release metadata and documenting the previously implemented player visibility features and security fixes.
Changes:
- Bump plugin and package versions and stable tags to 2.7.0.
- Add release notes, retain the latest three changelog entries in
readme.txt, and refresh the translation template. - Resolve
@sinceplaceholders and document the pause event’sreasonpayload; these documentation edits do not change runtime behavior.
| File | Description |
|---|---|
readme.txt |
Update stable tag, add v2.7.0 notes, and remove v2.5.2 notes. |
README.md |
Update stable tag to 2.7.0. |
pages/video-editor/utils/sanitizeMarkup.js |
Set preview sanitizer’s @since to 2.7.0. |
pages/analytics/AnalyticsForbiddenNotice.jsx |
Set analytics notice annotations to 2.7.0. |
package.json |
Bump package version to 2.7.0. |
package-lock.json |
Synchronize root package versions. |
languages/godam.pot |
Refresh release metadata, strings, and source references. |
inc/helpers/custom-functions.php |
Set visibility and security helper annotations to 2.7.0. |
inc/classes/rest-api/class-meta-rest-fields.php |
Set layer CSS restriction annotation to 2.7.0. |
inc/classes/rest-api/class-media-library.php |
Set attachment access and thumbnail validation annotations to 2.7.0. |
inc/classes/rest-api/class-engagement.php |
Set video scoping helper annotations to 2.7.0. |
inc/classes/rest-api/class-analytics.php |
Set analytics permission annotation to 2.7.0. |
inc/classes/class-embed.php |
Set embed validation and filtering annotations to 2.7.0. |
godam.php |
Bump plugin header and version constant. |
CHANGELOG.md |
Add v2.7.0 release notes. |
assets/src/utils/safe-url.js |
Set safe-link helper annotation to 2.7.0. |
assets/src/js/godam-player/api/README.md |
Document the pause event’s reason values. |
admin/class-rtgodam-transcoder-rest-routes.php |
Set callback key helper annotation to 2.7.0. |
admin/class-rtgodam-transcoder-handler.php |
Set downloaded-file validation annotation to 2.7.0. |
Review effort: Balanced
🔍 WordPress Plugin Check Report
📊 Report
|
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
0 |
mismatched_plugin_name | Plugin name "GoDAM - Video Hosting for LMS & Online Courses" is different from the name declared in plugin header "GoDAM". |
📁 assets/build/css/main.css (1 warning)
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
0 |
EnqueuedStylesScope | This style is being loaded in all contexts. |
📁 assets/src/libs/analytics.min.js (5 warnings)
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
0 |
EnqueuedScriptsScope | This script is being loaded in all frontend contexts. |
0 |
NonBlockingScripts.NoStrategy | This script on http://localhost:8880 (with handle analytics-library) is loaded in the footer. Consider a defer or async script loading strategy instead. |
0 |
NonBlockingScripts.NoStrategy | This script on http://localhost:8880/2026/11/03/hello-world/ (with handle analytics-library) is loaded in the footer. Consider a defer or async script loading strategy instead. |
0 |
NonBlockingScripts.NoStrategy | This script on http://localhost:8880/sample-page/ (with handle analytics-library) is loaded in the footer. Consider a defer or async script loading strategy instead. |
0 |
NonBlockingScripts.NoStrategy | This script on http://localhost:8880/demo-attachment-post/ (with handle analytics-library) is loaded in the footer. Consider a defer or async script loading strategy instead. |
📁 assets/build/js/main.min.js (5 warnings)
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
0 |
EnqueuedScriptsScope | This script is being loaded in all frontend contexts. |
0 |
NonBlockingScripts.NoStrategy | This script on http://localhost:8880 (with handle rtgodam-script) is loaded in the footer. Consider a defer or async script loading strategy instead. |
0 |
NonBlockingScripts.NoStrategy | This script on http://localhost:8880/2026/11/03/hello-world/ (with handle rtgodam-script) is loaded in the footer. Consider a defer or async script loading strategy instead. |
0 |
NonBlockingScripts.NoStrategy | This script on http://localhost:8880/sample-page/ (with handle rtgodam-script) is loaded in the footer. Consider a defer or async script loading strategy instead. |
0 |
NonBlockingScripts.NoStrategy | This script on http://localhost:8880/demo-attachment-post/ (with handle rtgodam-script) is loaded in the footer. Consider a defer or async script loading strategy instead. |
🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check
subodhr258
left a comment
There was a problem hiding this comment.
Final review of 2127655. No changes needed; good to approve.
| Claim | How checked | Result |
|---|---|---|
| Version 2.7.0 everywhere | godam.php header and RTGODAM_VERSION, Stable tag in readme.txt and README.md, package.json, both entries in package-lock.json |
All 2.7.0 |
Every @since n.e.x.t replaced |
develop has 28 in 11 files; this PR swaps 28 lines to @since 2.7.0; the branch has 0 left; every other changed line in those 11 files is unchanged |
Complete |
| Changelog | readme.txt and CHANGELOG.md have the same 5 lines, dated November 5, 2026; each line checked against develop (setting under Settings > Video Player, per-video setting, GoDAMAPI.pauseAll(), Authors analytics, muted seconds left out of the played ranges) |
Correct |
| Old changelog entry removed | readme.txt keeps 2.7.0, 2.6.1 and 2.6.0; 2.5.2 is removed |
Correct |
| POT | Project-Id-Version: GoDAM 2.7.0; has the new strings (When a video goes out of view, You can’t view analytics for this video.) |
Correct |
| API README | The new pause block documents reason: 'visibility', 'api' or null, matching player.js (getAutoPauseReason()) and godam-api.js |
Correct |
| Up to date | 0 commits behind develop, so 2.6.1's changes are in; CI: all 6 checks pass |
OK |
Not checked: a build of this branch on a site (that comes with the dry tag on main).
The PR has no reviewers requested and no risk label yet.
subodhr258
left a comment
There was a problem hiding this comment.
Approving at 2127655, the head reviewed above.
Overview
Version bump for the v2.7.0 release (release ticket). This raises develop to 2.7.0 so the develop→main sync can carry it to the release.
The v2.7.0 changelog covers what develop carries over main (2.6.1):
out_of_viewshortcode attribute, and the "Also apply when the browser tab is hidden" switch.GoDAMAPI.pauseAll(),player.play( { userStarted: true } )and thereasonon thepauseevent (Player: pause or mute videos when they move out of view #2259).Changes
CHANGELOG.mdandreadme.txt, and drop v2.5.2 fromreadme.txt(keeps the latest three: 2.7.0, 2.6.1, 2.6.0).readme.txtandREADME.md.godam.phpheader andRTGODAM_VERSION.package.jsonandpackage-lock.json.@since n.e.x.tto 2.7.0, including the ones from Only use http, https and mailto links, and sanitise preview markup #2250 (non.e.x.tleft outsidelanguages/andvendor/).assets/src/js/godam-player/api/README.md: the Event Data Reference now documents thepauseevent'sreason('visibility','api'ornull); it still said pause sends no data.languages/godam.potfrom a cleanassets/buildwithnpm run build:prod && composer pot. It adds 17 strings (the out-of-view settings and the security fixes' messages) and removes none.Notes for reviewers
languages/godam.potdiff is the regeneration: new strings plus moved build references. A second regeneration on the pushed head changed onlyPOT-Creation-Date(second commit).develop. Merge it only after this release's PRs are all in, so the changelog stays complete.Release checklist (from the ticket)
readme.txtandCHANGELOG.md, third-last entry removed fromreadme.txtreadme.txtandREADME.mdgodam.phpheader and constantpackage.jsonandpackage-lock.json,.potregenerated@since n.e.x.tresolved🤖 Generated with Claude Code
https://claude.ai/code/session_019H8kJXjuKx4LrXqgUrjEVa