<commit_before># Release Notes for 5.8.x

## [Unreleased](https://github.com/laravel/framework/compare/v5.8.10...5.8)

### Added
- Allowed to call `macros` directly on `Illuminate\Support\Facades\Date` ([#28129](https://github.com/laravel/framework/pull/28129))
- Allowed `lock` to be configured in `local filesystems` ([#28124](https://github.com/laravel/framework/pull/28124))

### Changed
- Added view path to end of compiled blade view (in case if path is not empty) ([#28117](https://github.com/laravel/framework/pull/28117))

### Refactoring
- Refactoring of `Illuminate\Foundation\Events\DiscoverEvents::within()` ([#28122](https://github.com/laravel/framework/pull/28122), [006f999](https://github.com/laravel/framework/commit/006f999d8c629bf87ea0252447866a879d7d4a6e))

### TODO
- https://github.com/laravel/framework/commit/82ded9a28621b552589aba66e4e05f9a46f46db6
- https://github.com/laravel/framework/pull/28140
- https://github.com/laravel/framework/pull/28145


## [v5.8.10 (2019-04-04)](https://github.com/laravel/framework/compare/v5.8.9...v5.8.10)

### Added
- Added `replicating` model event ([#28077](https://github.com/laravel/framework/pull/28077))
- Make `NotificationFake` macroable ([#28091](https://github.com/laravel/framework/pull/28091))

### Fixed
- Exclude non-existing directories from event discovery ([#28098](https://github.com/laravel/framework/pull/28098))

### Changed
- Sorting of events in `event:list` command ([3437751](https://github.com/laravel/framework/commit/343775115722ed0e6c3455b72ee7204aefdf37d3))
- Removed path hint in compiled view ([33ce7bb](https://github.com/laravel/framework/commit/33ce7bbb6a7f536036b58b66cc760fbb9eda80de))


## [v5.8.9 (2019-04-02)](https://github.com/laravel/framework/compare/v5.8.8...v5.8.9)

### Added
- Added Event Discovery ([#28064](https://github.com/laravel/framework/pull/28064), [#28085](https://github.com/laravel/framework/pull/28085))

### Fixed
- Fixed serializing a collection from a `Resource` with `preserveKeys` property ([#27985](https://github.com/laravel/framework/pull/27985))<commit_msg>[5.8] update changelog<commit_after># Release Notes for 5.8.x

## [Unreleased](https://github.com/laravel/framework/compare/v5.8.11...5.8)


## [v5.8.11 (2019-04-10)](https://github.com/laravel/framework/compare/v5.8.10...v5.8.11)

### Added
- Allowed to call `macros` directly on `Illuminate\Support\Facades\Date` ([#28129](https://github.com/laravel/framework/pull/28129))
- Allowed `lock` to be configured in `local filesystems` ([#28124](https://github.com/laravel/framework/pull/28124))
- Added tracking of the exit code in scheduled event commands ([#28140](https://github.com/laravel/framework/pull/28140))

### Fixed
- Fixed of escaping single quotes in json paths in `Illuminate\Database\Query\Grammars\Grammar` ([#28160](https://github.com/laravel/framework/pull/28160))
- Fixed event discovery with different Application Namespace ([#28145](https://github.com/laravel/framework/pull/28145))

### Changed
- Added view path to end of compiled blade view (in case if path is not empty) ([#28117](https://github.com/laravel/framework/pull/28117), [#28141](https://github.com/laravel/framework/pull/28141))
- Added `realpath` to `app_path` during string replacement in `Illuminate\Foundation\Console\Kernel::load()` ([82ded9a](https://github.com/laravel/framework/commit/82ded9a28621b552589aba66e4e05f9a46f46db6))

### Refactoring
- Refactoring of `Illuminate\Foundation\Events\DiscoverEvents::within()` ([#28122](https://github.com/laravel/framework/pull/28122), [006f999](https://github.com/laravel/framework/commit/006f999d8c629bf87ea0252447866a879d7d4a6e))


## [v5.8.10 (2019-04-04)](https://github.com/laravel/framework/compare/v5.8.9...v5.8.10)

### Added
- Added `replicating` model event ([#28077](https://github.com/laravel/framework/pull/28077))
- Make `NotificationFake` macroable ([#28091](https://github.com/laravel/framework/pull/28091))

### Fixed
- Exclude non-existing directories from event discovery ([#28098](https://github.com/laravel/framework/pull/28098))

### Changed
- Sorting of events in `event:list` command ([3437751](https://github.com/laravel/framework/commit/343775115722ed0e6c3455b72ee7204aefdf37d3))
- Removed path hint in compiled view ([33ce7bb](https://github.com/laravel/framework/commit/33ce7bbb6a7f536036b58b66cc760fbb9eda80de))


## [v5.8.9 (2019-04-02)](https://github.com/laravel/framework/compare/v5.8.8...v5.8.9)

### Added
- Added Event Discovery ([#28064](https://github.com/laravel/framework/pull/28064), [#28085](https://github.com/laravel/framework/pull/28085))

### Fixed
- Fixed serializing a collection from a `Resource` with `preserveKeys` property ([#27985](https://github.com/laravel/framework/pull/27985))
{'fraction_non_alphanumeric': 0.17591424968474148, 'fraction_numerical': 0.12547288776796975, 'mean_word_length': 5.362299465240642, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 41, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3692092', 'n_tokens_mistral': 2039, 'n_tokens_neox': 1674, 'n_words': 255}