woocommerce_flutter_api 1.7.1
woocommerce_flutter_api: ^1.7.1 copied to clipboard
A Flutter package for WooCommerce integration. Manage products, orders, and customers with updated dependencies for seamless e-commerce.
1.7.1 #
- Fix
WooProductImagefor product creation: all fourDateTimefields (dateCreated,dateCreatedGMT,dateModified,dateModifiedGMT) are now nullable and optional in the positional constructor.fromJsonkeeps them asnullwhen missing, andtoJsononly emits them when present, so product creation payloads no longer trigger400 Bad Requestfrom the WooCommerce API. Fixes #31. - Fix
WooProductCategory.displayserialization:fromJsonnow usesWooCategoryDisplay.fromStringto convert the API string into the enum, andtoJsonwrites"default"(without the trailing underscore) instead of the enum'sdefault_name. Fixes #30.
1.7.0 #
- Updated
flutter_secure_storageto^11.0.0(WASM-compatible). - Bumped SDK constraint to
>=3.3.0and Flutter constraint to>=3.19.0to align with the new dependency. - Resolved 18
dangling_library_doc_commentslints inlib/src/variation/enums/enums.dart. - Fixed 3
comment_referenceslints inauthentication_api.dartandcustomer_api.dart. - Cleaned up
avoid_printwarnings in the example file.
1.0.0 #
- Initial version.
1.0.2 #
- [List any new changes, bug fixes, or improvements for version 1.0.2]
1.0.3 #
- Added support for retrieving WooCommerce product tags.
- Implemented
getProductTags()to fetch product tags with various filtering options. - Introduced
WooProductTagSortenum for sorting product tags. - Improved API structure and documentation.
- Fixed minor issues in query parameter handling.
1.1.0 #
- Added support for product review, shipping classses, reports, tax rates and tax classes.
- Improved API structure and documentation.
1.2.0 #
- Almost finished with all of the apis in Woocommerce official api.
1.2.1 #
- Improved API structure and documentation.
- Added interceptors property to Woocommerce class
1.2.2 #
- Fixes issue #23 in category orderby queryParameter.
1.3.0 #
- Fixes issue in getOrders orderby queryParameter.
- Added create, update, delete product category apis.
- Added create, update, delete, duplicate product apis.
1.4.0 #
- Updated dependencies to the latest versions.
1.5.0 #
- Enhanced documentation for WooCommerce API, adding detailed descriptions, usage examples, and JSON serialization for refund, report, tax, and variation models.
- Added comprehensive API documentation with examples for all apis.
1.6.0 #
- Added batch update API for product shipping classes with
batchUpdateProductShippingClasses()method. - Added batch update API for product reviews with
batchUpdateProductReviews()method. - Added batch update API for tax rates with
batchUpdateTaxRates()method. - Added batch update API for webhooks with
batchUpdateWebhooks()method. - Added batch update API for settings options with
batchUpdateSettingOptions()method. - Created batch request and response models for all new batch APIs:
WooProductShippingClassBatchRequestandWooProductShippingClassBatchResponseWooProductReviewBatchRequestandWooProductReviewBatchResponseWooTaxRateBatchRequestandWooTaxRateBatchResponseWooWebhookBatchRequestandWooWebhookBatchResponseWooSettingOptionBatchRequestandWooSettingOptionBatchResponse
- Enhanced batch API documentation with comprehensive usage examples, best practices, and workflow guides.
- Improved API structure for bulk operations across multiple WooCommerce resources.