1.2 (November 17, 2026)
- feat: Add Dashboard + with session summaries, charts, and attendance and engagement reports.
- fix: Protect analytics during deletion, backup, restore, callback processing, and report access.
- fix: Display zero dashboard durations correctly and add the engagement report role filter.
- chore: Promote the 1.2 release to stable for Moodle 5.3 and BNX 1.3 or later.

1.2-beta.2 (November 16, 2026)
- fix: Clean up analytics on activity deletion and prevent orphan records and cross-activity callback writes.
- fix: Respect backup privacy settings and restrict built-in and custom reports by activity permissions and group visibility.
- fix: Parse meeting durations correctly and provide an opt-in repair for supported historical discrepancies.
- fix: Validate callback attendees, reduce sensitive debug output, and bound legacy migration status checks.
- chore: Update PHPUnit coverage metadata and synchronize XMLDB version metadata with the plugin version.
- docs: Document upgrade requirements, callback replay behavior, and custom report access restrictions.

1.2-beta.1 (November 5, 2026)
- feat: Add an activity dashboard with attendance and engagement summaries, charts, and a selectable session-level learner overview.
- feat: Add a **Dashboard +** activity navigation entry while preserving other subplugin navigation contributions; refresh selected-session details asynchronously.
- fix: Constrain dashboard chart layout and refresh the plugin cache before checking the BNX dependency during installation.
- chore: Target Moodle 5.3 and BNX 1.3 (minimum version code 2026110500); promote the release to beta.
- ui: Rename the dashboard title to `DataHub dashboard +`.

1.1.1 (September 25, 2026)
- chore: Promote the 1.1.1 release to stable.
- fix: Add a room-level base condition to activity attendance and engagement reports so data from other rooms and courses is excluded.
- ci: Pin the CI BNX dependency to the Moodle 5.1-compatible BNX 1.2 release branch.

1.1 (September 4, 2026)
- chore: Promote the 1.1 release line from release candidate to stable with no additional schema or runtime changes beyond 1.1-rc.1.

1.1-rc.1 (July 28, 2026)
- chore: Promote the 1.1 release line from beta to release candidate (rc.1) with no additional schema or runtime changes beyond 1.1-beta.2.

1.1-beta.2 (July 2, 2026)
- refactor: Stop running the heavy legacy BN Reports data migration from db/install.php on a fresh install (it never has legacy data to backfill); the full migration now runs only from the db/upgrade.php backfill savepoint for sites upgrading from before that step. db/install.php retains only the cheap bbbext_bnx_datahub_disable_if_bnreports_present() conflict guard (OL2-4.1.1).
- fix: Never mutate the sibling bbbext_bnreports configuration during migration. db/migration.php now (a) copies only an explicit allow-list of settings keys (bbbext_bnx_datahub_migratable_setting_keys) into DataHub's own namespace and (b) replaces the previous cross-plugin disable with bbbext_bnx_datahub_disable_if_bnreports_present(), which self-disables DataHub (writing only bbbext_bnx_datahub/disabled) whenever the legacy sidecar is still installed and enabled. The conflict is surfaced from DataHub itself via its settings page and the `\bbbext_bnx_datahub\check\bnreports_conflict` status check (OL2-3.2.1).
- fix: Treat BN Experience (`bbbext_bnx`) as an active runtime prerequisite rather than a one-time install dependency: DataHub now self-disables when BNX is disabled, subscribes to BNX's public `\bbbext_bnx\event\state_changed` event so later BNX disablements trigger the same self-disable path, and surfaces the prerequisite from DataHub itself via its settings page and the `\bbbext_bnx_datahub\check\bnx_enabled` status check.
- fix: When DataHub is enabled but the parent `bigbluebuttonbn_meetingevents_enabled` callback-processing setting is off, DataHub now shows the same administrator warning on its own settings page that it already exposes through `\bbbext_bnx_datahub\check\meetingevents_enabled`, so the prerequisite is visible without touching mod_bigbluebuttonbn.
- fix: Convert the DataHub navigation addon from navigation_override_addon to navigation_append_addon (append_settings_navigation), since DataHub only adds its own attendance / engagement report nodes and never replaces the parent module navigation. Appending instead of overriding stops DataHub from consuming the single override slot, so other bbbext subplugins' navigation contributions are preserved and the mod_bigbluebuttonbn subplugins Behat scenarios pass. The completion-validate node is no longer added here because the parent module already provides it and appending it would duplicate the link. Before appending, the pre-existing module settings nodes are forced into the "more" menu so the two report links remain the first secondary-navigation tabs shown, matching the previous override behaviour (OL2-3.1.1).
- fix: Regenerate db/install.xml in canonical XMLDB editor form (add the xmlns:xsi / xsi:noNamespaceSchemaLocation root attributes and SEQUENCE="false" on the bnxid and meetingid foreign-key fields) and drop the redundant standalone meetingid index that duplicated the meetingid_fk foreign key, so core\db\plugin_checks_test passes for bbbext_bnx_datahub (OL2-3.1.1).

