Repository navigation
Oxy 0.7.0
Oxy 0.7.0 on pub.dev aligns the declared SDK requirement with its dependency graph and fixes native request identification and executable policy examples.
Upgrade notes
- Use Dart 3.12 or newer. The required Patchwork dependency already made published 0.6.0 unresolvable on Dart 3.10 and 3.11; the manifest and minimum/stable CI now state the effective requirement correctly.
- Native requests now use the version-independent
User-Agent: oxy. SetClientOptions(userAgent: 'my-app/1.0')for an application identity, or provide an explicituser-agentheader. The native transport sends the configured identity exactly instead of appending Dart's default. On Web, the option is ignored and the browser controls the wire user agent. - README and cookbook policy examples now include a base URL, so their relative
/missingrequest exercises status handling as intended.
Validation
- Dart 3.12.0 and 3.13.4: VM 119, Node 107, Chrome 115 tests pass; Patchwork checks and publication dry-run pass with zero warnings.
- A fresh hosted consumer on both SDKs verifies automatic RFC850 dependency overlay, native GET/POST/retry, and exact default/custom/explicit user-agent identities.
- The published archive's SHA-256 matches pub.dev metadata, and all 78 packaged files byte-match the release commit.
Changes: SDK contract #77, request identity and examples #79, release #78.
The road to 1.0 records remaining qualification work. This release includes no performance optimization; #76 remains open.