From 34dff294ea92d72bb4bc8738723ce58f88f38d0a Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 8 Dec 2021 09:06:57 +0100 Subject: [PATCH] Add proper Changelog to documentation from now on --- Documentation/ChangeLog/Index.rst | 16 ------------- Documentation/Changelog.rst | 10 +++++++++ Documentation/Changelog/2.1.0.rst | 37 +++++++++++++++++++++++++++++++ Documentation/Index.rst | 2 +- 4 files changed, 48 insertions(+), 17 deletions(-) delete mode 100644 Documentation/ChangeLog/Index.rst create mode 100644 Documentation/Changelog.rst create mode 100644 Documentation/Changelog/2.1.0.rst diff --git a/Documentation/ChangeLog/Index.rst b/Documentation/ChangeLog/Index.rst deleted file mode 100644 index 4972785..0000000 --- a/Documentation/ChangeLog/Index.rst +++ /dev/null @@ -1,16 +0,0 @@ -.. ================================================== -.. FOR YOUR INFORMATION -.. -------------------------------------------------- -.. -*- coding: utf-8 -*- with BOM. - -.. include:: ../Includes.txt - - -.. _changelog: - -ChangeLog -========= - -Providing a change log chapter is optional. You can also refer -users to the ChangeLog file inside the extension or to some repository's -commit listing. diff --git a/Documentation/Changelog.rst b/Documentation/Changelog.rst new file mode 100644 index 0000000..f9596fe --- /dev/null +++ b/Documentation/Changelog.rst @@ -0,0 +1,10 @@ +.. _changelog: + +Changelog +========= + +.. toctree:: + :glob: + :reversed: + + Changelog/* diff --git a/Documentation/Changelog/2.1.0.rst b/Documentation/Changelog/2.1.0.rst new file mode 100644 index 0000000..0b7cbf0 --- /dev/null +++ b/Documentation/Changelog/2.1.0.rst @@ -0,0 +1,37 @@ +2.1.0 +===== + +Breaking +-------- + +Nothing + +Features +-------- + +* ``DateDemandFactory`` supports TypoScript ``stdWrap`` on all settings on first level. + +* New option ``queryCallback`` for ``DateDemand`` was added. + This option allows to define a callback in TYPO3 way (e.g. function, closure or method ``->``). + This receives the ``DateRepository`` as well as the current ``QueryInterface`` to alter query after it was created based on the ``DateDemand``. + +Fixes +----- + +* ``DateRepository`` now properly fetches ``Date`` if no ``start`` and no ``end`` was given. + It fetched only upcoming ``Date`` beforehand. + It will now fetch all ``Date`` where either the start OR end is in future. + That way also currently active ``Date`` are returned. + Converting default from "future" to "running and future". + +Tasks +----- + +* Moved creation of ``DateDemand`` out of ``DateController`` into a new ``DateDemandFactory``. + That allows re use of creation from settings. + This also streamlines creation with ``EventDemand`` and ``EventDemandFactory``. + +Deprecation +----------- + +Nothing diff --git a/Documentation/Index.rst b/Documentation/Index.rst index 178e8db..695d0e2 100644 --- a/Documentation/Index.rst +++ b/Documentation/Index.rst @@ -60,5 +60,5 @@ DD Events Developer/Index KnownProblems/Index ToDoList/Index - ChangeLog/Index + Changelog Links