v1.0.0-beta.2
Pre-release
Pre-release
Dependency slim-down, plus one small deliberate BC cleanup (#8) — the last of its kind planned before v1.0.0.
Changed
webmozart/assertis no longer a dependency.CollectionRequestOptionswas its only user in the SDK (two>= 1checks); they are now plain inline guards throwing\InvalidArgumentException. Since Webmozart's exception already extended\InvalidArgumentException, catch sites see no behavioral difference — but every consumer's dependency tree gets one package lighter.
Removed (BC break)
-
CollectionRequestOptions::new(). It existed only to start fluent wither chains (::new()->withPageSize(50)); constructor named arguments express that better:new CollectionRequestOptions(pageSize: 50). The withers (withPage()/withPageSize()) remain. If you call::new(), replace it withnew CollectionRequestOptions().beta.1 stated no further BC breaks were planned — this cosmetic removal was judged worth the exception as a last-cheap-moment cleanup while still pre-1.0. Apologies if it bites; the fix is mechanical.
Full changelog: v1.0.0-beta.1...v1.0.0-beta.2