vasuzex 2.3.12 → 2.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/README.md +505 -514
- package/frontend/react-ui/components/DataTable/DataTable.jsx +48 -7
- package/jsconfig.json +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Vasuzex will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [2.3.13] - 2026-04-05
|
|
6
|
+
|
|
7
|
+
### 🐛 Fixed
|
|
8
|
+
|
|
9
|
+
#### DataTable — Debounce + In-Flight Request Cancellation (`vasuzex/react`)
|
|
10
|
+
|
|
11
|
+
- **Debounced column search** — Column search input now waits 400 ms after the user stops typing before sending a request to the server. Previously, a request was fired on every keypress, causing API flooding for fast typists. ([`DataTable.jsx`](frontend/react-ui/components/DataTable/DataTable.jsx))
|
|
12
|
+
|
|
13
|
+
- **AbortController on in-flight requests** — If the user starts typing again while a previous search request is still in flight, that request is now automatically aborted before the new debounce window starts. This prevents stale responses from arriving out-of-order and updating the table with old data.
|
|
14
|
+
|
|
15
|
+
- **Unmount cleanup** — Any pending request is aborted when the DataTable component unmounts, preventing setState calls on unmounted components.
|
|
16
|
+
|
|
17
|
+
**Technical details:**
|
|
18
|
+
- Added `debouncedColumnSearch` state (derived from `columnSearch` with 400 ms debounce)
|
|
19
|
+
- Added `columnSearchDebounceRef` (`useRef`) — timer handle for the debounce
|
|
20
|
+
- Added `abortControllerRef` (`useRef`) — holds the `AbortController` for the current fetch
|
|
21
|
+
- `fetchData` useCallback now: aborts previous controller → creates new `AbortController` → passes `signal` to `api.get()` → catches `AbortError`/`ERR_CANCELED` silently
|
|
22
|
+
- Reset-page effect (`useEffect`) updated to depend on `debouncedColumnSearch` instead of `columnSearch`
|
|
23
|
+
|
|
24
|
+
### 📝 Changed
|
|
25
|
+
|
|
26
|
+
#### README — Complete Rewrite
|
|
27
|
+
- Removed outdated alpha/V2 migration content
|
|
28
|
+
- Rebuilt from the live documentation at **https://vasuzex.xdeve.com/guide/**
|
|
29
|
+
- Covers: requirements, quick start, project structure, architecture, HTTP layer, Eloquent models, React UI, CLI reference, environment config, and full documentation index
|
|
30
|
+
- Proper badges (npm version, downloads, license, Node.js, pnpm)
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
5
34
|
## [2.3.0] - 2026-02-18
|
|
6
35
|
|
|
7
36
|
### 🚀 Standalone Script Support
|