Skip to content

Releases: phantasie-schmiede/psb-foundation

2.2.3

29 Jul 11:20
bcb1b45
Compare
Choose a tag to compare

[FEATURE] Support TCA type group with more than one allowed table in extbase models (use resolveMmRelationWithDifferentTables in getter).
[FEATURE] New TcaService method (convertTableNameToClassNames) looks up domain model class names connected to a given table.
[FEATURE] Add helper method to apply an arbitrary number of constraints to a query in a clean way.
[BUGFIX] Original TCA was overwritten by extending classes even for those properties that weren't overridden.
[BUGFIX] convertString converts version numbers to float.

2.2.2

25 Jun 06:01
Compare
Choose a tag to compare

[BUGFIX] Add missing property maxSize to file upload configuration.
[BUGFIX] Aggregation of file upload configuration was incorrect.
[BUGFIX] Initialize types in TCA so fields can be added to them.
[BUGFIX] Prevent logging of strings which are no label identifiers.
[BUGFIX] Use request interface as argument type instead of its implementation.

2.2.1

05 Apr 15:08
a2f10c9
Compare
Choose a tag to compare
  • [FEATURE] Add file locking utilities.
  • [TASK] Optimize code.
  • [TASK] Set version to 2.2.1.
  • [TASK] Update manual.
  • [BUGFIX] Avoid race condition while checking log files.
  • [BUGFIX] Overriding of ctrl properties failed if property name did not match original TCA key.

2.2.0

08 Mar 08:50
657c85d
Compare
Choose a tag to compare

[FEATURE] Add logging for language label usage.
[FEATURE] Add module for displaying evaluated log data of language labels.
[FEATURE] Replace LocalizationService with new LocalizationUtility. LocalizationService is still available for compatibility reasons!
[TASK] Apply CGL rules.
[TASK] Deprecate LocalizationService.
[TASK] Improve performance of LocalizationService/LocalizationUtility.
[TASK] Remove redundant PHPDoc comments.
[TASK] Set version to 2.2.0.
[BUGFIX] Placeholders in localized strings were replaced in ViewHelper context only.

2.1.2

21 Feb 16:15
Compare
Choose a tag to compare
  • [TASK] Set version to 2.1.2.
  • [BUGFIX] Additional fix for file path issues with language files.

2.1.1

08 Feb 07:04
2929ebd
Compare
Choose a tag to compare
  • [BUGFIX] Fix creation of file references.
  • [BUGFIX] Fix deprecated TCA structure of default select item.
  • [BUGFIX] Fix file path issues for language files.
  • [BUGFIX] Use correct method to override ViewHelper argument.

2.1.0

24 Jan 08:53
6c13cd3
Compare
Choose a tag to compare

[FEATURE] Add query utilities to process large amounts of records in chunks to avoid memory exhaustion.
[FEATURE] FileUtility::resolveFileName() resolves relative paths without 'EXT:'-syntax, too.
[FEATURE] Support additional arguments (strict, fallback) for all GlobalVariable-ViewHelpers.

2.0.0

20 Oct 15:07
af8cd09
Compare
Choose a tag to compare

PSB Foundation 2.0

When I started this project, I promised that TYPO3 upgrades will become easier because the abstraction layer this
extension offers will remain and all core changes will be tackled under the hood so that you won't have to worry.
Guess what: As the developers of TYPO3 introduced a lot of interesting (but also breaking) changes in v12.0 (which I love!) - and with php 8.1
at hand - I decided to go for a big refactoring. Sorry for that! But I hope that you will love the new structure and
features. Version 1 won't be supported anymore. The following list will guide you through all necessary steps.
I will try to support two major versions in the future.
Thank you for using psb_foundation! ❤

See CHANGELOG.md for upgrading from v1 to v2!

Minimum requirements

  • php version: 8.1
  • TYPO3 version: 12.4

New features

  • Auto-generation of database definitions
  • Service for file uploads in frontend
    • uploads files and creates references to a given domain model record
    • configurable via TCA
  • Attributes for new TCA types introduced in v12
  • More properties and getters for TCA attributes
  • Auto-registration of description in TCA if appropriate language label exists
  • Support of plural forms in language files
  • Support of convenient placeholders in language files
  • New attribute for TranslateViewHelper
    • excludedLanguages: matching language keys will return null (bypasses fallbacks)
  • New helper functions to FileUtility
    • getMimeType() // based on finfo
    • resolveFileName() // resolves EXT:, but leaves invalid paths untouched (in contrast to GeneralUtility::getFileAbsFileName())
    • write() // wrapper for file_put_contents which creates the file if it does not exist (including directories) and assures correct access rights
  • Fallbacks for GlobalVariableService::get()
    • The method no longer throws an exception if a path does not exist and strict mode is set to false.
    • The fallback value can be overridden.

1.2.4

09 Jan 10:52
00457e8
Compare
Choose a tag to compare

[TASK] Set version to 1.2.4.
[BUGFIX] Avoid double processing of translate arguments.

1.2.3

14 Oct 10:21
8707a33
Compare
Choose a tag to compare

[TASK] Set version to 1.2.3.
[BUGFIX] Apply translation arguments only when a translation exists.
[BUGFIX] Fix "undefined array key" in TypoScript condition for page types.
[BUGFIX] Fix "undefined array key" when checking if TypoScript is available in contexts other than Frontend.
[BUGFIX] Load general EarlyAccessConstants also when there is a context specific file.