From b66fe5dd5feafcecce33064188234ead6d544b6c Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Thu, 9 Mar 2023 19:00:32 +0100 Subject: [PATCH] chore(release): preparations Signed-off-by: Sami Mazouz --- CHANGELOG.md | 59 ++++++++++++++++++- extensions/akismet/composer.json | 4 +- extensions/approval/composer.json | 4 +- extensions/bbcode/composer.json | 2 +- extensions/embed/composer.json | 2 +- extensions/emoji/composer.json | 2 +- extensions/flags/composer.json | 2 +- extensions/lang-english/composer.json | 2 +- extensions/likes/composer.json | 2 +- extensions/lock/composer.json | 2 +- extensions/markdown/composer.json | 2 +- extensions/mentions/composer.json | 2 +- extensions/nicknames/composer.json | 2 +- extensions/pusher/composer.json | 2 +- extensions/statistics/composer.json | 2 +- extensions/sticky/composer.json | 2 +- extensions/subscriptions/composer.json | 2 +- extensions/suspend/composer.json | 2 +- extensions/tags/composer.json | 2 +- framework/core/composer.json | 2 +- framework/core/src/Foundation/Application.php | 2 +- js-packages/jest-config/package.json | 3 +- js-packages/webpack-config/package.json | 2 +- 23 files changed, 83 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb105bd8c..c929d5e236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,63 @@ # Changelog -# [v1.6.3](https://github.com/flarum/framework/compare/v1.6.2...v1.6.3) +## [v1.7.0](https://github.com/flarum/framework/compare/v1.6.3...v1.7.0) +### Added +- (actions) allow running JS tests in GH actions [#3730] +- (core) PHP 8.2 Support [#3709] +- (jest) create jest config package for unit testing [#3678] +- (jest) mithril component testing [#3679] +- (phpstan) foundation for usage in extensions [#3666] +- (seo) Do not use h3 header for poster author in posts stream [#3732] +- (seo) Use h2 header for discussions on discussions list [#3731] +- (seo) shift h1 tag from logo to discussion title [#3724] +- (tags) admin tag selection component (reusable tag selection modal) [#3686] +- Admin User Search [#3712] +- access tokens user management UI [#3587] +- add display name column to admin users list [#3740] +- allow push additional items to the end of the poststream [#3691] +- allow using utf8 characters in tag slugs [#3588] +- expose queue driver, schedule status [#3593] +- expose {time} to eventPost data, fix renamed tooltip [#3698] +- frontend `Model` extender [#3646] +- global logout to clear all sessions, access tokens, email tokens and password tokens [#3605] +- improved page navigation for users list [#3741] +- introduce frontend extenders [#3645] +### Fixed +- (mentions) correctly convert a 3 char. hex color to a 6 char. one [#3694] +- (mentions) post reply mention missing notification on approval [#3738] +- (phpstan) adapt phpstan package for extension use [#3727] +- (tags) clickable tag labels have underline [#3737] +- (tags) tag text color contrast [#3653] +- 3 digit hex color value in color input not supported [#3706] +- column `id` can be ambiguous in group filter with extensions [#3696] +- disallow certain dangerous LESS features ([1761660](1761660c98ea5a3e9665fb8e6041d1f2ee62a444)) +- evaluated page title content [#3684] +- invalid translation key for scheduler dashboard [#3736] +- load actor.groups on showforumcontroller [#3716] +- make go-to-page input number-like [#3743] +- normal logout affects all sessions [#3571] +- permissions table on mobile is unusable [#3722] +- post dropdown opens all dropdowns in `.Post-actions` [#3675] +- typo in Formatter extender docblock [#3676] +- undefined showing in dropdown active title [#3700] +### Changed +- (phpstan) enable phpstan in bundled extensions [#3667] +- Add missing states exports to `compat.ts` [#3683] +- Indicate cross-origin request in generic error message [#3669] +- Merge branch 'release/v1.6.2' ([e0b9dcf](e0b9dcfbcd7db175368dbc98255f9223da8df17d)) +- The negate field doesn't get used, which means you cant exclude tags [#3713] +- Update forum.less to fix the misalignment of the choose tags button [#3726] +- `yarn audit-fix` ([8ddb0fe](8ddb0feb097dad06c5763107d7a7f7b5a55562c4)) +- `yarn` ([ee1e04c](ee1e04cdc26b3e63057a58899f32f482901a95fd)) +- convert `Dropdown` components to TS [#3608] +- fix php 8.1 on preg_match 2nd argument being null, which also optimizes slightly ([d7b9a03](d7b9a03f31847c39631ba495df8f515509774610)) +- improve group mentions parsing [#3723] +- prepare `@flarum/jest-config` for release ([748cca6](748cca6d12f8b1744a6017c09395725bdbb4a118)) +- remove use of deprecated phpunit assertion ([3af0481](3af0481f304277f5380fac9c9b169a7fa651f53b)) +- set flarum version to 1.7.0 for dev ([2517bc0](2517bc0f70b0f0e3d3ea3f6ae06af8604d89b25d)) +- update JS dependencies [#3695] + +## [v1.6.3](https://github.com/flarum/framework/compare/v1.6.2...v1.6.3) ### Fixed * Post mentions can be used to read any post on the forum without access control (ab1c868b978e8b0d09a5d682c54665dae17d0985). * Notifications can leak restricted content (d0a2b95dca57d3dae9a0d77b610b1cb1d0b1766a). diff --git a/extensions/akismet/composer.json b/extensions/akismet/composer.json index 04570e7750..81d04bcfa3 100644 --- a/extensions/akismet/composer.json +++ b/extensions/akismet/composer.json @@ -19,8 +19,8 @@ } ], "require": { - "flarum/core": "^1.6", - "flarum/approval": "^1.2" + "flarum/core": "^1.7", + "flarum/approval": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/approval/composer.json b/extensions/approval/composer.json index 11005b735e..1b13a74f8d 100644 --- a/extensions/approval/composer.json +++ b/extensions/approval/composer.json @@ -19,8 +19,8 @@ } ], "require": { - "flarum/core": "^1.6", - "flarum/flags": "^1.2" + "flarum/core": "^1.7", + "flarum/flags": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/bbcode/composer.json b/extensions/bbcode/composer.json index f5ccb500f1..b89c937f97 100644 --- a/extensions/bbcode/composer.json +++ b/extensions/bbcode/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "extra": { "branch-alias": { diff --git a/extensions/embed/composer.json b/extensions/embed/composer.json index bc09706cd5..466ccc1145 100644 --- a/extensions/embed/composer.json +++ b/extensions/embed/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/emoji/composer.json b/extensions/emoji/composer.json index 03b29f3146..13b954c342 100644 --- a/extensions/emoji/composer.json +++ b/extensions/emoji/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "extra": { "branch-alias": { diff --git a/extensions/flags/composer.json b/extensions/flags/composer.json index cf9650a694..8b10ff8f0d 100644 --- a/extensions/flags/composer.json +++ b/extensions/flags/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/lang-english/composer.json b/extensions/lang-english/composer.json index 746c513cdd..21050e3b42 100644 --- a/extensions/lang-english/composer.json +++ b/extensions/lang-english/composer.json @@ -7,7 +7,7 @@ ], "license": "MIT", "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "extra": { "branch-alias": { diff --git a/extensions/likes/composer.json b/extensions/likes/composer.json index a64564e11d..3dee5eeb4f 100644 --- a/extensions/likes/composer.json +++ b/extensions/likes/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/lock/composer.json b/extensions/lock/composer.json index d36632a47f..437713fc99 100644 --- a/extensions/lock/composer.json +++ b/extensions/lock/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/markdown/composer.json b/extensions/markdown/composer.json index 0ee50ad8a4..d7a5a047ef 100644 --- a/extensions/markdown/composer.json +++ b/extensions/markdown/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "extra": { "branch-alias": { diff --git a/extensions/mentions/composer.json b/extensions/mentions/composer.json index ff510ef85f..00fe6dbe7a 100644 --- a/extensions/mentions/composer.json +++ b/extensions/mentions/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6.3" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/nicknames/composer.json b/extensions/nicknames/composer.json index 7561032572..cb81c6b816 100644 --- a/extensions/nicknames/composer.json +++ b/extensions/nicknames/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/pusher/composer.json b/extensions/pusher/composer.json index 9d260fea43..857459499e 100644 --- a/extensions/pusher/composer.json +++ b/extensions/pusher/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6", + "flarum/core": "^1.7", "pusher/pusher-php-server": "^2.2" }, "require-dev": { diff --git a/extensions/statistics/composer.json b/extensions/statistics/composer.json index 8e72b8b55d..67edc9b79d 100644 --- a/extensions/statistics/composer.json +++ b/extensions/statistics/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/sticky/composer.json b/extensions/sticky/composer.json index fc4abfed25..fdf30746bb 100644 --- a/extensions/sticky/composer.json +++ b/extensions/sticky/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/subscriptions/composer.json b/extensions/subscriptions/composer.json index d6075c3d4d..1413b9a491 100644 --- a/extensions/subscriptions/composer.json +++ b/extensions/subscriptions/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6.3" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/suspend/composer.json b/extensions/suspend/composer.json index 37297e9b07..6699f537ab 100644 --- a/extensions/suspend/composer.json +++ b/extensions/suspend/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/extensions/tags/composer.json b/extensions/tags/composer.json index a203a7cf4a..638fe9daaf 100644 --- a/extensions/tags/composer.json +++ b/extensions/tags/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^1.6" + "flarum/core": "^1.7" }, "autoload": { "psr-4": { diff --git a/framework/core/composer.json b/framework/core/composer.json index 208bad0d4f..05684fa492 100644 --- a/framework/core/composer.json +++ b/framework/core/composer.json @@ -36,7 +36,7 @@ "chat": "https://flarum.org/chat" }, "require": { - "php": ">=7.3", + "php": ">=7.3 || ^8.0", "components/font-awesome": "^5.14.0", "dflydev/fig-cookies": "^3.0.0", "doctrine/dbal": "^2.7", diff --git a/framework/core/src/Foundation/Application.php b/framework/core/src/Foundation/Application.php index 38454a8083..90d2a9a3bc 100644 --- a/framework/core/src/Foundation/Application.php +++ b/framework/core/src/Foundation/Application.php @@ -21,7 +21,7 @@ class Application * * @var string */ - const VERSION = '1.7.0-dev'; + const VERSION = '1.7.0'; /** * The IoC container for the Flarum application. diff --git a/js-packages/jest-config/package.json b/js-packages/jest-config/package.json index 1ffff18960..27c7be3b21 100644 --- a/js-packages/jest-config/package.json +++ b/js-packages/jest-config/package.json @@ -1,6 +1,6 @@ { "name": "@flarum/jest-config", - "version": "1.0.0", + "version": "1.0.1", "description": "Jest config for Flarum.", "main": "index.cjs", "author": "Flarum Team", @@ -9,6 +9,7 @@ "prettier": "@flarum/prettier-config", "dependencies": { "@types/jest": "^29.2.2", + "flarum-webpack-config": "^2.0.1", "flat": "^5.0.2", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", diff --git a/js-packages/webpack-config/package.json b/js-packages/webpack-config/package.json index 6492bf292d..74d7ee4c10 100644 --- a/js-packages/webpack-config/package.json +++ b/js-packages/webpack-config/package.json @@ -1,6 +1,6 @@ { "name": "flarum-webpack-config", - "version": "2.0.0", + "version": "2.0.1", "description": "Webpack config for Flarum JS and TS transpilation.", "main": "index.js", "author": "Flarum Team",