-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #214 from hydephp/v0.48.0-beta-release-prep
Prepare for v0.48.0-beta release
- Loading branch information
Showing
5 changed files
with
51 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
## [Unreleased] - YYYY-MM-DD - Internal Pseudo-Router Service Refactoring | ||
## [Unreleased] - YYYY-MM-DD | ||
|
||
### About | ||
|
||
This release brings a massive refactor in the way the HydePHP auto-discovery process works. It does this by centralizing all discovery logic to the new pseudo-router module which discovers and maps all source files and output paths. | ||
Keep an Unreleased section at the top to track upcoming changes. | ||
|
||
The update also refactors related code to use the router. Part of this is a major rewrite of the navigation menu generation. If you have set any custom navigation links you will need to update your configuration files as the syntax has changed to use the NavItem model instead of array keys. | ||
This serves two purposes: | ||
|
||
You will also need to update navigation related Blade templates, if you have previously published them. | ||
1. People can see what changes they might expect in upcoming releases | ||
2. At release time, you can move the Unreleased section changes into a new release version section. | ||
|
||
### Added | ||
- Added a pseudo-router module which will internally be used to improve Hyde auto-discovery | ||
- Added a Route facade that allows you to quickly get a route instance from a route key or path | ||
- Added a new NavItem model to represent navigation menu items | ||
- Added a new configuration array for customizing the navigation menu, see the `hyde.navigation` array config | ||
- for new features. | ||
|
||
### Changed | ||
- Changed how the navigation menu is generated, configuration files and published views must be updated | ||
- Reversed deprecation for `StaticPageBuilder::$outputPath` | ||
- internal refactor: Creates a new build service to handle the build process | ||
- for changes in existing functionality. | ||
|
||
### Deprecated | ||
- Deprecated `DiscoveryService::findModelFromFilePath()` - Use the Router instead. | ||
- Deprecated `DiscoveryService.php` - Use the Router instead. (Some helpers may be moved to FluentPathHelpers.php) | ||
- for soon-to-be removed features. | ||
|
||
### Removed | ||
- The "no pages found, skipping" message has been removed as the build loop no longer recieves empty collections. | ||
- Removed the `hyde.navigation_menu_links` and `hyde.navigation_menu_blacklist` configuration options, see new addition above. | ||
- for now removed features. | ||
|
||
### Fixed | ||
- for any bug fixes. | ||
|
||
### Security | ||
- in case of vulnerabilities. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters