32 Commits
Author SHA1 Message Date
selimaj-dev 03307f4e21 Merge pull request '0.2.0: fix lost responses and close handling, publish to Gitea' (#2) from fix-pending-requests into master
Reviewed-on: #2
2026-09-25 12:31:51 +00:00
selimaj-devandclaude 97eab5f814 Fix lost responses and close handling; publish to Gitea as 0.2.0
Gradle Build / build (pull_request) Failing after 6s
- Register pending requests before sending so fast responses aren't lost
- Fail pending requests with SessionClosedException when the connection
  closes or errors, and add onClose(), isOpen() and a request overload
  with a timeout
- Serialize text sends: java.net.http.WebSocket allows only one
  outstanding send, so concurrent requests could throw
- Reassemble text messages delivered in parts before parsing
- Complete error responses with SessionErrorException carrying the payload
- Answer requests for unknown methods with an error response
- Fix SessionResult.error() producing success responses
- Fix close() using invalid close code 0; send 1000
- Publish as dev.selimaj:session-java to the Gitea package registry;
  make Jackson an api dependency and drop unused Tyrus/Jakarta deps
- Replace the empty test with 9 tests against an in-process server

Fixes #1

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-25 14:28:04 +02:00
selimaj-dev 563ea08a3f Fixed notification handling 0.1.6 2026-02-23 09:19:05 +01:00
selimaj-dev b80ce6ea01 Notification handler 0.1.5 2026-02-23 06:28:12 +01:00
selimaj-dev b236de082a Fixed ping bug 2026-02-23 05:54:56 +01:00
selimaj-dev 1ba5cd8159 HOWWWW 0.1.4 2026-02-20 02:22:58 +01:00
selimaj-dev 34d86a23ab Fixed build artifacts 0.1.3 2026-02-20 02:06:05 +01:00
selimaj-dev 6b0992e208 v0.1.2
Gradle Build / build (push) Canceled after 47s
v0.1.2
2026-02-20 01:42:30 +01:00
selimaj-dev 2b64b10646 Fixed types 2026-02-20 01:26:10 +01:00
selimaj-dev 5cb57127de Publishing with jitpack
Gradle Build / build (push) Canceled after 2m8s
v0.1.1
2026-02-19 22:15:17 +01:00
selimaj-dev 05281b1b0b Temporarily fixed testRequest as i don't have a server yet v0.1.0 2026-02-19 20:53:28 +01:00
selimaj-dev fa2a5ad9a2 Logo 2026-02-19 20:47:08 +01:00
selimaj-dev f5423313e0 Readme install 2026-02-19 20:46:22 +01:00
selimaj-dev 8ac4bbb7c5 publishing 2026-02-19 20:41:25 +01:00
selimaj-dev b3cba0751e Publishing to github packages 2026-02-19 20:20:49 +01:00
selimaj-dev 9fcd542605 Add Gradle publish workflow for GitHub packages
This workflow builds a package using Gradle and publishes it to GitHub packages upon release creation.
2026-02-19 20:08:36 +01:00
selimaj-dev 147a7505c5 Merge pull request #1 from selimaj-dev/client
Client
2026-02-19 10:09:42 -08:00
selimaj-dev 9b7c09dcd2 Readme 2026-02-19 18:26:04 +01:00
selimaj-dev 14aa0311d2 SessionResult 2026-02-19 18:08:54 +01:00
selimaj-dev fb66ed08e1 Request handling 2026-02-19 18:08:33 +01:00
selimaj-dev 7851e0d08a Slightly better method ergonomics 2026-02-19 17:26:24 +01:00
selimaj-dev 5421a1ff16 Improved typing 2026-02-19 17:20:51 +01:00
selimaj-dev 1a4647b0f9 Working io 2026-02-19 16:31:00 +01:00
selimaj-dev b1198e89d6 Testing Method structure 2026-02-19 16:24:57 +01:00
selimaj-dev 9342bf42c5 Method structure 2026-02-19 16:04:02 +01:00
selimaj-dev 68258dde47 Simple session structure 2026-02-19 15:57:58 +01:00
selimaj-dev 141d7d0890 Simple session structure 2026-02-19 15:39:52 +01:00
selimaj-dev 1b9b59f20b Method handler and handler result 2026-02-19 15:23:04 +01:00
selimaj-dev 9acee62886 Message type 2026-02-19 15:21:09 +01:00
selimaj-dev 8e8a15cfb9 Added libraries 2026-02-19 15:18:45 +01:00
selimaj-dev 22fc9e7b5a Gradle init 2026-02-19 15:08:20 +01:00
selimaj-dev 4cb2ec06b7 Initial commit 2026-02-19 14:58:12 +01:00