Skip to content

Commit 3457ba5

Browse files
authored
Merge pull request #561 from hydephp/update-realtime-compiler
Update the RealtimeCompiler package
2 parents d5d6487 + bafe6a2 commit 3457ba5

File tree

3 files changed

+2
-40
lines changed

3 files changed

+2
-40
lines changed

packages/hyde/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"laravel-zero/framework": "^9.1"
3030
},
3131
"require-dev": {
32-
"hyde/realtime-compiler": "^2.6"
32+
"hyde/realtime-compiler": "^2.7"
3333
},
3434
"autoload": {
3535
"psr-4": {

packages/realtime-compiler/README.md

-35
Original file line numberDiff line numberDiff line change
@@ -20,38 +20,3 @@ See the [Security Policy](https://github.com/hydephp/realtime-compiler/security/
2020
| < 1.0 | :x: | Alpha |
2121

2222
*1.x LTS receives security fixes only
23-
24-
## v2.0 Release Notes
25-
26-
### Preface
27-
28-
This release completely rewrites the Hyde Realtime Compiler.
29-
30-
The application server is now powered by the lightweight [Microserve](https://github.com/caendesilva/microserve)
31-
HTTP server API, providing a robust and fast way to route and handle requests without any extra dependencies.
32-
33-
In addition, the source files are no longer compiled by calling the HydeCLI in a separate process,
34-
instead, the server compiles source files directly through the Hyde Framework code without any
35-
intermediary process.
36-
37-
This gives the huge benefit of being able to catch errors and exceptions directly,
38-
without having to search for them in the console output like in v1.x.
39-
40-
### Internal Changes
41-
42-
- HTTP logic is handled by [Microserve](https://github.com/caendesilva/microserve), through the new [HttpKernel](https://github.com/hydephp/realtime-compiler/blob/master/src/Http/HttpKernel.php).
43-
- Requests are sent to the Router to be processed by the appropriate handler.
44-
- Web pages are compiled through the [Hyde Framework](https://github.com/hydephp/framework), instead of calling the HydeCLI.
45-
- Static assets are proxied directly without booting the entire framework.
46-
- Exceptions are handled by [Whoops](https://github.com/filp/whoops), through the ExceptionHandler.
47-
- The server.php is moved to the `bin` directory.
48-
49-
### API Changes
50-
51-
The way the server works for the end-user has not been changed much.
52-
Most people will not even notice anything but the new features.
53-
54-
The only real change is that applications will need to point to the
55-
new `server.php` file which is now located in the `bin` directory.
56-
57-
The debug/console output has been removed.

packages/realtime-compiler/composer.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
"bin": ["bin/server.php"],
1818
"require": {
1919
"desilva/microserve": "^1.0",
20-
"hyde/framework": "*"
21-
},
22-
"suggest": {
23-
"hyde/framework": "This package requires Hyde Framework version v0.48.0-beta or higher."
20+
"hyde/framework": "^v0.64"
2421
}
2522
}

0 commit comments

Comments
 (0)