Releases: hydephp/framework
v0.44.0-beta - 2022-07-02 - Internal code restructuring
About
Please see the release notes in the development monorepo https://github.com/hydephp/develop/releases/tag/v0.44.0-beta
Full Changelog: v0.43.0-beta...v0.44.0-beta
v0.43.0-beta - 2022-06-25 - File-based Collections
Added
- Added configuration option
hyde.media_extensions
to allow you to specify additional comma separated media file types. hydephp/develop#39 - Adds a safer config option
hyde.output_directory
for customizing the output directory - Adds a file-based way to create and interact with collections, https://hydephp.com/docs/master/collections
Removed
- Removed the
--pretty
build command option which was deprecated in v0.25.x - Removed deprecated internal AssetManager trait which was replaced with the Asset facade
Fixed
- HydeRC: Fixes a bug in the auxiliary exception handler leading to unintentional recursion causing out of memory errors in both the browser and the PHP server.
What's Changed
- v0.43.0-beta - 2022-06-25 - File-based Collections by @caendesilva in #556
Full Changelog: v0.42.0-beta...v0.43.0-beta
v0.42.0-beta - 2022-06-22 - Improve the full page documentation search
Added
- Added a
@section
hook to the docs layout to allow yielding content
Changed
- Change the the Prettier integration to only modify HTML files hydephp/develop#102
- Change how the
docs/search.html
page is rendered, by handling page logic in the view, to decouple it from the build search command
Fixed
- Fix bug hydephp/develop#93 where styles were missing on search.html when changing the output directory to root
What's Changed
- Fix #102 Add glob pattern to Prettier command by @caendesilva in #554
- Improve the full page documentation search by @caendesilva in #555
Full Changelog: v0.41.0-beta...v0.42.0-beta
v0.41.0-beta - 2022-06-24 - Improve the AssetService
About
This release refactors and improves the Asset Service, adding auto-configuration features and a new Asset facade.
Using the Asset facade in Blade views
Instead of the long syntax Hyde::assetManager()
you can now use the Asset
facade directly. See this example, which both do the exact same thing using the same underlying service:
Hyde::assetManager()->hasMediaFile('app.css')
Asset::hasMediaFile('app.css')
If you don't know what any of this means, good news! You don't have to worry about it. Hyde's got your back.
Added
- Added feature to dynamically load hyde.css and hyde.js if they exist locally
- Added the Asset facade to be used instead of
Hyde::assetManager()
- Added the Asset facade as a class alias to
config/app.css
Changed
- Changed
scripts.blade.php
andstyles.blade.php
to use the Asset facade
Deprecated
- Deprecated AssetManager.php (
Hyde::assetManager()
). Use the Asset facade instead
What's Changed
- Fix bug where Hyde::docsIndexPath() checks the hard-coded source directory by @caendesilva in #551
Full Changelog: v0.40.0-beta...v0.41.0-beta
v0.40.0-beta - 2022-06-22
Added
- Added back the AppServiceProvider
- Added system for defining easy to use post-build hooks hydephp/develop#79
- Added configuration option to exclude documentation pages from showing up in the JSON search index
Changed
- Changelog files in the documentation source directory are now ignored by the JSON search index by default
- Adds a fallback which removes the search modal popup and redirects to the search.html page when the dialogue element is not supported.
Deprecated
- Deprecate the site_output_path option in the Hyde config file. Will be handled by the HydeServiceProvider.
Removed
- Removed the deprecated bootstrap directory
- Removed default .gitkeep from the _site directory
Security
- Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5
What's Changed
- v0.40.0-beta by @caendesilva in #550
Full Changelog: v0.39.0-beta...v0.40.0-beta
v0.39.0-beta - 2022-06-20
About
Added
- Added a helper to all page models to get an array of all its source files hydephp/develop#44
- Added a helper to all page models to parse source files directly into an object hydephp/develop#40
- Adds the MarkdownDocumentContract interface to markdown based pages to keep a consistent and predictable state
- Adds .gitkeep files to persist empty directories
- internal: Add more tests
- internal: Add packages/hyde/composer.json for persisted data instead of removed update script
Changed
- Changed welcome page title hydephp/develop#52
- Add
rel="nofollow"
to the image author links hydephp/develop#19 - Changed the default position of the automatic navigation menu link to the right, also making it configurable
- Renamed deprecated Hyde::docsDirectory() helper to suggested Hyde::getDocumentationOutputDirectory()
- Makes the constructor arguments for Markdown page models optional hydephp/develop#65
- Added the Hyde/Framework composer.lock to .gitignore as we keep a master lock file in the monorepo
- Changed namespace for Hyde/Framework tests from
Hyde\Testing\Framework
toHyde\Framework\Testing
- Directories are created when needed, instead of each time the service provider boots up
- internal: Add back codecov.io to pull request tests hydephp/develop#37
- internal: Refactor test that interact with the filesystem to be more granular
- internal: Update Monorepo structure to move persisted data for the Hyde package into the packages directory
Removed
- Removed the Hyde::getLatestPosts() helper which was deprecated in v0.34.x and was replaced with MarkdownPost::getLatestPosts()
- Removes the long deprecated CreatesDefaultDirectories class
- internal: Removed composer update script
Fixed
- Add changelog to export-ignore, #537
Full Changelog: v0.38.0-beta...v0.39.0-beta
v0.38.0-beta - 2022-06-18
About
This release refactors the test suite, compartmentalizing test code into the respective package directories.
This does not affect the behavior of the library, but it does affect how package developers run the test suites.
Added
- internal: Adds high level tests for the Hyde package.
- internal: Add GitHub test workflows for Hyde/Hyde and Hyde/Framework
Changed
-
Formats code to the PSR-2 standard.
-
internal: Move Framework tests from the monorepo into the Framework package.
-
internal: Rename monorepo workflow
build-test.yml
tocontinuous-integration.yml
. -
internal: Change testing namespaces update
phpunit.xml.dist
correspondingly. -
internal: Add static analysis tests to the continuous integration workflow.
-
internal: Add matrix test runners to the continuous integration workflow.
What's Changed
- Merge upcoming minor release by @caendesilva in #546
Full Changelog: v0.37.2-beta...v0.38.0-beta
v0.37.2-beta - 2022-06-17
About
This release brings internal restructuring to the Hyde monorepo,
adding a helper command to manage the new release cycle.
Added
- Add internal
monorepo:release
command
Changed
- Changed to keep only a single
CHANGELOG.md
file for Hyde/Hyde and Hyde/Framework
What's Changed
- Create update-changelog.yml by @caendesilva in #543
Full Changelog: v0.37.1-beta...v0.37.2-beta
v0.37.1-beta - Update validation test
About
If there are no documentation pages there is no need for an index page, and the test can safely be skipped.
What's Changed
- Merge pull request #48 from hydephp/Skip-test-if-the-_docs-directory-is-empty by @caendesilva in #542
Full Changelog: v0.37.0-beta...v0.37.1-beta
v0.37.0-beta - Replace dependency with custom validator implementation
About
Changes the internal code used for the php hyde validate command to use a custom implementation.
What's Changed
- Merge pull request #45 from hydephp/recreate-validators by @caendesilva in #541
Full Changelog: v0.36.0-beta...v0.37.0-beta