From d5f944023ccf402f9bd345026b52d1e7d370f4ae Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Sat, 7 Dec 2024 09:50:31 +0100 Subject: [PATCH] chore: prepare `2.0.0-beta.1` --- CHANGELOG.md | 118 ++++++++++++++++++ extensions/akismet/composer.json | 2 +- extensions/approval/composer.json | 2 +- 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/messages/composer.json | 2 +- extensions/nicknames/composer.json | 2 +- extensions/package-manager/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/src/Foundation/Application.php | 2 +- 22 files changed, 139 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3c55a1013..8eceecebe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,123 @@ # Changelog +## [v2.0.0-beta.1](https://github.com/flarum/framework/compare/v1.8.9...v2.0.0-beta.1) +### Changed +- php 8.4 [#4103] +- JSON:API refactor [#3971] +- (mentions) allow renderer to be used without context [#3954] +- (flags) add pagination to flags list [#3931] +- (mentions) add integration test for reply approval notification [#3748] +- (mentions,emoji) tie autocomplete to editor instance [#3913] +- (phpstan) upgrade to be compatible with latest dependency updates [#3835] +- (tags) prevent loading tag state if loaded previously [#4009] +- (testing) run flarum/testing packages tests back again [#3844] +- Do not catch exceptions when testing Console commands [#3813] +- Patch vulnerability advisory [#3966] +- Search box improvements on tablet devices [#4076] +- Test using MySQL 8.1 [#3870] +- Upgrade dependencies [#3830], [#4012] +- Upgrade `intervention/image` to 3.2 [#3947] +- Upgrade Wikimedia/less.php to 4.1 [#3837] +- Upgrade Mithril to 2.2 [#3831] +- (tags) Wrong tag input width if contains CJK characters [#4127] +- allow custom actions runner to be defined [#3988] +- avoid using `.fa()` mixins and `@fa-var` vars [#3912] +- cleanup composer deps (40dcaf882cd017463ca792762d4aa11de8c5c7da) +- corrected typos in routes comments [#3840] +- extract `FormModal` from `Modal` [#3922] +- extract `buildSettingComponent` method into a `FormGroup` component [#3927] +- fix typos [#4021] +- function names (d15438846895a5cf7b5a584479ef63a6e3119925) +- handle deprecations from 1.x [#3909] +- ignore deprecation errors in prod [#4072] +- improve debugging experience [#3944] +- improve test suite [#3814] +- increase phpstan level to 6 [#3836] +- `HeaderPrimary.js` converted to typescript [#4052] +- merge the app with the container & implement the ApplicationContract [#3862] +- recover bundlewatch [#3829] +- remove ExtenderInterface[] as a conditional option, only support callable or ::class invoke [#3904] +- remove listing of posts in the show discussion endpoint [#4067] +- remove unused vars in catch [#3839] +- simplify if else conditions [#3843] +- simplify variable assignment using null coalescing operator [#4000] +- support composer auth in workflows [#3961] +- switch formatter to `format-message` [#4088] +- transpile js to es6 [#3699] +- unify frontend initializers naming [#4003] +- update FontAwesome v6 icon search link [#4036] +- use `::class` syntax to fetch class name instead of `get_class()` function [#3910] +- use `hex_color` rule for color validation [#3936] +- use `str_contains` instead of `strpos` [#3841] +### Fixed +- (a11y) convert empty links to buttons [#3926] +- (approval) `PostWasApproved` event triggered incorrectly [#3930] +- (em) prevent use if missing php functions (94b0d67a4020e1b7027e0df53dee1d681dc822e1) +- (em) production ready check (f6e84a0dc576d1cfe8539b7438244edf156e3b1a) +- (testing) use cookie for testing authentication [#3924] +- 3 char hex color is incorrectly modified to 6 [#4013] +- Add conditional rendering for email status in MailPage.tsx [#3997] +- Logout controller allows open redirects [#3948], [#4091] +- allow use of an attribute named `relationships` (1ead69e9b66ae9bc335be663498b7ea706adbf73) +- cannot install without db prefix [#4001] +- change length of email field [#4118] +- color input changes while typing [#3919] +- console extender does not accept `::class` attribute for schedule [#3903] +- default labels with `SettingDropdown` and `SelectDropdown` [#3854] +- duplicated `mentionsUsers` in extend.php (2b56129d70d18686a73d044ff65b418eef83f388) +- handled API errors break preloaded content [#3920] +- improve the flarum validator [#4133] +- installation command config path can be null (07623afacde590c45a20537add3b72a919050819) +- larastan changed namespace [#3955] +- larastan changes frequently (af2a32a3a4f50874c63785f5168e1df60f947553) +- load event mentioned tags on show discussion endpoint [#3915] +- move `UserSearchResult` to common (35f76bce60361caac8001c41c421de30f567b221) +- notify for all posts switch field loading state [#3938] +- only set actor on events that have it [#3914] +- overflowing forum stats [#3940] +- paginated list limit hard to change [#3918] +- prevent wiping out existing database on install [#4092] +- reset save button state when an error occurs in admin page [#4010] +- usage of `aria-hidden=false` might cause inconsistent behavior [#4074] +- use dynamic viewport units for height of Modals [#3951] +- user pages history not registered [#3916] +- validate required cli install args [#4093] +- make `WelcomeHero` extensible [#3848] +- Update the scheduler info link in admin (#3826) +### Added +- Export Registry [#3842] +- Code Splitting [#3860] +- Fontawesome v6 [#4020] +- extension bisect [#3980] +- extension list UI [#4066] +- admin search UI [#4022] +- add support for `PgSQL` [#3985] +- add support for `SQLite` [#3984] +- separate `MariaDB` driver [#4132] +- advanced maintenance modes [#3977] +- notification unsubscribe links [#3872] +- email overhaul with HTML multipart [#3872] +- date time formats from locales [#4029] +- messages extension [#4028] +- search drivers (revamp search system) [#3893] +- search UI/UX revamp [#3941] +- post search adapted with global search [#4019] +- vanilla CSS color scheme changes [#3996] +- (emoji) allow the user to set the CDN address [#3908] +- (nicknames) allow OAuth to provide a nickname [#4004] +- (sticky) make excerpt optional in sticky [#4016] +- JS `Notification` extender [#3974] +- add `whenExtensionDisabled` to `Conditional` extender [#3847] +- add option for filtering read stickied on all discussions page [#4073] +- allow resetting settings to default [#3935] +- define `FLARUM_START` constant [#4082] +- dispatch event to `flarum/installation-packages` on release [#3625] +- eloquent factories (primarily for tests) [#3982] +- frontend content flexible order priorities [#3765] +- improve emoji autocomplete [#3923] +- recover support for ico favicon [#4126] +- theming and extensibility improvements [#3876] + ## [v1.8.1](https://github.com/flarum/framework/compare/v1.8.0...v1.8.1) ### Fixed * recover temporary solution for html entities in browser title (e72541e35de4f71f9d870bbd9bb46ddf586bdf1d) diff --git a/extensions/akismet/composer.json b/extensions/akismet/composer.json index f623df88b8..030de9931a 100644 --- a/extensions/akismet/composer.json +++ b/extensions/akismet/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0", + "flarum/core": "^2.0.0-beta.1", "flarum/approval": "^2.0" }, "autoload": { diff --git a/extensions/approval/composer.json b/extensions/approval/composer.json index 2ab50c1c4a..266d22cc8c 100644 --- a/extensions/approval/composer.json +++ b/extensions/approval/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0", + "flarum/core": "^2.0.0-beta.1", "flarum/flags": "^2.0" }, "autoload": { diff --git a/extensions/bbcode/composer.json b/extensions/bbcode/composer.json index 49580f3c79..38b5e043f0 100644 --- a/extensions/bbcode/composer.json +++ b/extensions/bbcode/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/embed/composer.json b/extensions/embed/composer.json index c78be205c6..eed537f238 100644 --- a/extensions/embed/composer.json +++ b/extensions/embed/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/emoji/composer.json b/extensions/emoji/composer.json index 7f9ad882e7..ac2edd96d9 100644 --- a/extensions/emoji/composer.json +++ b/extensions/emoji/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "extra": { "branch-alias": { diff --git a/extensions/flags/composer.json b/extensions/flags/composer.json index c6bcf58891..dcf92701d6 100644 --- a/extensions/flags/composer.json +++ b/extensions/flags/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/lang-english/composer.json b/extensions/lang-english/composer.json index 9025763bb8..226bffa328 100644 --- a/extensions/lang-english/composer.json +++ b/extensions/lang-english/composer.json @@ -7,7 +7,7 @@ ], "license": "MIT", "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "extra": { "branch-alias": { diff --git a/extensions/likes/composer.json b/extensions/likes/composer.json index 370cfd4448..4b8be07909 100644 --- a/extensions/likes/composer.json +++ b/extensions/likes/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/lock/composer.json b/extensions/lock/composer.json index 1bec50b938..7e975066ef 100644 --- a/extensions/lock/composer.json +++ b/extensions/lock/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/markdown/composer.json b/extensions/markdown/composer.json index 270385c6da..88306455cd 100644 --- a/extensions/markdown/composer.json +++ b/extensions/markdown/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "extra": { "branch-alias": { diff --git a/extensions/mentions/composer.json b/extensions/mentions/composer.json index 9182a9fa5d..ed59968f46 100644 --- a/extensions/mentions/composer.json +++ b/extensions/mentions/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/messages/composer.json b/extensions/messages/composer.json index f5c4a9b735..5f18bcfe7b 100644 --- a/extensions/messages/composer.json +++ b/extensions/messages/composer.json @@ -7,7 +7,7 @@ "type": "flarum-extension", "license": "MIT", "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "authors": [ { diff --git a/extensions/nicknames/composer.json b/extensions/nicknames/composer.json index 5ca131a0ad..b8f94ca05d 100644 --- a/extensions/nicknames/composer.json +++ b/extensions/nicknames/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/package-manager/composer.json b/extensions/package-manager/composer.json index bd6ab76fda..6d95a19e6f 100755 --- a/extensions/package-manager/composer.json +++ b/extensions/package-manager/composer.json @@ -22,7 +22,7 @@ "source": "https://github.com/flarum/extension-manager" }, "require": { - "flarum/core": "^2.0", + "flarum/core": "^2.0.0-beta.1", "composer/composer": "^2.7" }, "require-dev": { diff --git a/extensions/pusher/composer.json b/extensions/pusher/composer.json index 61e97bda0c..c9e75f6892 100644 --- a/extensions/pusher/composer.json +++ b/extensions/pusher/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0", + "flarum/core": "^2.0.0-beta.1", "pusher/pusher-php-server": "^7.2" }, "require-dev": { diff --git a/extensions/statistics/composer.json b/extensions/statistics/composer.json index d5a013d523..ef268013b8 100644 --- a/extensions/statistics/composer.json +++ b/extensions/statistics/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/sticky/composer.json b/extensions/sticky/composer.json index 030cfa35cb..82fb97891d 100644 --- a/extensions/sticky/composer.json +++ b/extensions/sticky/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/subscriptions/composer.json b/extensions/subscriptions/composer.json index d8a458878e..6495bb12e6 100644 --- a/extensions/subscriptions/composer.json +++ b/extensions/subscriptions/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/suspend/composer.json b/extensions/suspend/composer.json index c816b488f6..b5390a9c72 100644 --- a/extensions/suspend/composer.json +++ b/extensions/suspend/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/extensions/tags/composer.json b/extensions/tags/composer.json index cc35b92118..2590f6aa56 100644 --- a/extensions/tags/composer.json +++ b/extensions/tags/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "flarum/core": "^2.0" + "flarum/core": "^2.0.0-beta.1" }, "autoload": { "psr-4": { diff --git a/framework/core/src/Foundation/Application.php b/framework/core/src/Foundation/Application.php index bc191d9a5d..9dabbe5d3c 100644 --- a/framework/core/src/Foundation/Application.php +++ b/framework/core/src/Foundation/Application.php @@ -25,7 +25,7 @@ class Application extends IlluminateContainer implements LaravelApplication * * @var string */ - const VERSION = '2.0-dev'; + const VERSION = '2.0.0-beta.1'; protected bool $booted = false;