Skip to content

Latest commit

 

History

History
323 lines (257 loc) · 26.9 KB

RELEASE_NOTES.md

File metadata and controls

323 lines (257 loc) · 26.9 KB

Release Notes

v1.0.0-M10 - Feb 13, 2018

Commits | Javadoc | Jar

New Features (1)

Changes (3)

  • Commons - Statistics counters are now of type AtomicInteger instead of int to support conccurency. #242
  • Category Sync - categoryKeysWithMissingParents in the CategorySyncStatistics is now of type ConcurrentHashMap<String, Set<String> instead of Map<String, List<String>. #242
  • Category Sync - CategorySyncStatistics now exposes the methods removeChildCategoryKeyFromMissingParentsMap, getMissingParentKey and putMissingParentCategoryChildKey to support manipulating categoryKeysWithMissingParents map. #242

v1.0.0-M9 - Jan 22, 2018

Commits | Javadoc | Jar

New Features (1)

  • Commons - Added getSyncOptions to the ProductSync, CategorySync and InventorySync. #230

Changes (1)

  • Product Sync - Added validation for product drafts' SKUs as a required field on the input product drafts since SKUs will be used for product matching in the future. #230

Enhancements (1)

  • Product Sync - Changed the product sync to cache product ids per batch as opposed to caching the entire products ids before syncing products. #230

Bug Fixes (1)

  • Commons - Fixed library version in User-Agent headers of JVM SDK clients using the library. Now it is not fetched from the JAR manifest but injected by gradle-scripts/set-release-version.gradle. #227

v1.0.0-M8 - Dec 29, 2017

Commits | Javadoc | Jar

New Features (1)

  • Category Sync - Exposed new method CategorySyncStatistics#getNumberOfCategoriesWithMissingParents which gets the total number of categories with missing parents from the statistics instance. #186

Changes (2)

  • Product Sync - Changed product sync statistics report message wording. #186
  • Product Sync - Exposed new methods ProductReferenceResolver#resolveStateReference, ProductReferenceResolver#resolveTaxCategoryReference, ProductReferenceResolver#resolveCategoryReferences and ProductReferenceResolver#resolveProductTypeReference. #218

Enhancements (1)

  • Build Tools - Bumped Gradle to version 4.4. #205

v1.0.0-M7 - Dec 15, 2017

Commits | Javadoc | Jar

Bug Fixes (1)

  • Commons - Changed offset-based pagination of querying all elements to a limit-based with sorted ids approach to mitigate problems of previous approach. #210

v1.0.0-M6 - Dec 5, 2017

Commits | Javadoc | Jar

New Features (3)

  • Category Sync - Introduced beforeCreateCallback option which is callback applied on a category draft before a request to create it on CTP is issued. #183
  • Product Sync - Introduced beforeCreateCallback option which is callback applied on a product draft before a request to create it on CTP is issued. #183
  • Inventory Sync - Introduced beforeCreateCallback option which is callback applied on a inventoryEntry draft before a request to create it on CTP is issued. #183

Major Enhancements (2)

  • Category Sync - Introduced batching on update action requests to allow for requesting updates of more than 500 actions. #21
  • Product Sync - Introduced batching on update action requests to allow for requesting updates of more than 500 actions. #21

Bug Fixes (1)

  • Commons - Fixed library version in User-Agent headers of JVM SDK clients using the library. #191

Documentation (1)

Migration guide (6)

  • Product Sync - Removed removeOtherVariants option which is already done by the sync by default. Removal of variants can be prevented through the beforeUpdateCallback. Please check here an example of how this can be done. #26
  • Commons - Removed removeOtherSetEntries, removeOtherCollectionEntries and removeOtherProperties options which are already done by the sync by default. The aforementioned options (and even more use cases) can now be covered with help of the beforeCreateCallback and beforeUpdateCallback. Please check here an example of how removal of variants can be disabled. #26
  • Commons - Removed website and emergency contact e-mail appened in User-Agent headers of JVM SDK clients using the library. #191
  • Category Sync - beforeUpdateCallback now treats a null return as an empty list of update actions. #183
  • Product Sync - beforeUpdateCallback now treats a null return as an empty list of update actions. #183
  • Inventory Sync - beforeUpdateCallback now treats a null return as an empty list of update actions. #183

v1.0.0-M5 - Nov 16, 2017

Commits | Javadoc | Jar

