Releases: commercetools/commercetools-sunrise-java
Releases · commercetools/commercetools-sunrise-java
v0.23.0
v1.0.0-M7
- [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 yourapplication.conf
accordingly, as well as any configuration file such asdev.conf
andprod.conf
. Other changes include renaming and relocation of different classes such as:CategoryTreeConfiguration
->CategoriesSettings
ProductAttributeSettings
->ProductAttributesSettings
, and renaming of its methodsCategoriesRefreshController
->CategoryTreeRefreshController
- [CHANGE] Moved to
SunriseGuiceApplicationLoader
to packagecom.commercetools.sunrise.play.configuration.SunriseGuiceApplicationLoader
. - [FIX] Payment information in cart is now correctly replaced #636.
v0.22.0
- [NEW] Implemented "Recover/reset password" functionality, with controllers
SunriseRecoverPasswordController
andSunriseResetPasswordController
. - [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
- [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 toPageHtmlContentRenderer
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
v1.0.0-M5
- 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
- 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 aProductListFinderByCategoryWithMatchingVariants
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
v1.0.0-M3
- 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
.
- Support for a navigational category tree instead of the whole tree, which enables the possibility of using the excluded categories for other purposes. Use
- CartFinder does no longer expand
shippingInfo
andpaymentInfo
, for that purpose we added the ControllerComponentsCartShippingInfoExpansionControllerComponent
andCartPaymentInfoExpansionControllerComponent
. - 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 thestore
method, to allow removing automatically the value in session when it no longer exists.
v1.0.0-M2.1
- Fix issue with sign in, which would raise an exception if sign in failed and next it tried to access HTTP Context.