Repository navigation
v0.3.2
What's New in v0.3.2
Much bytes, very network, wow.
This release rounds out Doge's networking and binary-data story: raw byte sockets,
a general HTTP client, a crypto module, and base64/hex round-tripping for Bytes.
Networking
- Binary-safe sockets (#60) —
howl.recv_bytes/howl.send_bytesmove raw
Bytesover a socket with no UTF-8 assumptions, so a pure-Doge server can frame
binary bodies byContent-Lengthand handle file uploads. howl.request(#62) — the general HTTP(S) client: any method
(GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS), custom request headers, and abody
(Str or rawBytes). Every response now carries a lowercasedheadersDict.
New stdlib modules
crypto— hashing & secrets (#61):sha256,hmac_sha256,token(OS-CSPRNG
random bytes), andsame(constant-time compare). Everything speaksBytes
(render with.hex()); wrong types are a catchableTypeError, never a crash.
Language & types
Bytesbase64/hex round-trip (#63) —Bytes.b64()encodes to base64;
Str.from_b64andStr.from_hexdecode back toBytes, with a catchable
ValueErroron malformed input.
Fixes
doge testconstant init (#65) — top-levelsoconstants declared in the test
file itself now initialize before tests run, instead of stayingnone.- Relative script paths in a project (#64) —
doge check/bark/test lib/x.doge
now resolves the project root correctly instead of failing with "could not open
the project directory";discover_rootcanonicalizes the path before the walk.
Install
cargo install dogelang
Full Changelog: v0.3.1...v0.3.2