Repository navigation
v0.3.8
Standard library
hive.net.httpWsServe(port, handler, wsHandler)serves HTTP and WebSockets on one port: every request reacheshandleras underhttpServe, and answering 101 hands that one towsHandler, which takes it as underwsServe.- A
hive.net.WsConnectionsays who is at the far end:conn.addressis itshost:port, andhive.net.WsConnection(address)builds one with no socket behind it, for a test. hive.sql.runprepares a statement once and runs that one from then on, where the database parsed its text again on every call — about half of what a short SQLite statement cost.hive.sql.rawis not prepared.
Fixes
- A
querywith a row type can be run from atest: its row mapper was written only where the program itself ran the query, and a test that ran one nothing else did failed in Go withundefined: sqlFields_…. - A hole's name may open with
_, as any binding's may:"{_before is (\s*)}"was refused.
Tooling
hive containerreads the porthttpWsServeserves, as it does the other servers'.
To bootstrap from this release, seed/pinned.txt becomes:
tag: v0.3.8
asset: hivec-linux-amd64
sha256: 67e0ec41d20189256f8b25900bb0d56d0861b19831f7a5a29b519d90039236cf