From 36dd8aec72429c55c25daf83bb07e30a6a443928 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 3 Aug 2022 20:33:28 +0200 Subject: [PATCH] v0.57.0-beta - 2022-08-03 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ RELEASE_NOTES.md | 24 ++++++++++-------------- package-lock.json | 4 ++-- package.json | 2 +- packages/hyde/composer.json | 2 +- 5 files changed, 42 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4eccc989245..c893625a793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,34 @@ HydePHP consists of two primary components, Hyde/Hyde and Hyde/Framework. Develo +## [v0.57.0-beta](https://github.com/hydephp/develop/releases/tag/v0.57.0-beta) - 2022-08-03 + +### About + +This update refactors the internal page source model parsing. This will likely not affect you directly, however, if you have written custom code that interacts with any class relating to the PageParser contract, you'll want to take a closer look at the changes. + +### Added +- Added a new static shorthand to quickly parse Markdown files into MarkdownDocuments (`MarkdownFileParser::parse()`) +- Added `toArray()` method to MarkdownDocuments, which returns an array of all the body lines + +### Changed +- All source model parsing is now handled by the new SourceFileParser action +- Blog post front matter no longer includes merged slug +- MarkdownDocument now implements the `Arrayable` interface +- Markdown page models no longer includes the slug merged into the front matter +- All Markdown page models now have the title property inferred when parsing +- internal: The DocumentationPage slug now behaves like other pages, and the basename is produced at runtime, see below +- internal: Refactor search index generator to use route system + +### Deprecated +- Deprecated `MarkdownDocument::parseFile()`, will be renamed to `MarkdownDocument::parse()` + +### Removed +- The PageParserContract interface, and all of its implementations have been removed +- Removed `$localPath` property from DocumentationPage class, see above +- Removed trait HasDynamicTitle + + ## [v0.56.0-beta](https://github.com/hydephp/develop/releases/tag/v0.56.0-beta) - 2022-08-03 ### About diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 13d9bf912fc..e3d1b60364c 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -2,28 +2,24 @@ ### About -This update refactors the internal page source model parsing. This will likely not affect you directly, however, if you have written custom code that interacts with any class relating to the PageParser contract, you'll want to take a closer look at the changes. +Keep an Unreleased section at the top to track upcoming changes. + +This serves two purposes: + +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 new static shorthand to quickly parse Markdown files into MarkdownDocuments (`MarkdownFileParser::parse()`) -- Added `toArray()` method to MarkdownDocuments, which returns an array of all the body lines +- for new features. ### Changed -- All source model parsing is now handled by the new SourceFileParser action -- Blog post front matter no longer includes merged slug -- MarkdownDocument now implements the `Arrayable` interface -- Markdown page models no longer includes the slug merged into the front matter -- All Markdown page models now have the title property inferred when parsing -- internal: The DocumentationPage slug now behaves like other pages, and the basename is produced at runtime, see below -- internal: Refactor search index generator to use route system +- for changes in existing functionality. ### Deprecated -- Deprecated `MarkdownDocument::parseFile()`, will be renamed to `MarkdownDocument::parse()` +- for soon-to-be removed features. ### Removed -- The PageParserContract interface, and all of its implementations have been removed -- Removed `$localPath` property from DocumentationPage class, see above -- Removed trait HasDynamicTitle +- for now removed features. ### Fixed - for any bug fixes. diff --git a/package-lock.json b/package-lock.json index 6b2d06b5b7a..3370a49c70d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hyde", - "version": "0.56.0", + "version": "0.57.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hyde", - "version": "0.56.0", + "version": "0.57.0", "license": "MIT", "devDependencies": { "@tailwindcss/typography": "^0.5.2", diff --git a/package.json b/package.json index 8e5c3467dbe..a4d49ab887b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "name": "hyde", "description": "Elegant and Powerful Static App Builder", - "version": "0.56.0", + "version": "0.57.0", "main": "hyde", "directories": { "test": "tests" diff --git a/packages/hyde/composer.json b/packages/hyde/composer.json index b96fb85bd6e..9aec233226e 100644 --- a/packages/hyde/composer.json +++ b/packages/hyde/composer.json @@ -21,7 +21,7 @@ ], "require": { "php": "^8.0", - "hyde/framework": "^0.56", + "hyde/framework": "^0.57", "laravel-zero/framework": "^9.1" }, "require-dev": {