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: CHANGELOG.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
10
10
11
11
### Added
12
12
13
-
- Hot reload for routes and templates via file system watchers (`WatchFs`, `Routing.Watcher`, `Rendering.Watcher`)
13
+
-`@neabyte/superwatcher@^0.1.1` dependency for file watching with debounce, event dedup, and atomic write detection
14
+
- Hot reload for routes and templates via file system watchers (`Routing.Watcher`, `Rendering.Watcher`)
14
15
-`Helper` utility class consolidating `headersToRecord` from `Redirect` and `Response` into a shared `Helper.toRecord` method
15
-
-`Watcher` interface types (`WatchedEvent`, `WatchFsOptions`) in `src/interfaces/Watcher.ts`
16
16
-`Engine.viewsDir` getter, `Engine.invalidateFile()` and `Engine.refreshPaths()` for cache invalidation during hot reload
17
17
-`Handler.reloadRoute()` and `Handler.removeRoute()` for runtime route replacement
18
18
-`Handler.getViewEngine()` accessor
@@ -31,6 +31,16 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
31
31
32
32
### Changed
33
33
34
+
- File watchers migrated from internal `WatchFs` to `@neabyte/superwatcher` with ignore-based extension filtering, Map-based event dedup, and atomic write detection
35
+
-`Routing.Watcher.watch()` and `Rendering.Watcher.watch()` changed from `async` to synchronous
36
+
-`Router.startWatchers()` no longer wraps watcher calls in `.catch()` since watchers are now synchronous
37
+
- Error types upgraded to `Deno.errors` for semantic error handling:
38
+
-`Context.render()`/`streamRender()`: `Error` → `Deno.errors.NotSupported` (view engine not configured)
0 commit comments