New Features (3)

  • Inventory Sync - Introduced beforeUpdateCallback which is applied after generation of update actions and before actual InventoryEntry update. #169
  • Build Tools - Added Add Release Notes entry checkbox in PR template on Github repo. #161
  • Commons - Appended library name and version to User-Agent headers of JVM SDK clients using the library. #142

Enhancements (3)

  • Commons - setUpdateActionsCallback has been renamed to beforeUpdateCallback and now takes a TriFunction instead of Function, which adds more information about the generated list of update actions, namely, the old resource being updated and the new resource draft. #169
  • Build Tools - Explicitly specified gradle tasks execution order in execution-order.gradle. #161
  • Build Tools - Set PMD to run before Integration tests. #161

Build Tools (1)

  • Commons - Appended library name and version to User-Agent headers of JVM SDK clients using the library. #142

Doc Fixes (1)

  • Build Tools - Added Snyk vulnerabilities badge to repo README. #188

Migration guide (8)

  • Commons - Renamed setUpdateActionsCallback to beforeUpdateCallback. #169
  • Commons - Renamed setAllowUuid to allowUuid. #169
  • Commons - Renamed setWarningCallBack to warningCallback. #169
  • Commons - Renamed setErrorCallBack to errorCallback. #169
  • Commons - Renamed setBatchSize to batchSize. #169
  • Commons - Removed setRemoveOtherLocales option. #169
  • Commons - Renamed setRemoveOtherSetEntries, setRemoveOtherCollectionEntries and setRemoveOtherProperties to removeOtherSetEntries, removeOtherCollectionEntries and removeOtherProperties. #169
  • Product Sync - Renamed setSyncFilter to syncFilter. #169

v1.0.0-M4 - Nov 7, 2017

Commits | Javadoc | Jar

Hotfix (1)

  • Product Sync - Fixed an issue with replaceAttributesReferencesIdsWithKeys which nullifies localized text attributes due to JSON parsing not throwing exception on parsing it to reference set. #179

v1.0.0-M3 - Nov 3, 2017

Commits | Javadoc | Jar

New Features (7)

  • ProductSync - Introduced Product TaxCategory reference resolution and syncing. #120.
  • ProductSync - Introduced Product State reference resolution and syncing. #120.
  • ProductSync - Exposed ProductReferenceReplacementUtils#buildProductQuery util to create a product query with all needed reference expansions to fetch products from a source CTP project for the sync. #120.
  • ProductSync - Exposed VariantReferenceReplacementUtils#replaceVariantsReferenceIdsWithKeys which provides utils to replace reference ids with keys on variants (price and attriute references) coming from a source CTP project to make it ready for reference resolution. #160.
  • ProductSync - Exposed VariantReferenceResolver which is a helper that resolves the price and attriute references on a ProductVariantDraft. (Note: This is used now by the already existing ProductReferenceResolver) #160.
  • CategorySync - Exposed CategoryReferenceReplacementUtils#buildCategoryQuery util to create a category query with all needed reference expansions to fetch categories from a source CTP project for the sync. #120.
  • Commons - Exposed replaceCustomTypeIdWithKeys and replaceReferenceIdWithKey. #120.

Bug Fixes (1)

  • Category Sync - Fixes an issue where retrying on concurrent modification exception wasn't re-fetching the latest Category and rebuilding build update actions. #94

Doc Fixes (6)

  • Product Sync - Documented the reason behind having the latest batch processing time. #119
  • Category Sync - Documented the reason behind having the latest batch processing time. #119
  • Category Sync - Fixed the statistics summary string used in the documentation. #119
  • Inventory Sync - Documented the reason behind having the latest batch processing time. #119
  • Product Sync - Fixed some typos. #172
  • Commons - Provided inline example of how to use logging in callbacks. #172

Migration guide (9)

  • Product Sync - Moved replaceProductsReferenceIdsWithKeys from SyncUtils to ProductReferenceReplacementUtils. #120
  • Product Sync - Removed replaceProductDraftsCategoryReferenceIdsWithKeys which is not needed anymore. #120
  • Product Sync - Removed replaceProductDraftCategoryReferenceIdsWithKeys which is not needed anymore. #120
  • Product Sync - Removed replaceCategoryOrderHintCategoryIdsWithKeys which is not needed anymore. #120
  • Product Sync - Moved getDraftBuilderFromStagedProduct from SyncUtils to ProductReferenceReplacementUtils. #120
  • Category Sync - Moved replaceCategoriesReferenceIdsWithKeys from SyncUtils to CategoryReferenceReplacementUtils. #120
  • Inventory Sync - Moved replaceInventoriesReferenceIdsWithKeys from SyncUtils to InventoryReferenceReplacementUtils. #120
  • Commons - Removed slf4j-simple dependency. #172
  • Commons - Used implementation instead of compile configuration for dependencies. #172

