{"action":"published","release":{"url":"https://api.github.com/repos/commercetools/commercetools-sunrise-java/releases/3905450","assets_url":"https://api.github.com/repos/commercetools/commercetools-sunrise-java/releases/3905450/assets","upload_url":"https://uploads.github.com/repos/commercetools/commercetools-sunrise-java/releases/3905450/assets{?name,label}","html_url":"https://github.com/commercetools/commercetools-sunrise-java/releases/tag/v0.10.0","id":3905450,"tag_name":"v0.10.0","target_commitish":"master","name":"","draft":false,"author":{"login":"lauraluiz","id":1917621,"avatar_url":"https://avatars.githubusercontent.com/u/1917621?v=3","gravatar_id":"","url":"https://api.github.com/users/lauraluiz","html_url":"https://github.com/lauraluiz","followers_url":"https://api.github.com/users/lauraluiz/followers","following_url":"https://api.github.com/users/lauraluiz/following{/other_user}","gists_url":"https://api.github.com/users/lauraluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/lauraluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauraluiz/subscriptions","organizations_url":"https://api.github.com/users/lauraluiz/orgs","repos_url":"https://api.github.com/users/lauraluiz/repos","events_url":"https://api.github.com/users/lauraluiz/events{/privacy}","received_events_url":"https://api.github.com/users/lauraluiz/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2016-08-17T13:42:47Z","published_at":"2016-08-17T13:51:17Z","assets":[],"tarball_url":"https://api.github.com/repos/commercetools/commercetools-sunrise-java/tarball/v0.10.0","zipball_url":"https://api.github.com/repos/commercetools/commercetools-sunrise-java/zipball/v0.10.0","body":"## Technical\r\n\r\n- Moved Play extended classes to their own package `com.commercetools.sunrise.play`.\r\n- Checkout's Payment and Shipping pages have been reworked and are now completely integrated in Sunrise Framework:\r\n  - The associated view models are generated via injected factories.\r\n  - The injected factories are using Play Forms instead of own classes.\r\n  - Pages are correctly displaying form errors.\r\n  - Controllers are completely overridable and allow components to be registered.\r\n  - Controllers are following Form structure from Sunrise.\r\n- A cart instance in commercetools platform is now only created when is strictly necessary (i.e. when adding a product to the cart), so no unnecessary carts are generated.\r\n- Removed unused classes `ShippingRateBean`, `ShopShippingRate`, `ProductVariantBeanFactoryInjectless`, `UserFeedback`, `CountryFormFieldBean`, `FormBean` and all its subclasses, plus some `FormUtils` methods that are not needed anymore due to the change of Form handling.\r\n- Renamed `Settings` beans to `SettingsBean` to follow same pattern as other view models.\r\n- All view models are following a uniformed structure and extending from `ModelBean`, which enables dynamic data to be passed.\r\n- Added global [CSRF Filter](https://www.playframework.com/documentation/2.5.x/JavaCsrf) so that a CSRF token is always available and it forces to receive a CSRF token on certain requests without the need of explicitly declare it via `@AddCSRFToken` and `@RequireCSRFToken`.\r\n- Renamed `InfoData`  to `TitleDescriptionBean` to provide a better description of what it contains.\r\n- Reworked Cart related bean classes and factories:\r\n  - Created `MiniCartBeanFactory` to generate `MiniCartBean`\r\n  - `CartLikeBean` and `CartLikeBeanFactory` has been split to `CartBean`/`OrderBean` and `CartBeanFactory`/`OrderBeanFactory` respectively, while `CartLikeBeanFactory` has become an abstract class.\r\n  - `MiniCartLineItemBean` and `MiniCartLineItemBeanFactory` has been renamed to `LineItemBean`and `LineItemBeanFactory` respectively.\r\n  - `LineItemBean` and `LineItemBeanFactory` has been renamed to `LineItemExtendedBean`and `LineItemExtendedBeanFactory` respectively.\r\n  - `LineItemsBean` has been renamed to `LineItemListBean` and replaces `MiniCartLineItemsBean` too.\r\n  - `LineItemsBeanFactory` has been removed and the logic is now in `CartLikeBeanFactory`.\r\n- Fixed memory issue that generated an increasing amount of `SphereClient` instances that could not be garbage collected.\r\n- Fixed another case of Monetary issue."}}
{"actor":{"display_login":"lauraluiz"}}