diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb105bd8..c929d5e23 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 04570e775..81d04bcfa 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 11005b735..1b13a74f8 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 f5ccb500f..b89c937f9 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 bc09706cd..466ccc114 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 03b29f314..13b954c34 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 cf9650a69..8b10ff8f0 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 746c513cd..21050e3b4 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 a64564e11..3dee5eeb4 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 d36632a47..437713fc9 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 0ee50ad8a..d7a5a047e 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 ff510ef85..00fe6dbe7 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 756103257..cb81c6b81 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 9d260fea4..857459499 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 8e72b8b55..67edc9b79 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 fc4abfed2..fdf30746b 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 d6075c3d4..1413b9a49 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 37297e9b0..6699f537a 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 a203a7cf4..638fe9daa 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 208bad0d4..05684fa49 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 38454a808..90d2a9a3b 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 1ffff1896..27c7be3b2 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 6492bf292..74d7ee4c1 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",