Skip to content

Commit

Permalink
v0.57.0-beta - 2022-08-03
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Aug 3, 2022
1 parent c7f34a0 commit 36dd8ae
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 18 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,34 @@ HydePHP consists of two primary components, Hyde/Hyde and Hyde/Framework. Develo

<!-- CHANGELOG_START -->

## [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
Expand Down
24 changes: 10 additions & 14 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/hyde/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"require": {
"php": "^8.0",
"hyde/framework": "^0.56",
"hyde/framework": "^0.57",
"laravel-zero/framework": "^9.1"
},
"require-dev": {
Expand Down

0 comments on commit 36dd8ae

Please sign in to comment.