Skip to content

Bump version to 2.7.0 and add the v2.7.0 changelog - #2311

Merged
rudrakshi-gupta merged 6 commits into
developfrom
chore/release-v2.7.0
Nov 3, 2026
Merged

rudrakshi-gupta merged 6 commits into
developfrom
chore/release-v2.7.0

Conversation

@rudrakshi-gupta

Copy link
Copy Markdown
Member

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):

Changes

  • Add the v2.7.0 entry to CHANGELOG.md and readme.txt, and drop v2.5.2 from readme.txt (keeps the latest three: 2.7.0, 2.6.1, 2.6.0).
  • Update the Stable tag to 2.7.0 in readme.txt and README.md.
  • Bump the version in the godam.php header and RTGODAM_VERSION.
  • Bump the version in package.json and package-lock.json.
  • Resolve every @since n.e.x.t to 2.7.0, including the ones from Only use http, https and mailto links, and sanitise preview markup #2250 (no n.e.x.t left outside languages/ and vendor/).
  • assets/src/js/godam-player/api/README.md: the Event Data Reference now documents the pause event's reason ('visibility', 'api' or null); it still said pause sends no data.
  • Regenerate languages/godam.pot from a clean assets/build with npm 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

  • Changelog date is November 20, 2026, the target date on the release ticket (placeholder). Update it if the release lands on a different day.
  • The large languages/godam.pot diff is the regeneration: new strings plus moved build references. A second regeneration on the pushed head changed only POT-Creation-Date (second commit).
  • Tested up to stays at 7.1.
  • Base is develop. Merge it only after this release's PRs are all in, so the changelog stays complete.

Release checklist (from the ticket)

  • Changelog with date in readme.txt and CHANGELOG.md, third-last entry removed from readme.txt
  • Stable tag in readme.txt and README.md
  • Version in the godam.php header and constant
  • Version in package.json and package-lock.json, .pot regenerated
  • @since n.e.x.t resolved

🤖 Generated with Claude Code

https://claude.ai/code/session_019H8kJXjuKx4LrXqgUrjEVa

Copilot AI balanced review requested due to automatic review settings November 3, 2026 14:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 @since placeholders and document the pause event’s reason payload; 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

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🔍 WordPress Plugin Check Report

⚠️ Status: Passed with warnings

📊 Report

🎯 Total Issues ❌ Errors ⚠️ Warnings
12 0 12

⚠️ Warnings (12)

📁 readme.txt (1 warning)
📍 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 subodhr258 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 subodhr258 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving at 2127655, the head reviewed above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants