vendure 2.2.0
vendure: ^2.2.0 copied to clipboard
Flutter SDK for Vendure Open Source Headless Commerce Framework.
2.2.0 #
- Improved error handling for all Vendure error types (e.g. InvalidCredentialsError, ErrorResult, etc.) so authentication failures always throw a standardized, testable message.
- Defensive null checks for error messages to prevent type errors.
- Enum normalization restored: all enum values for keys in
_vendureTypeEnumsare now converted to Dart/camelCase style recursively. - Type safety enforced for all map responses.
- Internal logging and debug improvements for error diagnosis.
- See
normalizeGraphQLDataand authentication methods for details.
2.1.1 #
- Added refresh token via Vendure instance:
Vendure.instance.refreshToken(params)now available for direct use. - Makes token refresh accessible from the singleton instance for all auth flows.
2.1.0 #
- Added refresh token support via
TokenManagerandVendure.refreshToken. - You can now refresh authentication tokens dynamically for long-lived sessions or custom auth flows.
- See
Vendure.refreshTokenandTokenManagerfor usage.
2.0.0 #
⚠️ Breaking Change #
CustomOperationsAPI: ThefromJsonparameter is now optional formutate,query,queryList, andmutateListmethods.- If
fromJsonis not provided, the raw normalized data is returned (cast to the expected type). - This change breaks previous usage where
fromJsonwas required. - Update your code to handle the new method signatures and return types.
1.8.0 #
- Added static
setAuthTokenmethod to update the authentication token on the initialized Vendure instance.
1.7.2 #
- added
timeoutoption to Vendure initialization methods - increased default GraphQL client timeout to 10 seconds (was 5 seconds)
1.7.1 #
- fixed enum value conversion in _convertEnumToDartFormat method
- improved handling of camelCase enum values (e.g., 'staticVal' now correctly preserved instead of being converted to 'staticval')
- method now properly handles both SCREAMING_SNAKE_CASE and camelCase enum formats
1.7.0 #
- fixed native authentication implementation
- improved GraphQL client configuration with better caching policies
- added default headers for HTTP requests
- enhanced guest session handling
- fixed typo in available countries query filename
- added comprehensive test suites for user journeys
1.6.0 #
- added support for vendure-token header to pass the channel
- added languageCode support for translations
1.5.0 #
- added mutateList for mutations that return a List
1.4.0 #
- refactored custom operations code
1.3.0 #
- changed fromJson data type to dynamic
1.2.6 #
- fixed customfields config not passing to order and system operations
1.2.5 #
- fixed internal type import
1.2.4 #
- fixed ActiveCustomer error on active order removeAllItems
1.2.3 #
- fixed Customer customFields parsing issue
1.2.2 #
- fixed Turkish Lira TRY conversion issue
1.2.1 #
- Removed CollectionWithParentChildren entity
1.2.0 #
- Added
getCollectionsWithParentChildrenmethod - Added
getCollectionWithChildrenmethod - Added
getCollectionWithParentmethod - Added
getCollectionWithParentChildrenmethod - Updated FacetValue to includ Facet
1.1.0 #
- Added support for customfields. define customfieldsConfig on initialize
1.0.1 #
- Updated productId and productVariantId int types to String
0.9.1 #
- Renamed type to CollectionWithParentChildren for simplicity
0.9.0 #
- Added
getCollectionsWithParentChildrenmethod
0.8.5 #
- fixed the bug options not passing on getCollections
0.8.4 #
- changed getCollectionById tpe to String from int
0.8.3 #
- changed getOrderByCode return type to Order
0.8.2 #
- updated http dependency
0.8.1 #
- Added setOrderShippingMethod example
0.8.0 #
- Strong types are implemented for all methods
0.7.0 #
- All shop-api methods are implemented
0.6.6 #
- Updated README
0.6.3 #
- Added
setOrderBillingAddressmethod - Added
getActiveOrdermethod - Added
addPaymentToOrdermethod - Added
getOrderByCodemethod - Added
getPaymentMethodsmethod - Added
getShippingMethodsmethod - Added
setCustomerForOrdermethod
0.5.1 #
- Added setOrderShippingAddress and updated README example
0.5.0 #
- Exported types
0.4.2 #
- Updated Readme explaining how to manage firebase token changes
0.4.1 #
- Update the instance credentials without reinitizialize
0.4.0 #
- Made it singleton with predefined initialization methods NativeAuth,FirebaseAuth,Token and Custom Auth
0.3.1 #
- fixed http dependency
0.3.0 #
- Added automated opinionated session refresh management
0.2.0 #
- Added extractResponseHeaders method to extract response headers.
0.1.0 #
- Initial version.