diff --git a/CHANGELOG.md b/CHANGELOG.md index cc313c557..9223fc45c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,117 +1,95 @@ # Changelog -## [v0.1.0-beta.16](https://github.com/flarum/core/compare/v0.1.0-beta.15...v0.1.0-beta.16) +## [0.1.0-beta.16](https://github.com/flarum/core/compare/v0.1.0-beta.15...v0.1.0-beta.16) ### Added - -- PHP 8 support [`#2507`](https://github.com/flarum/core/pull/2507) -- Allow overriding routes [`#2577`](https://github.com/flarum/core/pull/2577) -- Simple flarum search extender and tests [`#2483`](https://github.com/flarum/core/pull/2483) -- Filterer extender [`#2454`](https://github.com/flarum/core/pull/2454) -- Auth extender for password checking [`#2176`](https://github.com/flarum/core/pull/2176) -- Add `subscribe` method to event extender [`#2535`](https://github.com/flarum/core/pull/2535) -- Add default value to Settings extender [`#2495`](https://github.com/flarum/core/pull/2495) -- Add notification extender beforeSending method [`#2533`](https://github.com/flarum/core/pull/2533) -- Optional dependencies [`#2579`](https://github.com/flarum/core/pull/2579) -- Editor driver abstraction [`#2594`](https://github.com/flarum/core/pull/2594) -- Add user badges to post preview [`#2555`](https://github.com/flarum/core/pull/2555) -- Added optional powered-by header [`#2618`](https://github.com/flarum/core/pull/2618) -- Add missing a11y attributes [`#2564`](https://github.com/flarum/core/pull/2564) -- Use flarum/testing for test infrastructure [`#2545`](https://github.com/flarum/core/pull/2545) +- Allow event subscribers (https://github.com/flarum/core/pull/2535) +- Allow Settings extender to have a default value (https://github.com/flarum/core/pull/2495) +- Allow hooking into the sending of notifications before being send (https://github.com/flarum/core/pull/2533) +- PHP 8 support (https://github.com/flarum/core/pull/2507) +- Search extender (https://github.com/flarum/core/pull/2483) +- User badges to post preview (https://github.com/flarum/core/pull/2555) +- Optional extension dependencies allow a booting order (https://github.com/flarum/core/pull/2579) +- Auth extender (https://github.com/flarum/core/pull/2176) +- `X-Powered-By` header added to allow indexers easier data aggregation of Flarum adoption (https://github.com/flarum/core/pull/2618) ### Changed - -- Refactor access tokens [`#2651`](https://github.com/flarum/core/pull/2651) -- Search filter split, use same controller [`#2454`](https://github.com/flarum/core/pull/2454) -- Use filterer for ListPostsController [`#2479`](https://github.com/flarum/core/pull/2479) -- Query namespace [`#2645`](https://github.com/flarum/core/pull/2645) -- Laravel components v8 [`#2576`](https://github.com/flarum/core/pull/2576) -- Convert some helpers to Typescript [`#2541`](https://github.com/flarum/core/pull/2541) [`#2532`](https://github.com/flarum/core/pull/2532) -- Don't push bidi function to DOM [`#2602`](https://github.com/flarum/core/pull/2602) -- Policies: treat `true` as `allow`, and `false` as `deny` [`#2534`](https://github.com/flarum/core/pull/2534) -- Centralized IP handler [`#2624`](https://github.com/flarum/core/pull/2624) -- AdminUX improvements [`#2593`](https://github.com/flarum/core/pull/2593) -- Simplify extension categories [`#2604`](https://github.com/flarum/core/pull/2604) -- Broader support for callables in ContainerUtil [`#2596`](https://github.com/flarum/core/pull/2596) -- Move locale files from language pack to core [`#2408`](https://github.com/flarum/core/pull/2408) -- Run backend tests in transactions [`#2304`](https://github.com/flarum/core/pull/2304) -- Make disabled extension dot a red border instead of red background [`#2562`](https://github.com/flarum/core/pull/2562) -- Bring `m.attrs.bidi` in as a util [`fae79ea`](https://github.com/flarum/core/commit/fae79ea910e3082db97be80592dfa0094bb42a00) -- Eagerload some needed relations in ListDiscussionsController [`#2639`](https://github.com/flarum/core/pull/2639) -- Move TextEditor to common [`#2649`](https://github.com/flarum/core/pull/2649) -- Export DiscussionListPane in compat [`#2591`](https://github.com/flarum/core/issues/2591) -- Use extension names instead of IDs when erroring on enable/disable reqs [`#2563`](https://github.com/flarum/core/pull/2563) -- Set this.changingState back to false in ExtensionPage if an error occurs [`#2558`](https://github.com/flarum/core/pull/2558) -- Use new `author` key for filtering posts [`#2671`](https://github.com/flarum/core/issues/2671) +- Run integration tests in transaction (https://github.com/flarum/core/pull/2304) +- Allow policies to return a boolean for simplified allow/deny (https://github.com/flarum/core/pull/2534) +- Converted highlight helper to typescript (https://github.com/flarum/core/pull/2532) +- Add accessibility attributes to Mark as Read button (https://github.com/flarum/core/pull/2564) +- Dismiss errors on change email modal upon a new request ([00913d5](https://github.com/flarum/core/commit/00913d5b0be2172cfce1f16aaf64a24f3d2e6d4b)) +- Disabled extensions now are marked with a red circle instead of a red dot (https://github.com/flarum/core/pull/2562) +- Extension dependency errors now show the extension title instead of the ID (https://github.com/flarum/core/pull/2563) +- Change `mutate` method on ApiSerializer extender to `attributes` (https://github.com/flarum/core/pull/2578) +- Moved locale files to the core from the language pack (https://github.com/flarum/core/pull/2408) +- AdminPage extensibility and generic improvements (https://github.com/flarum/core/pull/2593) +- Remove entry of authors, link to https://flarum.org/team (https://github.com/flarum/core/pull/2625) +- Search and filtering are split (https://github.com/flarum/core/pull/2454) +- Move IP identification into a middleware (https://github.com/flarum/core/pull/2624) +- Editor Driver abstraction introduced (https://github.com/flarum/core/pull/2594) +- Allow overriding routes (https://github.com/flarum/core/pull/2577) +- Split user edit permissions into permissions for editing of user credentials, username, groups and suspending (https://github.com/flarum/core/pull/2620) +- Reduced number of admin extension categories (https://github.com/flarum/core/pull/2604) +- Move search related classes to a dedicated Query namespace (https://github.com/flarum/core/pull/2645) +- Rewrite common helpers into typescript (https://github.com/flarum/core/pull/2541) +- `TextEditor` is moved to the common namespace for use in the admin frontend (https://github.com/flarum/core/pull/2649) +- Update Laravel/Illuminate components to 8 (https://github.com/flarum/core/pull/2576) +- Eager load relations in discussion listing to improve performance (https://github.com/flarum/core/pull/2639) +- Adopt flarum/testing package (https://github.com/flarum/core/pull/2545) +- Replace `user` gambit with `author` gambit ([612a57c](https://github.com/flarum/core/commit/612a57c4664415a3ea120103483645c32acc6f12)) +- Posts page of on user profile loads posts using username instead of id ([30017ee](https://github.com/flarum/core/commit/30017eef09ae9e78640c4e2cacd4909fffa8d775)) ### Fixed - -- User edit permission tightening [`#2620`](https://github.com/flarum/core/pull/2620) -- Hide boot error [`#2633`](https://github.com/flarum/core/pull/2633) -- Updated GroupFilterGambit to prevent hidden groups being visible wher… [`#2657`](https://github.com/flarum/core/pull/2657) -- Restrict who can use the lastSeenAt user sort [`#2634`](https://github.com/flarum/core/pull/2634) -- Clear cache files from storage/views [`#2648`](https://github.com/flarum/core/pull/2648) -- Fix search box out of screen [`#2650`](https://github.com/flarum/core/pull/2650) -- Fix having to double tap on mobile to open discussions [`#2607`](https://github.com/flarum/core/pull/2607) -- Navigate to dashboard page if extension ID not found [`#2584`](https://github.com/flarum/core/pull/2584) -- Fix composer header hidden by mobile browser [`#2279`](https://github.com/flarum/core/pull/2279) -- Fix iOS scroll menu bug [`#2527`](https://github.com/flarum/core/pull/2527) -- Various iOS scroll improvements [`#2548`](https://github.com/flarum/core/pull/2548) -- Fix keyboard on small mobile screens hiding composer [`#2631`](https://github.com/flarum/core/pull/2631) -- Fix notification panel infinite scroll [`#2524`](https://github.com/flarum/core/pull/2524) -- Fix DiscussionListPane jumping around [`#2402`](https://github.com/flarum/core/pull/2402) -- Fix deleting posts/discussions by deleted user [`#2521`](https://github.com/flarum/core/pull/2521) -- Fixes model visibility [`#2580`](https://github.com/flarum/core/pull/2580) -- PostStream: fix minor load more issue [`#2388`](https://github.com/flarum/core/pull/2388) -- BasicsPage: fix "show language selector" default [`#2574`](https://github.com/flarum/core/issues/2574) -- Correct non-existent cursor value (disallowed -> not-allowed) [`#2585`](https://github.com/flarum/core/pull/2585) +- Transform css breaks iOS scroll functionality (https://github.com/flarum/core/pull/2527) +- Composer header is hidden on mobile devices (https://github.com/flarum/core/pull/2279) +- Cannot delete a post or discussion of a deleted user (https://github.com/flarum/core/pull/2521) +- DiscussionListPane jumps around not keeping the scroll position (https://github.com/flarum/core/pull/2402) +- Infinite scroll on notifications dropdown broken (https://github.com/flarum/core/pull/2524) +- The show language selector switch remains toggled on ([9347b12](https://github.com/flarum/core/commit/9347b12b47bf4ab97ffb7ca92673604b237c1012)) +- Model Visibility extender throws exception on extensions that aren't installed or enabled (https://github.com/flarum/core/pull/2580) +- Extensions are marked as enabled when enabling fails to unmet extension dependencies (https://github.com/flarum/core/pull/2558) +- Routes to admin extension pages without a valid ID break the admin page (https://github.com/flarum/core/pull/2584) +- Disabled fieldset use an incorrect CSS property `disallowed` (https://github.com/flarum/core/pull/2585) +- Scrolling to a post that is already loaded the Load More button shows and does not trigger (https://github.com/flarum/core/pull/2388) +- Opening discussions on some mobile devices require a double tap (https://github.com/flarum/core/pull/2607) +- iOS devices show erratic behavior in the post stream while updating (https://github.com/flarum/core/pull/2548) +- Small mobile screens partially hides the composer when the keyboard is open (https://github.com/flarum/core/pull/2631) +- Clearing cache does not clear the template cache in storage/views (https://github.com/flarum/core/pull/2648) +- Boot errors show critical information (https://github.com/flarum/core/pull/2633) +- List user endpoint discloses last online even if user choose against it (https://github.com/flarum/core/pull/2634) +- Group gambit disclosed hidden groups (https://github.com/flarum/core/pull/2657) +- Search results on small windows not fully visible (https://github.com/flarum/core/pull/2650) +- Composer goes off screen on Safari when starting to type (https://github.com/flarum/core/pull/2660) +- A search that has no results shows the search results dropdown ([b88a7cb](https://github.com/flarum/core/commit/b88a7cb33b56e318f11670e9e2d563aef94db039)) +- The composer modal moves around when typing on Safari ([a64c398](https://github.com/flarum/core/commit/a64c39835aba43e831209609f4a9638ae589aa41)) ### Removed - -- Support for PHP 7.2 [`#2576`](https://github.com/flarum/core/pull/2576) -- `Api\Event\Serializing` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Api\Event\WillGetData` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Api\Event\WillSerializeData` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Database\ScopeVisibilityTrait` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Event\ConfigureNotificationTypes` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Event\ConfigurePostTypes` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Event\ConfigureUserPreferences` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Event\GetApiRelationship` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Event\GetPermission` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Formatter\Event\Configuring` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Formatter\Event\Parsing` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Formatter\Event\Rendering` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Foundation\Event\Validating` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Notification\Event\Sending` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Post\Event\CheckingForFlooding` event [`#2557`](https://github.com/flarum/core/pull/2557) -- `Post\Floodgate` class [`#2557`](https://github.com/flarum/core/pull/2557) -- `User\AbstractPolicy` class [`#2557`](https://github.com/flarum/core/pull/2557) -- `exemptPath` method from CSRF extender [`#2557`](https://github.com/flarum/core/pull/2557) -- `bootstrap.php` support [`#2557`](https://github.com/flarum/core/pull/2557) +- Deprecated CSRF wildcard path match +- Deprecated policy and visibility scoping events +- Deprecated post types event +- Deprecated validation events +- Deprecated notification events +- Deprecated floodgate +- Deprecated user preferences event +- Deprecated formatting events +- Deprecated api events +- Deprecated bootstrap.php support +- PHP 7.2 support (https://github.com/flarum/core/pull/2507) +- Bidi attribute in the rendered HTML (https://github.com/flarum/core/pull/2602) +- `AccessToken::find`, use `AccessToken::findValid` instead (https://github.com/flarum/core/pull/2651) ### Deprecated +- `GetModelIsPrivate` event (https://github.com/flarum/core/pull/2587) +- `CheckingPassword` event (https://github.com/flarum/core/pull/2176) +- `event()` helper (https://github.com/flarum/core/pull/2608) +- `AccessToken::generate` argument `$lifetime` (https://github.com/flarum/core/pull/2651) +- `Rememberer::remember` argument `$token` should receive an instance of `RememberAccessToken` with `AccessToken` being deprecated (https://github.com/flarum/core/pull/2651) +- `Rememberer::rememberUser` (https://github.com/flarum/core/pull/2651) +- `SessionAuthenticator::logIn` argument `$userId`, should be replaced with `AccessToken` (https://github.com/flarum/core/pull/2651) +- `TextEditor` has been moved to `common` (https://github.com/flarum/core/pull/2649) +- `UserFilter` ([91e8b56](https://github.com/flarum/core/commit/91e8b569618957c86757ef89bac666e9102db5ae)) -- `app` helper, use `container` instead [`#2609`](https://github.com/flarum/core/pull/2609) -- `event` helper [`#2608`](https://github.com/flarum/core/pull/2608) -- `Discussion\Event\Searching` [`#2454`](https://github.com/flarum/core/pull/2454) -- `User\Event\Searching` [`#2454`](https://github.com/flarum/core/pull/2454) -- `Event\AbstractConfigureGambits` [`#2454`](https://github.com/flarum/core/pull/2454) -- `Event\ConfigureDiscussionGambits` [`#2454`](https://github.com/flarum/core/pull/2454) -- `Event\ConfigurePostsQuery` [`#2454`](https://github.com/flarum/core/pull/2454) -- `Event\ConfigureUserGambits` [`#2454`](https://github.com/flarum/core/pull/2454) -- `Event\ConfigureUserGambits` [`#2454`](https://github.com/flarum/core/pull/2454) -- `Event\GetModelIsPrivate` event, use `ModelIsPrivate` extender [`#2587`](https://github.com/flarum/core/pull/2587) -- ApiSerializer's `mutate` method [`#2578`](https://github.com/flarum/core/pull/2578) -- Service provider `$app` attribute [`#2609`](https://github.com/flarum/core/pull/2609) -- `$lifetime` parameter of `Http\AccessToken::generate()` method [`#2651`](https://github.com/flarum/core/pull/2651) -- `$userId` parameter of `Http\SessionAuthenticator::logIn()` method [`#2651`](https://github.com/flarum/core/pull/2651) -- `Http\AccessToken::generate()` method [`#2651`](https://github.com/flarum/core/pull/2651) -- `Search\AbstractSearch` [`#2454`](https://github.com/flarum/core/pull/2454) -- Attribute `$pattern` of `Search\AbstractRegexGambit` [`#2454`](https://github.com/flarum/core/pull/2454) -- Methods `getGambits` and `getFullTextSearch` `Search\GambitManager` [`#2454`](https://github.com/flarum/core/pull/2454) -- `Search\SearchCriteria` class [`#2454`](https://github.com/flarum/core/pull/2454) -- `Search\SearchResults` class [`#2454`](https://github.com/flarum/core/pull/2454) -- `User\Event\CheckingPassword` event [`#2176`](https://github.com/flarum/core/pull/2176) ## [0.1.0-beta.15](https://github.com/flarum/core/compare/v0.1.0-beta.14.1...v0.1.0-beta.15)