Releases: in2code-de/in2publish_core
Releases · in2code-de/in2publish_core
12.5.5 Bugfixes & Improvements
⏫ Improvements
- Search in Publish File Modul is now case-insensitive (thx to @dreistromlandMf )
🐛 Fixes
- Filters in Publish Files Module work again
- Cache Clear Task is fixed
- Relations made in FlexForms are now resolved
- CompareDatabaseTool produces correct FlashMessages
Full Changelog: 12.5.4...12.5.5
12.5.4 Small Bugfixes
🐛 Fixes
- Log Level for Messages in Backend is evaluated correct
- Logging in Foreign Commands can be done now
Full Changelog: 12.5.3...12.5.4
12.5.3 MM Records to excluded tables publishing
✨ Features
- MM records that point to excluded tables are now published, but the excluded table won't be published anyway.
🐛 Fixes
- Images uploaded with the RTE are now published
- The Commands on Foreign are using now the correct logger for errors
- Links in an 'inputLink' field in TCA are now followed and published.
12.5.2 Fix 503 errors in backend
🐛 Fixes
- Preview URL in Redirects Support is now correctly rendered
- If there are orphaned MM records the record will be skipped
Full Changelog: 12.5.1...12.5.2
12.5.1 Fix Redirects Handling
🐛 Fixes
- Domain of foreign is correctly set to the published redirect
- Publishing state of redirect is correctly shown in Backend
Full Changelog: 12.5.0...12.5.1
12.5.0 Debug option and publishing logs
✨ Features
- Field information can be displayed in debug mode to obtain details about publishing capabilities in the form engine.
- With the SiteService, all URLs from foreign can now be retrieved.
- Publishing events are now logged in the sys_log.
⏫ Improvements
- Rework the use of RecordIndex & RecordCollection to use less memory.
- Support of mm tables with primary keys.
🐛 Fixes
- Fixed some PHP7.4 issues that arose while adding support for PHP8.
- Use a case-insensitive method in queries (thanks to YKWeyer).
- Remove page relations from pages.
- Overview module now correctly shows deleted records.
- Adds a workaround for a TYPO3 Core Bug in Extbase backend modules.
- Removes require.js from the frontend.
- Filter in "Publisher Redirects Module" is working again.
- Publish record translations with the default language.
12.4.0 Conditional event listener
✨ Features
- Extended the Redirects Module Filter by a filter to select publishable or non-publishable redirects
- Implemented conditional event listener. This extends TYPO3 event listener by the possibility to register event listeners based on conditions which will be evaluated just once. This reduces the amount of method calls by hundrets to thousands.
🐛 Fixes
- Moving a file into a new folder and publishing it will ensure that the target folder exists before moving the file into it.
- Fixed an exception in TYPO3 v12. After a redirect was published, the browser redirect was not returned. The publishing itself was not broken.
- Fixed the "content injection", where trhe Content Publisher added HTML tags to responses other than text/html
- Reverted the upgrade to
ContextualFeedbackSeverity
to repair TYPO3 v11 compatibility - Changed formatting of record values to display a human readable value for boolean values and select boxes
- Added a missing namespace import to fix fluid rendering exception
⏫ Improvements
- Implemented co-stack/stack-test as acceptance test framework. Moved all codeception acceptance tests from the development environment to the extension and added GitHub Actions configuration to run all tests on each push.
- Added a lot of Unit, Functional and Acceptance tests.
11.0.9 Legacy file link deetction in RichText
- Parse legacy links to files as strictly as possible, resolves #111, reported by @YKWeyer
- Do not attach
sys_redirects
to pages of redirects are excluded from publishing
Full Changelog: 11.0.8...11.0.9
12.3.0 (12.3.1) TYPO3 v12 compatibility
30 days, 242 changed files and 10k+ changed lines, we proudly release in2publish_core v12.3.0 which is now compatible with TYPO3 v12
🎉 Features
(Of course these features include a long list of changes, fixes, workarounds, cosmetic corrections, updates, backports, etc, which are not listed here for the sake of brevity)
- Support for TYPO3 v12
- Support for TCA type
file
- Support for TCA type
link
- Support for TCA type
- Support for PHP 8.1 & 8.2
Changes
Admins
- ❗ Action is required The YAML parser used to parse the configuration was replaced with the one already shipped with TYPO3 (symfony/yaml). That package handles YAML lists quite differently. Please refer to the changelog file for this specific change.
- ✨ Cosmetic upgrade for the Publish Tools Module (good job, @dhoffmann1979 !)
- Remove the integration for co-stack/logs. You can use the extension's module without any loss of functionality on its own.
Developers
- Logged Queries (ExtConf
basic.debugQueries
) are now ordered by how often they occurred - Logged Queries (ExtConf
basic.debugQueries
) display the total duration of all queries - Logged Queries (ExtConf
basic.debugQueries
) are displayed in a new tab for each request - in2publish_core defines two namespaced constants
In2code\In2publishCore\{TYPO3_V11,TYPO3_V12}
. They are not considered public API. - New demands and resolvers (yes, they are public API 😏):
FolderDemand
,FoldersInFolderDemand
,FilesInFolderDemand
. If you don't know what demands are in in2publish_core, have a look at Concept and ResolveYourOwnRelations - New Record type
StorageRootFolderRecord
. It does what it says (It's just a folder when using the local driver, but that's very picky now, isn't it?)
General
- The PreProcessing of the TCA is now cached, which reduces the overhead in2publish_core puts onto TYPO3 by a few thousand method/function calls, which result in less computing time and resource consumption (It's now faster and eco friendly 💚 without any drawback)
- The LoadingOverlay and ConfirmationModal is now available in all modules where the path begins with
InjectLoadingOverlayMiddleware::SUPPORTED_PATHS
. You can use the loading overlay and confirmation modal JS, but it is not considered public API and may change without prior notice.
🐛 Bugfixes
Editors
- You will be redirected to the previous page after publishing. This did not work reliably before when publishing single records or translations.
Admins
- The setting
ignoredFields.ctrl.versioningWS
works again
Developers
- Collection and debugging of Content Publisher queries in the backend had an issue where a portion of logged queries was lost.
- TcaService::getTablesAllowedOnPage and TcaService::getAllAllowedTableNames are now TYPO3 version specific implementations that are injected. Use the interface
In2code\In2publishCore\Service\Configuration\PageTypeService
instead. - Removed the
BackendRouteInitialization
andExtTablesPostProcessingEvent
. If you used them you have to create your own middleware instead (which always was the better option 😉) - It is not allowed to call
PublisherService::publishRecordTree
directly anymore. Calling it will trigger a deprecation. UsePublisherService::publish
instead. The method will be made protected/private in in2publish_core v13.
Internal
- Replaced
tx_in2publishcore_filepublisher_task
withtx_in2publishcore_filepublisher_instruction
in the list of default excluded tables - Added
tx_in2publishcore_filepublisher_instruction
the the list of required tables - The function bar in the publish files module will not be shown anymore if publishing is not available
- Fixed Unit Tests for new PublishFileInstructions
- Introduced a 2-level cache to prevent multiple cache misses and cache queries
- The exception
CacheableValueCanNotBeGeneratedException
now inherits from the in2publish_core base exception, not from the enterprise edition base exception - Reduced memory footprint by omitting resolver metdadata not required by any code
- The Publish Tools Module Icon is now registered as icon
in2publish-core-tools-module
and can be used everywhere - The
PageTsProvider
is now a singleton as unlocking it had no effect, as the property change does not affect different instances of the class - Don't require
typo3conf
to be an existing folder when testing the foreign document root - Removed outdated an outdated overlay HTML container
- Consecutive publications in a single process will not fail miserably anymore
- Correctly calculate the state and recursive state of folder records by including any record but other files and folders
12.2.0 New demand types, config container services, form framework support, etc.
⚡ Features
- Form Framework plugins are now supported. If a form from fileadmin is used in a content element, the file will be published with the form plugin element.
- The feature treatRemovedAndDeletedAsDifference is now implemented again under the new name feature.hideRecordsDeletedDifferently. It shows records deleted on foreign and removed on local and vice versa if feature is disabled (default = enabled)
- New Styling for Badges in Publish Files Module
↕️ Changes (for Admins)
- Changed behavior: The Content Publisher will now only publish the selected page excluding translations and translated content.
- Files starting with a dot (hidden files) are skipped by the Publish Files Module
- Some configurations are moved in a more structure way. Please consider the Publish Tools Module to bring your configuration file up to date. Also, have a look at
LocalConfiguration.yaml.example
- The Preview & Compare Butttons are shown again in the overview module
- You can now use
ignoredFields.[table|*].ctrl.enablecolumns
to ignore changes in all fields which define the visibility of a content element
🔩 Changes and Deprecations (for Developers)
- The Dependency Modal, which displays unfulfilled dependencies is now reusable by other developers
- The content recursion limit can now be set in the RecordTreeBuildRequest
- New Event
RecordWasSelectedForPublishing
- New Event
RecordWasPublished
- Add configuration option to add a timeout after file transmission in order to restore file transmission on slow file systems (for Mac users)
- New Demand Types: It's now possible to create
custom Demand types
, which can be used to resolve relations to records which are not selectable with the existing demands. - Config Container Services: All Config Container parts (Definer, Provider, PostProcessor, Migrations) will be automatically registered via Services if they implement the new service interfaces.
- Event
PublishingOfOneRecordBegan
is deprecated, useRecordWasPublished
instead. - Event
PublishingOfOneRecordEnded
is deprecated, useRecordWasPublished
instead. - Anemic
TcaService Methods
are deprecated
🐛 Fixes
- Respect TCA type category relationship setting. Categories attached to records will be published
- Replace deprecated (PHP 8.1) function strftime with date
- Publishing Overlay is shown again
- Running Request are now splitted up into chunks to prevent timeouts
- Publish File Module shows the correct state of files now
- Prevent exceptions when legacy adapters extend SshConnectionDefiner
- Respect allowLanguageSynchronization behaviour when defining visibility dependencies
- Some labels are corrected and inform the user now in a more detailed way
- Publish File Module now show identifiers for moved files.
- Corrects SSH Adapter
- After publishing the correct event is now dispatched
RecordWasPublished
❓ Further information
- The branching of the extension was updated. Previously, the main development was done in the branch develop-v12, this is now only called develop. The same applies to the master branches. The older TYPO3-vX branches have been renamed and are now called master-vX.
Full Changelog: 12.1.0...12.2.0