Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

v1.0.0-M3

Choose a tag to compare

@lauraluiz lauraluiz released this 09 May 15:15
· 79 commits to master since this release
  • Reworked all category tree related features and added some more, such as:
    • Support for a navigational category tree instead of the whole tree, which enables the possibility of using the excluded categories for other purposes. Use @NavigationCategoryTree to inject this category tree.
    • Enabled the possibility to define categoryTree.specialCategories in configuration, which allows to define how the products for that category are searched for (e.g. search for all discounted products for a "On Sale" category). Notice that the normal behaviour is searching products with this category associated.
    • Possibility to exclude from your category tree those categories with no products via configuration categoryTree.discardEmpty. This functionality uses GraphQL.
    • The global category tree is now cached using Play's Cache API, which might require you to configure it. Additionally you can configure its expiration time via configuration categoryTree.cacheExpiration.
    • Provided annotation to reference the @NewCategoryTree instead of having to use @Named.
    • Due to the change of implementation, all category trees (new, navigation) are now being refreshed when the global category tree is refreshed.
    • How categories are sorted on fetching can be configured via categoryTree.sortExpressions.
  • CartFinder does no longer expand shippingInfo and paymentInfo, for that purpose we added the ControllerComponents CartShippingInfoExpansionControllerComponent and CartPaymentInfoExpansionControllerComponent.
  • Products in the catalog section show the correct price for the user's customer group.
  • Fixed bug that showed the "Sign in" button when the user was already logged in (#589).
  • Fixed bug that prevented the product attribute selector from working with certain attribute names (#596).
  • Provided default configuration file reference.conf.
  • SessionStrategy supports a nullable value on the store method, to allow removing automatically the value in session when it no longer exists.