Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify release notes for AllowCorsFrom #6550

Merged
merged 5 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions source/install/self-managed-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Latest Mattermost Releases:
- Removed deprecated ``PermissionUseSlashCommands``.
- Removed deprecated ``model.CommandArgs.Session``.
- Pass a ``context.Context`` to Client4 methods.
- For servers wanting to allow websockets to connect from other origins, please set the ``ServiceSettings.AllowCorsFrom`` [configuration setting](https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from).
- For servers wanting to allow websockets to connect from origins other than the origin of the site URL, please set the ``ServiceSettings.AllowCorsFrom`` [configuration setting](https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from). Also ensure that the ``siteURL`` is set correctly.
- In v8.0, the following repositories are merged into one: ``mattermost-server``, ``mattermost-webapp`` and ``mmctl``. Developers should read the updated [Developer Guide](https://developers.mattermost.com/contribute/developer-setup/) for details.
- Fixed an issue caused by a migration in the previous release. Query takes around 11ms on a PostgreSQL 14 DB t3.medium RDS instance. Locks on the preferences table will only be acquired if there are rows to delete, but the time taken is negligible.
- Fixed an issue where a user would still see threads in the threads view of channels they have left. Migration execution time in PostgreSQL: Execution time: 58.11 sec, DELETE 2766690. Migration execution time in MySQL: Query OK, 2766769 rows affected (4 min 47.57 sec).
Expand Down Expand Up @@ -229,7 +229,7 @@ Multiple setting options were added to ``config.json``. Below is a list of the a
- Mattermost v7.10.3 contains low to medium severity level security fixes. [Upgrading](https://docs.mattermost.com/upgrade/upgrading-mattermost-server.html) to this release is recommended. Details will be posted on our [security updates page](https://mattermost.com/security-updates/) 30 days after release as per the [Mattermost Responsible Disclosure Policy](https://mattermost.com/security-vulnerability-report/).
- Updated prepackaged Boards to v7.10.3.
- Included prepackaged Welcomebot plugin v1.3.0.
- For servers wanting to allow websockets to connect from other origins, please set the ``ServiceSettings.AllowCorsFrom`` [config setting](https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from).
- For servers wanting to allow websockets to connect from origins other than the origin of the site URL, please set the ``ServiceSettings.AllowCorsFrom`` [configuration setting](https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from). Also ensure that the ``siteURL`` is set correctly.
- **v7.10.2, released 2023-05-18**
- Fixed an issue where v7.10 reported an incorrect mmctl version.
- **v7.10.1, released 2023-05-16**
Expand Down Expand Up @@ -330,7 +330,7 @@ Multiple setting options were added to ``config.json``. Below is a list of the a
- **v7.9.5, released 2023-06-15**
- Mattermost v7.9.5 contains low to medium severity level security fixes. [Upgrading](https://docs.mattermost.com/upgrade/upgrading-mattermost-server.html) to this release is recommended. Details will be posted on our [security updates page](https://mattermost.com/security-updates/) 30 days after release as per the [Mattermost Responsible Disclosure Policy](https://mattermost.com/security-vulnerability-report/).
- Updated prepackaged Boards to v7.9.6.
- For servers wanting to allow websockets to connect from other origins, please set the ``ServiceSettings.AllowCorsFrom`` [config setting](https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from).
- For servers wanting to allow websockets to connect from origins other than the origin of the site URL, please set the ``ServiceSettings.AllowCorsFrom`` [configuration setting](https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from). Also ensure that the ``siteURL`` is set correctly.
- **v7.9.4, released 2023-05-16**
- Mattermost v7.9.4 contains medium severity level security fixes. [Upgrading](https://docs.mattermost.com/upgrade/upgrading-mattermost-server.html) to this release is recommended. Details will be posted on our [security updates page](https://mattermost.com/security-updates/) 30 days after release as per the [Mattermost Responsible Disclosure Policy](https://mattermost.com/security-vulnerability-report/).
- Fixed an issue where a user would still see threads in the threads view of channels they have left. Migration execution time in MySQL: Query OK, 2766769 rows affected (4 min 47.57 sec). Migration execution time in PostgreSQL: 58.11 sec, DELETE 2766690.
Expand Down Expand Up @@ -462,7 +462,7 @@ Mattermost v7.9.0 contains a low severity level security fix. [Upgrading](https:
- Mattermost v7.8.7 contains no database or functional changes.
- Updated prepackaged Boards to v7.8.7.
- Fixed typo in the database migration scripts that broke idempotency.
- For servers wanting to allow websockets to connect from other origins, please set the ``ServiceSettings.AllowCorsFrom`` [config setting](https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from).
- For servers wanting to allow websockets to connect from origins other than the origin of the site URL, please set the ``ServiceSettings.AllowCorsFrom`` [configuration setting](https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from). Also ensure that the ``siteURL`` is set correctly.
- **v7.8.6, released 2023-05-31**
- Fixed an issue where the total user count was fetched for every client connection. It is only necessary to fetch this once.
- Prepackaged version 1.3.0 of the Welcomebot plugin.
Expand Down
23 changes: 15 additions & 8 deletions source/upgrade/important-upgrade-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ Important Upgrade Notes
| +------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| | Removed deprecated ``model.CommandArgs.Session``. |
| +------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| | For servers wanting to allow websockets to connect from other origins, please set the ``ServiceSettings.AllowCorsFrom`` `configuration setting |
| | <https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from>`_. |
| | For servers wanting to allow websockets to connect from origins other than the origin of the site URL, please set the ``ServiceSettings.AllowCorsFrom`` |
| | `configuration setting <https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from>`_. Also ensure that |
| | the ``siteURL`` is set correctly. |
| +------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| | In v8.0 release, the following repositories are merged into one: ``mattermost-server``, ``mattermost-webapp`` and ``mmctl``. |
| | Developers should read the updated `Developer Guide <https://developers.mattermost.com/contribute/developer-setup/>`_ for details. |
Expand All @@ -89,8 +90,10 @@ Important Upgrade Notes
| | In v7.10.1, fixed an issue where a user would still see threads in the threads view of channels they have left. Migration execution time in MySQL: Query OK, |
| | 2766769 rows affected (4 min 47.57 sec). Migration execution time in PostgreSQL: 58.11 sec, DELETE 2766690. |
| +------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| | In v7.10.3, for servers wanting to allow websockets to connect from other origins, please set the ``ServiceSettings.AllowCorsFrom`` `config setting |
| | <https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from>`_. |
| | In v7.10.3, for servers wanting to allow websockets to connect from origins other than the origin of the site URL, please set the |
| | ``ServiceSettings.AllowCorsFrom`` |
| | `configuration setting <https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from>`_. Also ensure that |
| | the ``siteURL`` is set correctly. |
+----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| v7.9 | Added a new index on ``Posts(OriginalId)``. For a database with 11.8 million posts, on a machine with a i7-11800H CPU (8 cores, 16 threads), 32GiB of RAM and |
| | SSD, the index creation takes 98.51s on MYSQL and 2.6s on PostgreSQL. |
Expand Down Expand Up @@ -139,8 +142,10 @@ Important Upgrade Notes
| | |
| | Locks on the ``oauthaccessdata`` and sessions table will only be acquired if there are rows to delete. |
| +------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| | In v7.9.5, for servers wanting to allow websockets to connect from other origins, please set the ``ServiceSettings.AllowCorsFrom`` `config setting |
| | <https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from>`_. |
| | In v7.9.5, for servers wanting to allow websockets to connect from origins other than the origin of the site URL, please set the |
| | ``ServiceSettings.AllowCorsFrom`` |
| | `configuration setting <https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from>`_. Also ensure that |
| | the ``siteURL`` is set correctly. |
+----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| v7.8 | `Message Priority & Acknowledgement <https://docs.mattermost.com/configure/site-configuration-settings.html#message-priority>`__ is now enabled by default |
| | for all instances. You may disable this feature in the System Console by going to **Posts > Message Priority** or via the config ``PostPriority`` setting. |
Expand Down Expand Up @@ -184,8 +189,10 @@ Important Upgrade Notes
| | |
| | Locks on the ``oauthaccessdata`` and sessions table will only be acquired if there are rows to delete. |
| +------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| | In v7.8.7, for servers wanting to allow websockets to connect from other origins, please set the ``ServiceSettings.AllowCorsFrom`` `config setting |
| | <https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from>`_. |
| | In v7.8.7, for servers wanting to allow websockets to connect from origins other than the origin of the site URL, please set the |
| | ``ServiceSettings.AllowCorsFrom`` |
| | `configuration setting <https://docs.mattermost.com/configure/integrations-configuration-settings.html#enable-cross-origin-requests-from>`_. Also ensure that |
| | the ``siteURL`` is set correctly. |
+----------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| v7.7 | Plugins with a webapp component may need to be updated to work with Mattermost v7.7 release and the updated ``React v17`` dependency. |
| | |
Expand Down