HydePHP v1.0.0 - Release Candidate Two #1244
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v1.0.0-RC.2 - 2023-03-10
Added
HydeKernel::currentPage()
method to return the page being rendered.Changed
$currentRoute
and$currentPage
variables to$route
and$routeKey
respectively.Render::getCurrentRoute()
toRender::getRoute()
to match renamed property.Render::getCurrentPage()
toRender::getRouteKey()
to match renamed property.Deprecated
This release candidate version contains a few deprecations, these will be removed before the final 1.0.0 release.
RouteKey::normalize
method as it no longer performs any normalization.RenderData::getCurrentRoute()
as it is renamed togetRoute()
to match renamed property.Render::getCurrentRoute()
andHyde::currentRoute()
facade methods.RenderData::getCurrentPage()
as it is renamed togetRouteKey()
to match renamed property.Render::getCurrentPage()
andHyde::currentPage()
facade methods.Removed
Fixed
./
instead of/
by @caendesilva in Update pretty relative index links to rewrite to./
instead of/
#1238