{{ message }}
Releases: usocket/usocket
Releases · usocket/usocket
usocket 0.8.9
0.8.9 (Oct 24, 2025):
- General: Remove &optional from SOCKET-LISTEN and SOCKET-CONNECT (#131)
- Bugfix: [SBCL] prevent setting TCP_NODELAY to unix domain sockets (#131)
- Bugfix: [LW] revert broadcast hack (#134)
- Bugfix: [CCL] avoid using ccl::set-socket-options which doesn't exist in newer versions
- Bugfix: [CCL] Bugfix for error sending a UDP datagram on CCL when host is a vector (thanks to Vibhu Mohindra)
- Bugfix: [CLISP] rawsock socket-send neglected offset (thanks to Vibhu Mohindra)
- Bugfix: [CLISP] ffi udp socket-send (thanks to Vibhu Mohindra)
- Bugfix: [CLISP] clisp ffi udp corrupt memory and descriptors (thanks to Vibhu Mohindra)
i.e. Many thanks to Vibhu Mohindra.
usocket 0.8.8
0.8.8 (Jul 23, 2024):
- General: Exported GET-HOST-NAME (for getting the local machine hostname)
- General: [server] upgrade server dependencies to bordeaux-threads-2
- Bugfix: [CCL] Change default value of nodelay to T (as other backends)
- Bugfix: [SBCL] doesn't put :windows on features, use :win32 instead (#124)
- Bugfix: [SBCL] Fix default nodelay true on sbcl backend to actually work (#126)
- Bugfix: [CCL] A patch from CCL maintainer (R. Matthew Emerson) (#113)
usocket 0.8.7
0.8.7 (Mar 20, 2024):
- General: Update and supply documentation for most exported symbols (#107, patch from @tinkerttoy)
- New feature: [SBCL] separate :connection-time and :read-time in socket-connect (#119)
- Bugfix: [SBCL] socket-connect-nonblock-wait (non-blocking sockets) doesn't work on Windows, disabled by default (#106)
- Bugfix: ip= doesn't compare properly if the first argument is a vector (#108)
- Bugfix: [LW] NS-TRY-AGAIN-ERROR with wrong initargs (#121)
usocket 0.8.6
- Bugfix: [SBCL/ECL] improved SOCKET-CONNECT timeout handling based on non-blocking sockets (#92, patch from @jetmonk)
- Bugfix: [CCL] capture SOCKET-CREATION-ERROR exception in RESOLVE-ADDRESS when calling SOCKET-CONNECT (#96, patch from @jetmonk)
- Bugfix: [SBCL, LW, etc] with-mapped-conditions no more throw unknown-error so that user can correctly capture their own conditions (#97, reported by @avodonosov (Anton Vodonosov))
- Bugfix: [server] Permit 0-length UDP data payloads (#93, patch from @rabuf (Jared Summers))
usocket 0.8.5
- Bugfix: [SBCL] Fix for sbcl 2.2.7+ (internal SB-ALIEN::HINSTANCE got removed) (thanks to @MrDispatch on GitHub)
- Bugfix: [SBCL] Fix Build failure on some SBCL versions due to sb-int:broken-pipe (#81)
- Bugfix: [CCL] When #+ipv6 also try to resolve an IPv4 address if the connection cannot be established with the IPv6 address. #75 (patch by Pascal J. Bourguignon)
- Bugfix: [ABCL] Fix "socket-send returns NIL on ABCL" (Issue #82, patch from Kasper Galkowski)
- Bugfix: [server/SBCL] Ignore invalid argument error for system call on sbcl (#80), by @charJe
usocket 0.8.4
- New experimental backend: MKCL (support via sb-bsd-sockets) (thanks to @Madhu)
- New feature: new socket options (TCP keepalive, UDP broadcast) (#70, #73) (thanks to Eugene Zaikonnikov)
- New feature: Added IPv6-only support in host-to-hostname, get-host-by-name and get-random-host-by-name; new exported symbol: ipv6-only-p
- New feature: [LW] Add UDP broadcast support for LispWorks (#70, #72)
- Bugfix: Support (SOCKET-SHUTDOWN ... :DIRECTION :IO) as the generic function documentation advertises (#76)
- Bugfix: "usocket leaks file descriptors on sb-int:broken-pipe conditions" (#64) (thanks to Jesse Off)
- Bugfix: Added missing socket-error conditions used in
+unix-errno-error-map+(#61, thanks to Yehouda Harpaz) - Bugfix: Use ns-try-again-error instead of ns-try-again-condition (#79) to match condition degign of SBCL and others (ns-try-again-condition is now deprecated)
- Bugfix: [LW] socket-shutdown on stream-usocket need to pass the stream to comm:socket-stream-shutdown (rather than the socket) #59
- Bugfix: [LW] SOCKET-ACCEPT now raises CONNECTION-ABPRTED-ERROR instead of INVALID-SOCKET-ERROR if the underlying socket got from comm::accept-connection-to-socket or comm::get-fd-from-socket is NIL. (#63)
- Bugfix: [LW] socket-accept returns NIL if the underlying socket is NIL and the error (somehow) is not captured
- Bugfix: [LW] SOCKET-SEND and SOCKET-RECEIVE should never return NIL (comes from raise-usock-err) (#62)
- Bugfix: [SBCL] Add (sb-int:broken-pipe . connection-aborted-error) into +sbcl-error-map+ (#64)
- Bugfix: [SBCL, ECL, clasp] Fix condition map for sb-bsd-sockets::host-not-found-error (ns-host-not-found-error) (#65)
- Bugfix: [CCL] Explicitly specifying :FORMAT :TEXT to CCL:MAKE-SOCKET makes the socket monovalent. (thanks to @Madhu)
usocket 0.8.3
Changes in usocket 0.8.3:
- New experimental backend: Mezzano (contributed by Bruno Cichon, #51)
- Bugfix: WAIT-FOR-INPUT fails to honor :ready-only t (#57, thanks to @Reepca for reporting this issue)
- Bugfix: [ECL] Fix read-select in backend/sbcl.lisp to loop if interrupted (#54, #55, thanks to @thijs)
- [CCL] Fix compiling with (readtable-case readtable-case) of :invert. (#56, patch from @genworks)
- [Genera] added file attibutes (to all USOCKET lisp files) for Genera.
Merry Christmas to all Lispers.
Chun Tian
usocket 0.8.2
Changes in 0.8.2
- General: now the HOST-OR-IP slot of NS-CONDITION has been exported. (#46)
- Bugfix: NS-HOST-NOT-FOUND-ERROR condition has unbound HOST-OR-IP slot (#46)
- Bugfix: [SBCL/LW] WAIT-FOR-INPUT waits only in the first call (when W-F-I is called with a single usocket, introduced in 0.8.0) (#50, thanks to @Hamayama for reporting/hints/testing this issue)
usocket 0.8.1
0.8.1: (Feb 27, 2019)
* New backend: clasp (patch from Christian Schafmeister, #45)
* Bugfix: [SBCL] fixed loading usocket.asd in SBCL 1.5.0
usocket 0.8.0
0.8.0: (Feb 4, 2019)
- New backend (experimental): IOlib. (Push :USOCKET-IOLIB to FEATURES to enable this feature)
- New feature: Optimized WAIT-FOR-INPUT for single-socket case (one-time consing)
- New feature: Exported host-to-hostname (#42)
- Bugfix: [SBCL] more robust/thread-safe WAIT-FOR-INPUT-INTERNAL
