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
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ HydePHP v2.0 represents a major evolution of the framework, introducing signific
11
11
We've replaced Laravel Mix with Vite for a faster, more modern development experience:
12
12
-**Instant Hot Module Replacement (HMR)** for real-time updates during development
13
13
-**Direct asset compilation** into the `_media` folder for cleaner builds
14
-
-**Simplified build command**: Use `npm run build` instead of `npm run prod`
14
+
-**Updated build command**: Use `npm run build` instead of `npm run prod` (or `--vite` during the sit build)
15
15
-**Vite facade** for seamless Blade template integration
16
16
-**Optimized asset serving** through the realtime compiler
17
17
-**Hyde Vite plugin** for enhanced integration
@@ -33,15 +33,14 @@ The navigation system has been completely rewritten for maximum flexibility:
33
33
-**Improved Routes facade** with Laravel-consistent naming conventions
34
34
-**Natural priority ordering** using numeric prefixes in filenames
35
35
-**Enhanced sidebar management** with better organization options
36
-
-**Navigation config builder class** for simplified configuration
37
36
38
37
### 📝 Improved Documentation Features
39
38
40
39
Documentation pages now benefit from several enhancements:
41
40
-**Alpine.js-powered search** with customizable implementation
42
41
-**Blade-based table of contents** that's 40x faster than before
43
42
-**Custom heading renderer** with improved permalink handling
44
-
-**Colored blockquotes** using Tailwind CSS classes
43
+
-**Colored blockquotes**now using Tailwind CSS classes
45
44
-**Smart natural language processing** for search headings
46
45
-**Dynamic source file links** in Markdown documents
47
46
@@ -60,7 +59,7 @@ Numerous quality-of-life improvements for developers:
60
59
61
60
### Prerequisites
62
61
63
-
Before upgrading, ensure your application is running HydePHP v1.6 or later, as this version includes helpers to ease the migration process.
62
+
Before upgrading, ensure your application is running HydePHP v1.6 or later, as this version includes helpers to ease the migration process. It's ideal to use v1.8, if possible.
64
63
65
64
### High Impact Changes
66
65
@@ -166,11 +165,13 @@ Key changes:
166
165
- A new `Hyde::authors()` method provides access to all site authors
167
166
- Authors can be configured via YAML
168
167
168
+
The way this system now works is that you first define authors in the config, Hyde the loads this during the booting process, and you can then access them using the get method.
169
+
169
170
### Medium Impact Changes
170
171
171
172
#### Asset API Updates
172
173
173
-
All asset methods now return `MediaFile` instances instead of strings:
174
+
All asset methods now return `MediaFile` instances instead of strings. This instance can be cast to a string which will automatically resolve to a relative link at that time. You can also call helper methods on it. When using Blade templates, thanks to the Stringable implementation no change will happen.
174
175
175
176
```php
176
177
// Methods renamed for clarity
@@ -256,8 +257,7 @@ Documentation sidebar configuration has been reorganized:
256
257
-**Interactive publish:views command** on Unix systems
257
258
-**Custom HydeSearch.js** support for search customization
258
259
-**Extension callbacks** with `booting()` and `booted()` methods
259
-
-**Dynamic source file links** in Markdown documents
260
-
-**Feature::fromName()** enum helper
260
+
-**Dynamic source file links** in Markdown documents (for example `[Home](/_pages/index.blade.php)`)
0 commit comments