What's changed
The 0.3.0 functional changes are limited to sdk/js; the version bump on sdk/python and sdk/rust keeps the SDKs version-locked.
Fixed (sdk/js)
nowsymbol resolution.resolveSymbolpreviously readctx.vars?.now, butverifyandverifyTokensetctx.now. Any policy using(before now <expires>)silently resolved the symbol's name as the literal string "now" and string-compared against the right-hand side. Now reads fromctx.nowfirst, falls back toctx.vars?.nowfor backward compatibility, and throws underctx.strict.
Added (sdk/js)
varssymbol binding.(get vars "key")now resolves to the same value as the bare-symbol formkey, mirroring howreqis exposed. Bare-symbol var lookup continues to work unchanged.
Tests
- Two regression tests cover both behaviours (one for
(before now ...)driven throughverifywith onlyctx.nowset; one asserting(get vars "key")matches the bare-symbol form).