v1.0.0-M2 - Oct 12, 2017

Commits | Javadoc | Jar

New Features (3)

  • Product Sync - Supported syncing entire product variant images, putting order into consideration. #114
  • Product Sync - Exposed ProductVariantUpdateActionUtils#buildProductVariantImagesUpdateActions and ProductVariantUpdateActionUtils#buildMoveImageToPositionUpdateActions action build util. #114
  • Product Sync - Supported Blacklisting/Whitelisting update action groups on sync. #122

Bug Fixes (4)

  • Build Tools - Fixed issue were JavaDoc jar was not built. #117
  • Build Tools - Fixed issue were JavaDoc was not published on github. #118
  • Product Sync - Fixed a potential bug where an exisitng master variant key could be blank.#122
  • Product Sync - Fixed a potential bug where a product draft could be provided with no master variant set. #122

Enhancements (2)

  • Build Tools - Integration tests project credentials can now be set on a properties file not only as environment variables and give error messages if not set. #105
  • Product Sync - Validated the SKU before making a ChangeMasterVariant request by SKU. #122

Doc Fixes (5)

  • Build Tools - Added bintray badge to repo. #126
  • Product Sync - Added usage documentation. #121
  • Commons - Separated contributing README into own README not in the main one. #121
  • Commons - Added release notes doc. #125
  • Build Tools - Added JavaDoc badge to repo. #145

v1.0.0-M2-beta - Sep 28, 2017

Commits | Jar

Beta Features (11)

  • Product Sync - Introduced syncing products name, categories, categoryOrderHints, description, slug, metaTitle, metaDescription, metaKeywords, masterVariant and searchKeywords. #57
  • Product Sync - Exposed update action build utils for products name, categories, categoryOrderHints, description, slug, metaTitle, metaDescription, metaKeywords, masterVariant and searchKeywords. #57
  • Product Sync - Introduced reference resolution support for product categories, productType and prices. #95 #96
  • Product Sync - Introduced syncing products publish state. #97
  • Product Sync - Exposed update action build utils for products publish state. #97
  • Product Sync - Introduced syncing products variant attributes. #98
  • Product Sync - Exposed update action build utils for products variant attributes. #98
  • Product Sync - Introduced syncing products variant prices without update action calculation. #99
  • Product Sync - Introduced syncing products variant images. #100
  • Product Sync - Exposed update action build utils for products variant images. #100
  • Product Sync - Introduced syncing products against staged projection. #93

v1.0.0-M1 - Sep 06, 2017

Commits | Javadoc | Jar

New Features (16)

  • Category Sync - Introduced syncing category name, description, orderHint, metaDescription, metaTitle, customFields and parent category. #2
  • Category Sync - Exposed update action build utils for category name, description, orderHint, metaDescription, metaTitle, customFields and parent category. #2
  • Category Sync - Introduced sync options builders. #5
  • Category Sync - Introduced support of syncing categories in any order. #28
  • Category Sync - Added concurrency modification exception repeater. #30
  • Category Sync - Used category keys for matching. #45
  • Category Sync - Introduced reference resolution support. #47
  • Category Sync - Introduced Batch processing support. #73
  • Category Sync - Added info about missing parent categories in statistics. #73
  • Commons - Introduced sync statistics support. #6
  • Commons - Sync ITs should now use client that repeats on 5xx errors. #31
  • Commons - Sync only accepts drafts. #46
  • Build Tools - Travis setup as CI tool. #1
  • Build Tools - Setup Bintray release and publising process. #24
  • Build Tools - Setup CheckStyle, PMD, FindBugs, Jacoco and CodeCov. #25
  • Build Tools - Setup repo PR and issue templates. #29

Beta Features (5)

  • Inventory Sync - Introduced syncing inventory supplyChannel, quantityOnStock, restockableInDays, expectedDelivery and customFields. #17
  • Inventory Sync - Exposed update action build utils for inventory supplyChannel, quantityOnStock, restockableInDays, expectedDelivery and customFields. #17
  • Inventory Sync - Introduced sync options builder support. #15
  • Inventory Sync - Introduced reference resolution support. #47
  • Inventory Sync - Introduced batch processing support. #73