Repository navigation
Releases: fleetbase/storefront-js
Releases · fleetbase/storefront-js
Release list
v2.0.1
v2.0.1 ~ "Multi-value filters reach the API"
Highlights
- Requires
@fleetbase/sdk2.1.1, which sends query lists in the bracket form PHP reads (tagged[]=a&tagged[]=b). With 2.1.0, multi-value parameters such as several store tags or several cart origins for a service quote reached the API as one value. - The browser bundle is rebuilt with it.
- Publishing now waits for npm to serve the new version before verifying it.
No API changes from v2.0.0.
Need help?
v2.0.0
v2.0.0 ~ "Built on the core SDK v2, with realtime socket tokens"
Highlights
- Builds on
@fleetbase/sdk2 as a regular dependency instead of a bundled copy of 1.2.13. Requests use the core SDK's Fetch transport; axios is no longer included. - Applications that also use the core SDK share one copy of it, so resources, adapters and
instanceofchecks match on both sides. customer.socketToken()mints a customer-scoped realtime token (POST customers/socket-token) for authenticated socket channels.
Breaking changes
- Resources follow core SDK 2 behaviour. For example,
getAttribute(name, fallback)returns the fallback fornullvalues as well as missing ones, andPointserializes as GeoJSON[longitude, latitude]. - Signed-out customer requests no longer send an empty
Customer-Tokenheader.
The Storefront API surface (constructor, stores, actions and resource methods) is unchanged. Applications that also import @fleetbase/sdk should use v2.
Need help?
v1.2.0
v1.2.0 ~ "Modern Storefront SDK"
Highlights
- Modernizes the SDK implementation with strict TypeScript while preserving the existing public API and request contracts.
- Adds current marketplace and network helpers documented by the Storefront and Core APIs.
- Ships verified ESM, CommonJS, browser, and TypeScript entry points with smaller, cleaner package contents.
- Adds complete behavioral test coverage, mutation testing, dependency review, CodeQL, and packed-package validation.
- Verifies consumers using npm, pnpm, Yarn, Bun, Vite, webpack, Next.js, and Ember.
- Adds automated, protected npm publishing with provenance and checksummed GitHub release artifacts.
This release is intended to remain compatible with applications using v1.1.14. See the
README and migration guide for the supported runtime matrix and packaging details.
Need help?
v1.1.14
v1.1.13
v1.1.12
v1.1.11 ~ 🎄🎅🏾
What's Changed
- Introduces new registry and resolver for dependency injection
- Upgraded all dependencies
- Refactor code
- License changed to AGPL v3
- v1.1.11 ~ 🎄🎅🏾 by @roncodes in #7
Full Changelog: v1.1.10...v1.1.11