1.1-beta.1 (June 10, 2026)
- fix: Stop writing the parent bigbluebuttonbn_meetingevents_enabled setting from install, upgrade, observer, and on_enable code paths to honor the sidecar contract (OL-3.2.1, CC-1).
- feat: Add a status check (\bbbext_bnx_datahub\check\meetingevents_enabled) registered via lib.php that surfaces the parent meeting events prerequisite on Site administration > Server > Status (OL-3.2.1).
- fix: Declare bbbext_bnx_datahub_meeting in the privacy provider with field-level metadata, extend export_user_data() to include meeting metadata, and remove plugin-owned meeting rows in delete_data_for_all_users_in_context() (OL-3.2.3).
- fix: Enforce report visibility via has_capability('bbbext/bnx_datahub:viewreports') on the report context, drop the optional_param fallback for the bigbluebuttonbnid filter, and resolve the bbbext_bnx alias from the meeting entity (OL-3.2.2, OL-4.1.3, OL-4.1.4).
- fix: Replace format_text() with format_string($value, true, ['context' => ...]) across attendee, meeting, and room reportbuilder entities and the attendance / engagement system reports (OL-3.2.4, OL-4.1.5).
- fix: Eliminate N+1 database access in webhook ingestion (logger::log_meeting_users now batches user lookups and existing-row resolution; the broker invokes it once per event), the privacy export and per-user delete (single batched query keyed by cm.id IN (...)), and the BN Reports legacy migration (pre-fetched bnx and target rows) (OL-3.1.2).
- fix: Replace SELECT m.* with an explicit column list in meeting_service::get_by_cmid()/get_all_by_cmid() (OL-4.1.6).
- fix: Switch admin settings labels to deferred lang_string resolution (OL-3.1.5).
- fix: Drop the unused use core_reportbuilder\local\filters\date import in the attendee entity and remove the dead-store assignment in logger::log_meeting (OL-3.1.4, OL-3.1.3).
- chore: Replace inline HTML strings with html_writer::span() in the attendance and engagement system reports (OL-4.1.2).
- chore: Pin the bbbext_bnx dependency to 2026050102 (1.1.1) so the no-cross-plugin-enablement contract emitted by BNX is in place at install / upgrade time (CC-4).
- chore: Sync db/install.xml VERSION with version.php (OL-3.1.1) and add an upgrade savepoint for 2026060200.
- fix: Rename the reserved attendee fields `role` / `score` in `bbbext_bnx_datahub_meeting_user` to `attendeerole` / `attendeescore`, regenerate `db/install.xml` with the new canonical field names for fresh installs, and add an XMLDB upgrade step (`2026061000`) that renames the existing columns in place so upgrade sites keep their historical data intact (OL-4.1.7).
- test: Invert the meeting events enablement conformance suite to assert the sidecar contract and add status-check coverage; bootstrap bigbluebuttonbn_meetingevents_enabled in every PHPUnit fixture that exercises BBB activity flows (CC-2).
- test: Re-enable the previously @skipped Behat scenario covering the role capability prohibit path (OL-4.1.1).
- ci: Seed bigbluebuttonbn_meetingevents_enabled in .github/workflows/gha.yml after Behat / PHPUnit init now that the install hook no longer auto-enables it (CC-5).
- docs: Document the sidecar contract in README and refresh .copilot/ARCHITECTURE.md to remove references to the legacy sidecar_state_manager (CC-3, CC-6).

1.0.1 (April 15, 2026)
- feat: Initial public release of bbbext_bnx_datahub, including the core DataHub persistence model, attendance / engagement analytics capture, and the first generation of DataHub reports.
- feat: Add legacy BN Reports migration support so historical settings and meeting data can be imported into DataHub during rollout.
- feat: Add the first DataHub service-layer and debug-logging support for analytics processing and operational troubleshooting.
- test: Add the initial automated test coverage and CI support for the plugin.
- historical: This release still auto-enabled BigBlueButton meeting events during install / upgrade / enable flows; that behaviour shipped in the 1.0.x line and was removed later in 1.1-beta.1 when the sidecar contract was tightened.
