Iodine v0.6.0 Release Notes
-
๐ I apologize to all my amazing early adopters for the rapid changes in the API for connection objects (SSE / WebSockets) and Pub/Sub. This was a result of an attempt to create a de-facto standard with other server authors. Hopefully the API in the 0.6.0 release will see the last of the changes.
API BREAKING CHANGE: The API for persistent connections (SSE / WebSockets) was drastically changed in accordance with the Rack specification discussion that required each callback to accept a "client" object (replacing the
extend
approach). Please see the documentation.API BREAKING CHANGE:
Iodine.attach
was removed due to instability and issues regarding TLS/SSL and file system IO. I hope to fix these issues in a future release. For now theIodine.attach_fd
can be used for clear-text sockets and pipes.API BREAKING CHANGE: Pub/Sub API was changed, replacing the previously suggested pub/sub object with an updated
unsubscribe
method. This means there's no need for the client to map channel names to specific subscriptions (Iodine will perform this housekeeping task for the client).๐ Fix: Iodine should now build correctly on FreeBSD. Credit to @adam12 (Adam Daniels) for detecting the issue.