Skip to content

Commit 39a7e5a

Browse files
authored
Merge pull request #1668 from hydephp/release-v1.6.0
HydePHP v1.6.0 - 2024-04-17
2 parents f54332c + 56a0b6f commit 39a7e5a

3 files changed

Lines changed: 58 additions & 46 deletions

File tree

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,59 @@ HydePHP consists of two primary components, Hyde/Hyde and Hyde/Framework. Develo
1717

1818
<!-- CHANGELOG_START -->
1919

20+
## [1.6.0](https://github.com/hydephp/develop/releases/tag/1.6.0) - 2024-04-17
21+
### Added
22+
- Added a `@head` stack to the `head.blade.php` component in https://github.com/hydephp/develop/pull/1567
23+
- Added a `Hyde::route()` helper to the `Hyde` facade in https://github.com/hydephp/develop/pull/1591
24+
- Added new global helper functions (`asset()`, `route()`, `url()`) in https://github.com/hydephp/develop/pull/1592
25+
- Added a new `Feature` enum to improve the `Features` facade in https://github.com/hydephp/develop/pull/1650
26+
- Added a helper to `->skip()` build tasks in https://github.com/hydephp/develop/pull/1656
27+
28+
### Changed
29+
- The `features` array in the `config/hyde.php` configuration file is now an array of `Feature` enums in https://github.com/hydephp/develop/pull/1650
30+
- Sitemap generation will now be skipped if a base URL is not set, as Google now will not index sitemaps without a base URL in https://github.com/hydephp/develop/pull/1660
31+
- Updated the debug command to print the binary path when running in a standalone Phar in https://github.com/hydephp/develop/pull/1667
32+
33+
### Deprecated
34+
- Deprecated the static `Features` flag methods used in the configuration files in https://github.com/hydephp/develop/pull/1650 which will be removed in HydePHP v2.0
35+
### Fixed
36+
- Fixed a bug where the sitemap and RSS feed generator commands did not work when the `_site/` directory was not present in https://github.com/hydephp/develop/pull/1654
37+
- Fixed extra newlines being written to console for failing build tasks in https://github.com/hydephp/develop/pull/1661
38+
- Markdown formatting will now be stripped when generating an automatic blog post description when none is set in https://github.com/hydephp/develop/pull/1662 (fixes https://github.com/hydephp/develop/issues/1634)
39+
- Realtime Compiler: Fixed responsive dashboard table issue in https://github.com/hydephp/develop/pull/1595
40+
### Upgrade Path
41+
42+
In order to prepare your project for HydePHP v2.0, you should update your `config/hyde.php` configuration file to use the new `Feature` enum for the `features` array.
43+
44+
You can see the changes to make in your Hyde project by looking at the following pull request https://github.com/hydephp/hyde/pull/250/files
45+
46+
Your new config array should look like this:
47+
48+
```php
49+
// Make sure to import the new Feature enum at the top of the file
50+
use Hyde\Enums\Feature;
51+
52+
// Then replace your enabled features with the new Feature enum cases
53+
'features' => [
54+
// Page Modules
55+
Feature::HtmlPages,
56+
Feature::MarkdownPosts,
57+
Feature::BladePages,
58+
Feature::MarkdownPages,
59+
Feature::DocumentationPages,
60+
61+
// Frontend Features
62+
Feature::Darkmode,
63+
Feature::DocumentationSearch,
64+
65+
// Integrations
66+
Feature::Torchlight,
67+
],
68+
```
69+
70+
If you need more help, you can see detailed upgrade instructions with screenshots in the pull request https://github.com/hydephp/develop/pull/1650
71+
72+
2073
## [1.5.0](https://github.com/hydephp/develop/releases/tag/1.5.0) - 2024-02-13
2174

2275
### Improved Patch Release Strategy

RELEASE_NOTES.md

Lines changed: 4 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -10,60 +10,19 @@ This serves two purposes:
1010
2. At release time, you can move the Unreleased section changes into a new release version section.
1111

1212
### Added
13-
- Added a `@head` stack to the `head.blade.php` component in https://github.com/hydephp/develop/pull/1567
14-
- Added a `Hyde::route()` helper to the `Hyde` facade in https://github.com/hydephp/develop/pull/1591
15-
- Added new global helper functions (`asset()`, `route()`, `url()`) in https://github.com/hydephp/develop/pull/1592
16-
- Added a new `Feature` enum to improve the `Features` facade in https://github.com/hydephp/develop/pull/1650
17-
- Added a helper to `->skip()` build tasks in https://github.com/hydephp/develop/pull/1656
13+
- for new features.
1814

1915
### Changed
20-
- The `features` array in the `config/hyde.php` configuration file is now an array of `Feature` enums in https://github.com/hydephp/develop/pull/1650
21-
- Sitemap generation will now be skipped if a base URL is not set, as Google now will not index sitemaps without a base URL in https://github.com/hydephp/develop/pull/1660
22-
- Updated the debug command to print the binary path when running in a standalone Phar in https://github.com/hydephp/develop/pull/1667
16+
- for changes in existing functionality.
2317

2418
### Deprecated
25-
- Deprecated the static `Features` flag methods used in the configuration files in https://github.com/hydephp/develop/pull/1650 which will be removed in HydePHP v2.0
19+
- for soon-to-be removed features.
2620

2721
### Removed
2822
- for now removed features.
2923

3024
### Fixed
31-
- Fixed a bug where the sitemap and RSS feed generator commands did not work when the `_site/` directory was not present in https://github.com/hydephp/develop/pull/1654
32-
- Fixed extra newlines being written to console for failing build tasks in https://github.com/hydephp/develop/pull/1661
33-
- Markdown formatting will now be stripped when generating an automatic blog post description when none is set in https://github.com/hydephp/develop/pull/1662 (fixes https://github.com/hydephp/develop/issues/1634)
34-
- Realtime Compiler: Fixed responsive dashboard table issue in https://github.com/hydephp/develop/pull/1595
25+
- for any bug fixes.
3526

3627
### Security
3728
- in case of vulnerabilities.
38-
39-
### Upgrade Path
40-
41-
In order to prepare your project for HydePHP v2.0, you should update your `config/hyde.php` configuration file to use the new `Feature` enum for the `features` array.
42-
43-
You can see the changes to make in your Hyde project by looking at the following pull request https://github.com/hydephp/hyde/pull/250/files
44-
45-
Your new config array should look like this:
46-
47-
```php
48-
// Make sure to import the new Feature enum at the top of the file
49-
use Hyde\Enums\Feature;
50-
51-
// Then replace your enabled features with the new Feature enum cases
52-
'features' => [
53-
// Page Modules
54-
Feature::HtmlPages,
55-
Feature::MarkdownPosts,
56-
Feature::BladePages,
57-
Feature::MarkdownPages,
58-
Feature::DocumentationPages,
59-
60-
// Frontend Features
61-
Feature::Darkmode,
62-
Feature::DocumentationSearch,
63-
64-
// Integrations
65-
Feature::Torchlight,
66-
],
67-
```
68-
69-
If you need more help, you can see detailed upgrade instructions with screenshots in the pull request https://github.com/hydephp/develop/pull/1650

packages/framework/src/Foundation/HydeKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class HydeKernel implements SerializableContract
5858
use Serializable;
5959
use Macroable;
6060

61-
final public const VERSION = '1.5.0';
61+
final public const VERSION = '1.6.0';
6262

6363
protected static self $instance;
6464

0 commit comments

Comments
 (0)