|
| 1 | +`9.0.3 (2025-05-14) <https://github.com/neos/neos-development-collection/releases/tag/9.0.3>`_ |
| 2 | +============================================================================================== |
| 3 | + |
| 4 | +Overview of merged pull requests |
| 5 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 6 | + |
| 7 | +`BUGFIX: Replace skip migrations with simple return <https://github.com/neos/neos-development-collection/pull/5555>`_ |
| 8 | +--------------------------------------------------------------------------------------------------------------------- |
| 9 | + |
| 10 | +If we use the skip migrations feature of doctrine, the migrations never get marked as applied. Which leads to situations, where your migration status will never be clean. So I replaced all skipif with a simple return. |
| 11 | + |
| 12 | +See also: https://github.com/doctrine/migrations/issues/1179 |
| 13 | + |
| 14 | +`BUGFIX: Fix publishing for `Neos.Neos:RestrictedEditor` from 3rd level workspace <https://github.com/neos/neos-development-collection/pull/5546>`_ |
| 15 | +--------------------------------------------------------------------------------------------------------------------------------------------------- |
| 16 | + |
| 17 | +**Changes I made:** |
| 18 | +- ``WorkspacesController``: explicitly define the target workspace for case ``publish`` in ``publishOrDiscardNodesAction()`` |
| 19 | + |
| 20 | +**Why I'm changing this:** |
| 21 | +Our project has a workspace setup like ``Workspace A -> Workspace B -> Live``. Users, who are not allowed to publish to Live (like ``Neos.Neos:RestrictedEditor``) cannot publish nodes with childNodes from Workspace A to Workspace B, because it wrongly assumes that the targetWorkspace for the childNodes is Live. This fix sets the target workspace explicitly to prevent the system from assuming the wrong target workspace. The problem is more fully explained in the linked issue. |
| 22 | + |
| 23 | +resolved: https://github.com/neos/neos-development-collection/issues/5373 |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +* Packages: ``Neos`` |
| 28 | + |
| 29 | +`BUGFIX: Find nodes marked as removed in other dimension <https://github.com/neos/neos-development-collection/pull/5498>`_ |
| 30 | +-------------------------------------------------------------------------------------------------------------------------- |
| 31 | + |
| 32 | +If you delete a node in a workspace that has already been deleted in the workspace in another dimension, the node is not marked as removed in the database. |
| 33 | + |
| 34 | +With this PR, nodes marked as removed are also found in non-live workspaces. |
| 35 | + |
| 36 | +related: `#5031 <https://github.com/neos/neos-development-collection/issues/5031>`_ |
| 37 | + |
| 38 | + |
| 39 | +`BUGFIX: Boot media module flash-messages correctly if rendered outside Neos module <https://github.com/neos/neos-development-collection/pull/5528>`_ |
| 40 | +----------------------------------------------------------------------------------------------------------------------------------------------------- |
| 41 | + |
| 42 | +Solves the bug described in https://github.com/neos/neos-development-collection/issues/5379#issuecomment-2701041702 |
| 43 | + |
| 44 | +Previously only flashmessages in the Default template (e.g. on show) where shown but neither for editing or uploading |
| 45 | + |
| 46 | +Flashmessages in the media module are not shown for all actions if the media module is booted within the Neos ui. |
| 47 | +The current error for ``edit`` or ``new`` action is that ``this.container`` (``#neos-notification-container``) is null and thus no flashmessages can be rendered in the dom: |
| 48 | + |
| 49 | +https://github.com/neos/neos-development-collection/blob/`c7be41ac865e096b62a019f3cf700222834b29f6 <https://github.com/neos/neos-development-collection/commit/c7be41ac865e096b62a019f3cf700222834b29f6>`_/Neos.Neos/Resources/Public/JavaScript/Components/Notification/Toast.ts#L39 |
| 50 | + |
| 51 | +The mentioned container is normally created by js itself as child to ``#neos-application`` |
| 52 | + |
| 53 | +https://github.com/neos/neos-development-collection/blob/`c7be41ac865e096b62a019f3cf700222834b29f6 <https://github.com/neos/neos-development-collection/commit/c7be41ac865e096b62a019f3cf700222834b29f6>`_/Neos.Neos/Resources/Public/JavaScript/Components/Notification/Toast.ts#L24 |
| 54 | + |
| 55 | +But the ``#neos-application`` is only rendered by the Backend Module Index template from Neos: |
| 56 | + |
| 57 | +https://github.com/neos/neos-development-collection/blob/`89d4c84c5640a49867d56592b6def1a2c6e5db0d <https://github.com/neos/neos-development-collection/commit/89d4c84c5640a49867d56592b6def1a2c6e5db0d>`_/Neos.Neos/Resources/Private/Templates/Backend/Module/Index.html#L90 |
| 58 | + |
| 59 | + |
| 60 | +As the Media Ui provides a layout for the case of being rendered in the Neos backend module and for plain rendering as in the neos ui iframe (added via https://github.com/neos/neos-development-collection/pull/2171), the non module layouts must ensure that the shared javascript works by providing the desired dom structure. |
| 61 | + |
| 62 | +- Module/Default.html |
| 63 | +- Module/UploadImage.html |
| 64 | +- Module/EditImage.html |
| 65 | +- Default.html |
| 66 | +- UploadImage.html |
| 67 | +- EditImage.html |
| 68 | + |
| 69 | + |
| 70 | +The flashmessages for ``showAction`` (e.g. default layout) work already in the neos ui as two changes https://github.com/neos/neos-development-collection/pull/5133 and https://github.com/neos/neos-development-collection/pull/5117 provided a fix to make the flashmessages work by ensuring ``<div id="neos-notification-container">`` is present. |
| 71 | + |
| 72 | + |
| 73 | +This pull request extends the fix of providing an ``#neos-notification-container`` container for the ``UploadImage`` and ``EditImage`` template: |
| 74 | + |
| 75 | + |
| 76 | +<img width="1179" alt="image" src="https://github.com/user-attachments/assets/53d17902-a6ae-40f3-8449-0cc7194ae589" /> |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | +**Upgrade instructions** |
| 82 | + |
| 83 | + |
| 84 | +* Packages: ``Media.Browser`` |
| 85 | + |
| 86 | +`BUGFIX: Allow boolean values for hidden properties in nodetype schema <https://github.com/neos/neos-development-collection/pull/5521>`_ |
| 87 | +---------------------------------------------------------------------------------------------------------------------------------------- |
| 88 | + |
| 89 | +This prevents matching warnings in the configuration module or when verifying nodetypes via cli. |
| 90 | + |
| 91 | +* Resolves: `#5520 <https://github.com/neos/neos-development-collection/issues/5520>`_ |
| 92 | + |
| 93 | +* Packages: ``Neos`` |
| 94 | + |
| 95 | +`BUGFIX: Missing flash messages after Dropzone upload in Neos Media Browser <https://github.com/neos/neos-development-collection/pull/5523>`_ |
| 96 | +--------------------------------------------------------------------------------------------------------------------------------------------- |
| 97 | + |
| 98 | +related: https://github.com/neos/neos-development-collection/issues/5522 |
| 99 | + |
| 100 | +**Review instructions** |
| 101 | + |
| 102 | +- Navigate to the Neos Media Browser backend Module |
| 103 | +- Upload an Asset via the Dropzone by either Drag'n Dropping or clicking into the dropzone |
| 104 | + |
| 105 | +* Packages: ``Neos`` ``Media.Browser`` |
| 106 | + |
| 107 | +`TASK: Allow neos/fusion-form in version 3.x to support neos/symfonymailer. <https://github.com/neos/neos-development-collection/pull/5544>`_ |
| 108 | +--------------------------------------------------------------------------------------------------------------------------------------------- |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | +* Packages: ``Neos`` |
| 113 | + |
| 114 | +`Detailed log <https://github.com/neos/neos-development-collection/compare/9.0.2...9.0.3>`_ |
| 115 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
0 commit comments