This repository was archived by the owner on Mar 5, 2021. It is now read-only.
Releases: commercetools/sphere-play-sdk
Releases · commercetools/sphere-play-sdk
Content-Length Header
With this release we ensured that we sent the mandatory (according to HTTP standard) header "Content-Length" when requesting the OAuth token.
v0.71.0
v0.70.0
- The product search allows String parameters and product attributes for the sort configuration.
libraryDependencies += "io.sphere" %% "sphere-play-sdk" % "0.70.0" withSources()v0.68.0
v0.67.0
v0.66.0
v0.65.0
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies += "io.sphere" %% "sphere-play-sdk" % "0.65.0" withSources()- reference expansion for product discounts added
Discounts
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies += "io.sphere" %% "sphere-play-sdk" % "0.63.0" withSources()- added getter for discounted price
final Product product = fetchProductSomeHow();
final Money oldPrice = product.getPrice().getValue();
final Optional<DiscountedPrice> discounted = product.getPrice().getDiscounted();
if (discounted.isPresent()) {
final Money discountedPrice = discounted.get().getValue();
}v0.61.0
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies += "io.sphere" %% "sphere-play-sdk" % "0.61.0" withSources()v0.61.0
- product attribute boolean added
- fix bug with image of width 0
v0.60.0
//only necessary until the maven repo sync is complete
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies += "io.sphere" %% "sphere-play-sdk" % "0.60.0" withSources()
- open model classes for instantiation (for tests):
- Money
- CustomLineItem
- LineItem
- TaxCategory
- TaxRate
- Variant
- VariantAvailability
- Fix Customer/Cart/Product raise exception when not found