From f098fdd96af4b17e29b0eb13f96162dfaef86c89 Mon Sep 17 00:00:00 2001 From: Daniel Rotter Date: Thu, 28 Jul 2016 17:34:39 +0200 Subject: [PATCH] bumped and built versions --- CHANGELOG.md | 36 ++++++++++++++++++++++++---------- UPGRADE.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++----- composer.json | 4 ++-- composer.lock | 30 ++++++++++++++-------------- 4 files changed, 92 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3988a900b0..144753d31f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ CHANGELOG for Sulu CMF ====================== +* 1.3.0-RC2 (2016-07-28) + * BUGFIX #2692 [PreviewBundle] Fixed the generation of log and cache directory when context is part of path + * BUGFIX #2697 [ContentBundle]  Deindex page after unpublishing + * BUGFIX #2684 [ContentBundle] Disabled options in toolbar item which are not avialable when editing a page + * FEATURE #2689 [ContentBundle] Added functionality to delete a draft + * FEATURE #2559 [CoreBundle] Renamed parameters.yml to parameters.yml.dist so you can use a local version + * BUGFIX #2678 [ContentBundle] Fixed error caused by draft label when opening a ghost page + * BUGFIX #2668 [ContentBundle] Fixed resource locator generation for pages with unpublished parents + * BUGFIX #2675 [ContactBundle] Fixed findGetAll-method of ContactRepository + * ENHANCEMENT #2674 [SearchBundle] Added a WebsiteSearchController + * BUGFIX #2524 [ContactBundle] Fixed contact-serialization for smart-content + * BUGFIX #2632 [ContentBundle] prevent item select when ordering a column (husky) + * BUGFIX #2663 [MediaBundle] made masonry view work for media with no thumbnail + * ENHANCEMENT #2665 [Webspace] Introduced DelegatingFileLoader for webspace configurations + * FEATURE #2669 [RouteBundle] Added is-published method for route-defaults-provider + * 1.3.0-RC1 (2016-07-22) * HOTFIX #2632 [Content] Fix usage of document inspector in StructureBridge * BUGFIX #2655 [MediaBundle] Fixed media selection for none images and selected media list @@ -46,7 +62,7 @@ CHANGELOG for Sulu CMF * BUGFIX #2530 [AdminBundle] Included husky build which fixes the login translation issue * FEATURE #2528 [AdminBundle] Added form-abstraction for simple data-mapper forms * ENHANCEMENT #2526 [SearchBundle] Introduced contexts for indexes to restrict selections - * BUGFIX #2104 [ContentBundle] Show Webspace node on 'copy' and 'move' overlays + * BUGFIX #2104 [ContentBundle] Show Webspace node on 'copy' and 'move' overlays * ENHANCEMENT #2520 [ContentBundle] Delete routes using the DocumentManager * BUGFIX #2523 [SecurityBundle] Fixed error with non-visible permission types in matrix * ENHANCEMENT #2522 [All] Use correct default phpcr session @@ -98,15 +114,15 @@ CHANGELOG for Sulu CMF * BUGFIX #2379 [MediaBundle]  Inject CategoryRepository in MediaManager to avoid using removed constant * BUGFIX #2370 [TestBundle] Use Doctrine DBAL as default PHPCR-Backend * BUGFIX #2369 [All] Install the symfony phpunit bridge again - * ENHANCEMENT #2356 [PreviewBundle] Added default error message - * BUGFIX #2354 [ContentBundle] Fixed javascript error preview is null for new page form + * ENHANCEMENT #2356 [PreviewBundle] Added default error message + * BUGFIX #2354 [ContentBundle] Fixed javascript error preview is null for new page form * ENHANCEMENT #2338 [MarkupBundle] Implemented markup bundle - * FEATURE #2333 [PreviewBundle] Added preview render error templates - * ENHANCEMENT #2353 [WebsocketBundle] Changed configuration to default disable websocket - * BUGFIX #2351 [ContentBundle] Removed strange condition for data-changed + * FEATURE #2333 [PreviewBundle] Added preview render error templates + * ENHANCEMENT #2353 [WebsocketBundle] Changed configuration to default disable websocket + * BUGFIX #2351 [ContentBundle] Removed strange condition for data-changed * BUGFIX #2352 [CoreBundle] Fixed RequestAnalyzer for use with ESI - * FEATURE #2349 [RouteBundle] Added route-bundle - * FEATURE #2299 [PreviewBundle] Implemented preview bundle + * FEATURE #2349 [RouteBundle] Added route-bundle + * FEATURE #2299 [PreviewBundle] Implemented preview bundle * ENHANCEMENT #2289 [ContentBundle] Added display options support to date content type * ENHANCEMENT #2316 [Symfony] Added collector compiler pass * ENHANCEMENT #2279 [Webspace] Do not hide invalid webspace exceptions @@ -143,7 +159,7 @@ CHANGELOG for Sulu CMF * HOTFIX #2498 [TestBundle] Fixed TestUserProvider to create accounts with repository to support sulu inheritance * BUGFIX #2389 [MediaBundle] Removed twice adding of navigation item - * HOTFIX #2481 [WebsiteBundle] Fixed handling of non-default formats in error pages + * HOTFIX #2481 [WebsiteBundle] Fixed handling of non-default formats in error pages * HOTFIX #2467 [MediaBundle] Fixed media-selection-overlay missing locale * HOTFIX #2460 [MediaBundle] Fixed deprecation of getEntityManager in MediaPreviewController * HOTFIX #2454 [MediaBundle] Fixed inset image scale image-size 0 @@ -162,7 +178,7 @@ CHANGELOG for Sulu CMF * HOTFIX #2376 [ContentBundle] Added cleanup for structure reindex provider * HOTFIX #2382 [ResourceBundle] Added column definitions to resource-bundle * HOTFIX #2384 [WebsiteBundle] Added condition to custom-routes to match only full-matches - + * 1.2.2 (2016-05-09) * HOTFIX #2375 [SecurityBundle] Fixed visibility of entries in language dropdown * ENHANCEMENT #2373 [MediaBundle] Added batch indexing for medias diff --git a/UPGRADE.md b/UPGRADE.md index 1126176f72..85a9af5627 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,5 +1,49 @@ # Upgrade +## 1.3.0-RC2 + +### SearchController + +The `SearchController` has been moved from sulu-standard to sulu. Therefore the +new template type `search` has been introduced. Just define the twig template +you want to use for the search in your webspace configuration: + +```xml + + + +``` + +The name of the route also changed from `website_search` to +`sulu_search.website_search`, because the controller is located in the +SuluSearchBundle now. + +### Webspace Configuration + +The configuration schema for webspaces has changed. Instead of +`error-templates` you have to define `templates` now with a certain type. +For the error templates this type is `error` for the default error, and +`error-` for certain error codes. + +Before: +```xml + + SomeBundle:view:error404.html.twig + SomeBundle:view:error.html.twig + +``` + +After: +```xml + + + + +``` + +This change only affects the files which use the 1.1 version of the webspace +schema definition. + ## 1.3.0-RC1 ### PHPCR @@ -22,7 +66,7 @@ The `orderBefore` method of the `NodeRepository` has been removed. Use the ### LocalizationProvider The core LocalizationProvider (which provided the system locales) got removed. At this point the WebspaceLocalizationProvider is the -only LocalizationProvider in Sulu. If the system locales +only LocalizationProvider in Sulu. If the system locales (locales in which translations for the admin panel are available) are needed, please refer directly to the config `sulu_core.translations`. @@ -112,22 +156,22 @@ indexed as title, although this value was already the default: ### Webspaces -We have deprecated (1.0) the schema for webspaces and created a new version (1.1) of it. +We have deprecated (1.0) the schema for webspaces and created a new version (1.1) of it. ``` - + ... - + ``` You should update your webspace.xml files soonish. To do that you simply have to move the `default-templates` and `error-templates` from the `theme` node and put it into the `webspace` node after the `theme`. - + The theme is now optional and can be used with a theme-bundle. Sulu has extracted this functionality to make it replaceable with any theming bundle you want. To keep the old directory-structure and functionality please read the next part of this file. diff --git a/composer.json b/composer.json index 77f7e24d24..3aecf2d747 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "license": "MIT", "type": "project", "description": "The sulu content management framework", - "version": "1.3.0-RC1", + "version": "1.3.0-RC2", "autoload": { "psr-0": { "": "src/" @@ -23,7 +23,7 @@ "sensio/distribution-bundle": "~5.0", "sensio/framework-extra-bundle": "^3.0.2", "incenteev/composer-parameter-handler": "~2.0", - "sulu/sulu": "dev-develop", + "sulu/sulu": "1.3.0-RC2", "sulu/theme-bundle": "1.0.*", "sulu/document-manager": "@dev", "symfony-cmf/core-bundle": "1.2.*", diff --git a/composer.lock b/composer.lock index 81b8bce1e5..4756c44ae8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "01836330fae02b3d71279fa2916e1fe0", - "content-hash": "2455b57c1626fa202ff00422ca68fa72", + "hash": "07d1c066bf8cc6fd5855ec12c43bf0fb", + "content-hash": "38c9bc4ab9b7fbd1732ba5efbf308dce", "packages": [ { "name": "aferrandini/urlizer", @@ -3818,16 +3818,16 @@ }, { "name": "sulu/document-manager", - "version": "0.7.0", + "version": "0.8.0", "source": { "type": "git", "url": "https://github.com/sulu/sulu-document-manager.git", - "reference": "36122b0e5ffe22db0c0cd37a550dbdb49b9e69eb" + "reference": "279523631b32df61a1582a25f73530a29dcf9535" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sulu/sulu-document-manager/zipball/36122b0e5ffe22db0c0cd37a550dbdb49b9e69eb", - "reference": "36122b0e5ffe22db0c0cd37a550dbdb49b9e69eb", + "url": "https://api.github.com/repos/sulu/sulu-document-manager/zipball/279523631b32df61a1582a25f73530a29dcf9535", + "reference": "279523631b32df61a1582a25f73530a29dcf9535", "shasum": "" }, "require": { @@ -3861,20 +3861,20 @@ } ], "description": "Sulu Document Manager", - "time": "2016-07-21 12:46:37" + "time": "2016-07-28 14:42:06" }, { "name": "sulu/sulu", - "version": "dev-develop", + "version": "1.3.0-RC2", "source": { "type": "git", "url": "https://github.com/sulu/sulu.git", - "reference": "338dcf15ba150bfc1e147da8bc3715fd762944de" + "reference": "cea1bf22e5fb6395323a56b483ef516000594460" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sulu/sulu/zipball/338dcf15ba150bfc1e147da8bc3715fd762944de", - "reference": "338dcf15ba150bfc1e147da8bc3715fd762944de", + "url": "https://api.github.com/repos/sulu/sulu/zipball/cea1bf22e5fb6395323a56b483ef516000594460", + "reference": "cea1bf22e5fb6395323a56b483ef516000594460", "shasum": "" }, "require": { @@ -3895,7 +3895,7 @@ "pulse00/ffmpeg-bundle": "^0.6", "sensio/framework-extra-bundle": "3.0.*", "stof/doctrine-extensions-bundle": "1.1.*", - "sulu/document-manager": "0.7.*", + "sulu/document-manager": "0.8.0", "symfony-cmf/routing-bundle": "1.2.*", "symfony/swiftmailer-bundle": "~2.3", "symfony/symfony": "~2.8.7", @@ -3969,7 +3969,7 @@ "core", "sulu" ], - "time": "2016-07-27 08:59:31" + "time": "2016-07-28 15:30:18" }, { "name": "sulu/theme-bundle", @@ -4180,7 +4180,7 @@ ], "authors": [ { - "name": "Symfony CMF community", + "name": "Symfony CMF Community", "homepage": "https://github.com/symfony-cmf/Routing/contributors" } ], @@ -6334,7 +6334,7 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { - "sulu/sulu": 20, + "sulu/sulu": 5, "sulu/document-manager": 20, "zendframework/zendsearch": 20, "massive/search-bundle": 20,