You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+4-45Lines changed: 4 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,60 +10,19 @@ This serves two purposes:
10
10
2. At release time, you can move the Unreleased section changes into a new release version section.
11
11
12
12
### 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.
18
14
19
15
### 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.
23
17
24
18
### 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.
26
20
27
21
### Removed
28
22
- for now removed features.
29
23
30
24
### 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.
35
26
36
27
### Security
37
28
- 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
0 commit comments