Commit Graph
2029 Commits
Author SHA1 Message Date
truehazker 2fce4b7f7d 🔧 fix: merge set.headers without duplicating Response 2025-12-04 10:57:02 +04:00
saltyaom 708577623e 📘 chore: add decorate stress test 2025-12-02 21:15:03 +07:00
saltyaom 0726fda611 📘 chore: add decorate stress test 2025-12-02 21:13:27 +07:00
saltyaom 68516ee9d1 📘 chore: add decorate stress test 2025-12-02 21:12:15 +07:00
SaltyAomandGitHub 428b9765af Merge pull request #1564 from elysiajs/next
patch 1.4.17
1.4.17
2025-12-02 14:21:12 +07:00
saltyaom 837dd7a578 🎉 feat: 1.4.17 2025-12-02 14:20:13 +07:00
saltyaom 3af978663e 🔧 fix: sanitize cookie key 2025-12-01 17:36:47 +07:00
saltyaom 5eae47925b 🔧 fix: allow cookie.sign to be string 2025-12-01 17:31:49 +07:00
saltyaom 0adac86853 🔧 fix: cookie secret array member 2025-12-01 17:27:38 +07:00
saltyaom 8de232a97b 🧹 chore: merge main 2025-12-01 17:21:18 +07:00
saltyaom 9a562918bc Merge branch 'main' into next 2025-12-01 17:20:32 +07:00
SaltyAomandGitHub 27da2a7fff Merge pull request #1584 from akim-bow/custom-error-unknown
fix: update the type of a customError property
2025-12-01 17:20:06 +07:00
saltyaom 26935bf76e 🔧 fix: cookie injection, prototype pollution, and RCE 2025-12-01 17:19:14 +07:00
Akim Mamedov 61677cfa26 fix: update the type of a customError property 2025-12-01 16:00:19 +07:00
saltyaom 94f8528e0e 🧹 chore: merge main 2025-11-29 20:53:41 +07:00
saltyaom 3aaa168db9 Merge branch 'main' into next 2025-11-29 20:53:14 +07:00
SaltyAomandGitHub 5a28cd70fb Merge pull request #1579 from gosvoh/main
Refactor HEAD method handling in compose.ts
2025-11-29 20:53:03 +07:00
Aleksey VokhminandGitHub b8f5688204 Refactor HEAD method handling in compose.ts
Fix issue https://github.com/elysiajs/elysia/issues/1569
2025-11-28 23:24:21 +03:00
saltyaom aa5454e0fc 🧹 chore: merge main 2025-11-27 19:03:49 +07:00
saltyaom a2ca58e5e7 Merge branch 'main' into next 2025-11-27 19:02:55 +07:00
saltyaom 439a8cf2c7 🧹 chore: update cookie 2025-11-27 19:02:34 +07:00
SaltyAomandGitHub 3ad795bd79 Merge pull request #1550 from MarcelOlsen/fix/200-type-inference-zod
🔧  Fix 200 status code type inference in ~Routes
2025-11-27 19:01:43 +07:00
saltyaom 036e360fe0 📘 doc: merge main 2025-11-26 14:40:56 +07:00
saltyaom 43b5ec0831 Merge branch 'main' into next 2025-11-26 14:40:13 +07:00
SaltyAomandGitHub 5eec011e53 Merge pull request #1549 from MarcelOlsen/fix/set-cookie-in-error-handler
🔧  Fix Set-Cookie headers not sent when errors are thrown
2025-11-26 14:39:52 +07:00
saltyaom e1b6b51587 🔧 fix: pin down cookie version 2025-11-26 14:27:39 +07:00
saltyaom b8a35bc464 🧹 chore: build error 2025-11-26 14:19:32 +07:00
saltyaom 39a1305162 🧹 chore: regenerate lock file 2025-11-26 14:16:49 +07:00
saltyaom c0f57f07db 🔧 fix: #1533 t.Array with t.Omit elements are not normalized 2025-11-26 14:13:35 +07:00
saltyaom 8dc61f17b2 📘 doc: add union test case 2025-11-26 14:12:44 +07:00
saltyaom de6f362758 📘 doc: remove unused test case 2025-11-26 13:49:27 +07:00
saltyaom e17f7831d4 📘 doc: merge main 2025-11-26 13:48:38 +07:00
SaltyAomandGitHub b33d57fc5d Merge pull request #1573 from NMNMCC/main
fix #1572
2025-11-26 13:06:25 +07:00
saltyaom 6556cabccf Merge branch 'main' into next 2025-11-26 13:04:26 +07:00
saltyaom 8c1a163c3c 📘 doc: update changelog 2025-11-26 13:04:09 +07:00
SaltyAomandGitHub 66a16a6daa Merge pull request #1568 from YasserGomma/fix/cookie-hash-optimization
fix: Optimize cookie value comparison using FNV-1a hash
2025-11-26 13:03:15 +07:00
SaltyAomandGitHub 50e49c196d Merge branch 'main' into fix/cookie-hash-optimization 2025-11-26 12:59:20 +07:00
SaltyAomandGitHub 61fc1a1396 Merge pull request #1567 from akim-bow/improve/remove-cookie-cache
improve: remove cookie cache
2025-11-26 12:57:39 +07:00
NMNM.CC e908825e89 fix #1572 2025-11-26 03:18:32 +08:00
Akim Mamedov 89001d1628 fix 2025-11-24 22:21:16 +07:00
Akim Mamedov aee03d6a09 add test 2025-11-24 22:20:41 +07:00
Yasser dffde515fe fix: invalidate hash cache when cookie is modified via update() or set()
- Invalidate hash cache when cookie jar is modified directly
- Add tests for cache invalidation with update() and set() methods
- Ensures hash cache stays consistent when value is changed through alternative methods
2025-11-24 01:42:33 +02:00
Yasser 5eb7a8bf76 fix: optimize cookie value comparison using FNV-1a hash
- Add FNV-1a hash function for fast object comparison
- Use hash-based comparison to avoid unnecessary cookie updates
- Cache JSON.stringify result to avoid duplicate serialization
- Improve code comments explaining hash comparison logic
- Add comprehensive tests for repeated identical values and large objects
- Rename hashObject to hashString for clarity
2025-11-24 01:33:56 +02:00
Akim Mamedov 3909ae3aba simpler fix 2025-11-23 19:46:19 +07:00
Akim Mamedov ac72e7734e remove test according to proposal 2025-11-23 18:20:14 +07:00
Akim Mamedov d2416ec646 improve: remove cookie cache 2025-11-23 17:36:08 +07:00
saltyaom 28150e18a7 🔧 fix: build error 2025-11-22 23:25:27 +07:00
saltyaom 23f30f78a9 🔧 fix: #1563 standard schema on websocket 2025-11-22 23:23:51 +07:00
saltyaom 310684cb6a 🧹 chore: merge main 2025-11-22 22:07:08 +07:00
SaltyAomandGitHub a6ea431228 Merge pull request #1558 from NongTham/fix/cookie-unchanged-resend
fix: prevent sending set-cookie header when cookie value is unchanged...
2025-11-22 22:06:27 +07:00