Flarum Core v0.1.0-beta.14 Release Notes
-
โ Added
- Check dependencies before enabling / disabling extensions (https://github.com/flarum/framework/pull/2188)
- Set up temporary infrastructure for TypeScript in core (https://github.com/flarum/framework/pull/2206)
- ๐ Better UI for request error modals (https://github.com/flarum/framework/pull/1929)
- โ Display name extender, tests, frontend UI (https://github.com/flarum/framework/pull/2174)
- Scroll to post or show alert when editing a post from another page (https://github.com/flarum/framework/pull/2108)
- ๐ Feature to test email config by sending an email to the current user (https://github.com/flarum/framework/pull/2023)
- ๐ Allow searching users by group ID using the group gambit (https://github.com/flarum/framework/pull/2192)
- โก๏ธ Use
liveHumanTimes
helper to update times without reload/rerender (https://github.com/flarum/framework/pull/2208) - โ View extender, tests (https://github.com/flarum/framework/pull/2134)
- ๐ User extender to replace
PrepareUserGroups
(https://github.com/flarum/framework/pull/2110) - Increase extensibility of skeleton PHP (https://github.com/flarum/framework/pull/2308, https://github.com/flarum/framework/pull/2318)
- Pass a translator instance to
getEmailSubject
inMailableInterface
(https://github.com/flarum/framework/pull/2244) - ๐ Force LF line endings on windows (https://github.com/flarum/framework/pull/2321)
- โ Add a
Link
component for internal and external links (https://github.com/flarum/framework/pull/2315) ConfirmDocumentUnload
component- Error handler middleware can now be manipulated by the middleware extender
๐ Changed
- โก๏ธ Update to Mithril 2 (https://github.com/flarum/framework/pull/2255)
- Stop storing component instances (https://github.com/flarum/framework/issues/1821, https://github.com/flarum/framework/issues/2144)
- โก๏ธ Update to Laravel 6.x (https://github.com/flarum/framework/issues/2055)
Flarum\Foundation\Application
no longer implementsIlluminate\Contracts\Foundation\Application
(#2142)Flarum\Foundation\Application
no longer inheritsIlluminate\Container\Container
(#2142)paths
have been split off fromFlarum\Foundation\Application
intoFlarum\Foundation\Paths
, which can be injected where needed (#2142)Flarum\User\Gate
no longer implementsIlluminate\Contracts\Auth\Access\Gate
(https://github.com/flarum/framework/pull/2181)- ๐ Improve Group Gambit performance (https://github.com/flarum/framework/pull/2192)
- Switch to
dayjs
frommomentjs
(https://github.com/flarum/framework/pull/2219) - Don't create a
bio
column inusers
for new installations (https://github.com/flarum/framework/pull/2215) - Start converting core JS to TypeScript (https://github.com/flarum/framework/pull/2207)
- ๐ Make Carbon an explicit dependency (https://github.com/flarum/framework/commit/3b39c212e0fef7522e7d541a9214ff3817138d5d)
- ๐ Use Symfony's translator interface instead of Laravel's (https://github.com/flarum/framework/pull/2243)
- ๐ Use newer versions of fontawesome (https://github.com/flarum/framework/pull/2274)
- ๐ Use URL generator instead of
app()->url()
where possible (https://github.com/flarum/framework/pull/2302) - ๐ Move config from
config.php
into an injectable helper class (https://github.com/flarum/framework/pull/2271) - โ Use reserved TLD for bogus and test urls (https://github.com/flarum/framework/commit/6860b24b70bd04544dde90e537ce021a5fc5a689)
- Replace
m.stream
withflarum/utils/Stream
(https://github.com/flarum/framework/pull/2316) - ๐ Replace
affixedSidebar
util withAffixedSidebar
component - Replace
m.withAttr
withflarum/utils/withAttr
- ๐ Scroll Listener is now passive, performance improvement (https://github.com/flarum/framework/pull/2387)
๐ Fixed
generate:migration
command for extensions (https://github.com/flarum/framework/commit/443949f7b9d7558dbc1e0994cb898cbac59bec87)- Container config for
UninstalledSite
(https://github.com/flarum/framework/commit/ecdce44d555dd36a365fd472b2916e677ef173cf) - Tooltip glitch on page chang (https://github.com/flarum/framework/issues/2118)
- โ Using multiple extenders in tests (https://github.com/flarum/framework/commit/c4f4f218bf4b175a30880b807f9ccb1a37a25330)
- Header glitch when opening modals (https://github.com/flarum/framework/pull/2131)
- Ensure
SameSite
is explicitly set for cookies (https://github.com/flarum/framework/pull/2159) - Ensure
Flarum\User\Event\AvatarChanged
event is properly dispatched (https://github.com/flarum/framework/pull/2197) - ๐ Show correct error message on wrong password when changing email (https://github.com/flarum/framework/pull/2171)
- Discussion unreadCount could be higher than commentCount if posts deleted (https://github.com/flarum/framework/pull/2195)
- 0๏ธโฃ Don't show page title on the default route (https://github.com/flarum/framework/pull/2047)
- โ Add page title to
All Discussions
page when it isn't the default route (https://github.com/flarum/framework/pull/2047) - Accept
'0'
asfalse
forflarum/components/Checkbox
(https://github.com/flarum/framework/pull/2210) - ๐ Fix PostStreamScrubber background (https://github.com/flarum/framework/pull/2222)
- โ Test port on BaseUrl tests (https://github.com/flarum/framework/pull/2226)
UrlGenerator
can now generate urls with optional parameters (https://github.com/flarum/framework/pull/2246)- ๐ Allow
less
to be compiled independently of Flarum (https://github.com/flarum/framework/pull/2252) - ๐ Use correct number abbreviation (https://github.com/flarum/framework/pull/2261)
- Ensure avatar html uses alt tags for accessibility (https://github.com/flarum/framework/pull/2269)
- Escape regex when searching (https://github.com/flarum/framework/pull/2273)
- โ Remove unneeded semicolons inserted during JS compilation (https://github.com/flarum/framework/pull/2280)
- Don't require a username/password for SMTP (https://github.com/flarum/framework/pull/2287)
- ๐ Allow uppercase entries for SMTP encryption validation (https://github.com/flarum/framework/pull/2289)
- Ensure that the right number of posts is returned from list posts API (https://github.com/flarum/framework/pull/2291)
- ๐ Fix a variety of PostStream bugs (https://github.com/flarum/framework/pull/2160, https://github.com/flarum/framework/pull/2160)
- Sliding discussion glitch on mobile (https://github.com/flarum/framework/pull/2324)
- Sliding discussion button in wrong place (https://github.com/flarum/framework/pull/2330, https://github.com/flarum/framework/pull/2383)
- Sliding discussion glitch on mobile (https://github.com/flarum/framework/pull/2381)
- ๐ Fix PostStream for posts with top margins, and scrubber position when scrolling below posts (https://github.com/flarum/framework/pull/2369)
โ Removed
Flarum\Event\AbstractConfigureRoutes
event class- ๐ง
Flarum\Event\ConfigureApiRoutes
event class - ๐ง
Flarum\Event\ConfigureForumRoutes
event class - ๐ง
Flarum\Console\Event\Configuring
event class - ๐ง
Flarum\Event\ConfigureModelDates
event class - ๐ง
Flarum\Event\ConfigureLocales
event class - ๐ง
Flarum\Event\ConfigureModelDefaultAttributes
event class Flarum\Event\GetModelRelationship
event classFlarum\User\Event\BioChanged
event class- ๐
Flarum\Database\MigrationServiceProvider
moved intoFlarum\Database\DatabaseServiceProvider
- Unused
admin/components/Widget
component (admin/component/DashboardWidget
should be used instead) - Mandrill mail driver (https://github.com/flarum/framework/commit/bca833d3f1c34d45d95bf905902368a2753b8908)
๐ Deprecated
Flarum\User\Event\GetDisplayName
event class- Global path helpers,
Flarum\Foundation\Application
path methods (https://github.com/flarum/framework/pull/2155) Flarum\User\AssertPermissionTrait
(https://github.com/flarum/framework/pull/2044)