Skip to content

Releases: commercetools/commercetools-sunrise-java

v0.23.0

19 Oct 09:59
Compare
Choose a tag to compare
  • [CHANGE] ErrorBean class contains the attribute field with ID of the field associated with the error.
  • [CHANGE] Updated to JVM SDK v1.24.0.
  • [CHANGE] Updated to Jackson v2.8.9.

v1.0.0-M7

20 Sep 16:29
Compare
Choose a tag to compare
  • [NEW] Allowed to configure the commercetools client with authentication scopes. Check reference.conf for more information on how to configure them.
  • [NEW] Solution info with information about Sunrise Framework and the version used in the application is being sent in the User-Agent HTTP header information from requests to the commercetools platform.
  • [CHANGE] Provided a better structure for all configuration files related to commercetools entities, i.e. client, products and categories. Check the current structure in reference.conf and adapt your application.conf accordingly, as well as any configuration file such as dev.conf and prod.conf. Other changes include renaming and relocation of different classes such as:
    • CategoryTreeConfiguration -> CategoriesSettings
    • ProductAttributeSettings -> ProductAttributesSettings, and renaming of its methods
    • CategoriesRefreshController -> CategoryTreeRefreshController
  • [CHANGE] Moved to SunriseGuiceApplicationLoader to package com.commercetools.sunrise.play.configuration.SunriseGuiceApplicationLoader.
  • [FIX] Payment information in cart is now correctly replaced #636.

v0.22.0

11 Sep 14:11
Compare
Choose a tag to compare
  • [NEW] Implemented "Recover/reset password" functionality, with controllers
    SunriseRecoverPasswordController and SunriseResetPasswordController.
  • [NEW] Added dependency on Sunrise Java Email API.
  • [NEW] Provided a FakeEmailSender that writes the email into the project folder instead of sending it, useful for development.
  • [CHANGE] Updated to JVM SDK v1.22.0.

v1.0.0-M6

06 Sep 11:56
Compare
Choose a tag to compare
  • [NEW] Implemented "Recover/reset password" functionality.
  • [NEW] Added dependency on Sunrise Java Email API.
  • [NEW] Provided a FakeEmailSender that writes the email into the project folder instead of sending it, useful for development.
  • [CHANGE] HtmlContentRenderer class has been renamed to PageHtmlContentRenderer to let it clear it renders pages (opposite to emails or other kind of content).
  • [FIX] Recovered link to edit address from address book (#633).
  • [FIX] Enabled link to access the product detail page from the wishlist page and the mini-wishlist (#640).
  • [FIX] Removed previously selected page from the search request when clicking on a value from the category faceted search (#639).

v0.21.0

20 Jul 09:49
Compare
Choose a tag to compare
  • Updated JVM SDK to v1.21.0

v1.0.0-M5

23 Jun 13:19
Compare
Choose a tag to compare
  • Provide default configuration for the amount products displayed in the mini-wishlist in reference.conf, so that no explicit configuration is required.
  • Unify class naming and structure between Cart and Wishlist. As consequence several classes and packages were renamed on both sides, which might require some class re-importing in your project. The controllers renamed were:
    • SunriseAddLineItemController -> SunriseAddToCartController
    • SunriseChangeLineItemQuantityController -> SunriseChangeQuantityInCartController
    • SunriseRemoveLineItemController -> SunriseRemoveFromCartController
    • SunriseCartDetailController -> SunriseCartContentController
    • SunriseWishlistController -> SunriseWishlistContentController

If you require a detailed list of the rename changes you can check the PR #627 and #626.

v1.0.0-M4

16 Jun 11:56
Compare
Choose a tag to compare
  • Wishlist functionality implemented. To enable it in your project, you need to add the dependency: "com.commercetools.sunrise" %% "wishlist" % "1.0.0-M4"
  • Change password functionality implemented.
  • Matching variants CTP functionality is disabled everywhere to improve response times. In case you still need this functionality enabled for ProductListFinder, it has been implemented a ProductListFinderByCategoryWithMatchingVariants that can be used instead via injection.
  • Warning regarding payment not being expanded will no longer be logged when no paymentInfo is available #502

v0.20.0

09 Jun 09:15
Compare
Choose a tag to compare
  • Update JVM SDK to v1.19.0

v1.0.0-M3

09 May 15:15
Compare
Choose a tag to compare
  • 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.

v1.0.0-M2.1

25 Mar 23:43
Compare
Choose a tag to compare
  • Fix issue with sign in, which would raise an exception if sign in failed and next it tried to access HTTP Context.