Releases: TAMULib/Pipit
v2.1.0
v2.0.1
v2.0.0
What's Changed
- Support for Pageable Repositories
- Support for data classes with Entity and EntityRepository interfaces
- Support per class ini configuration and templating with FileConfiguration Trait
- Refactor CoreLogger to be PSR-3 compatible
- Refactor from Core to Pipit namespace
- Favor exception throwing over boolean/null logic throughout code
- DEV Add Codeception unit tests
- DEV Integrate PHPStan
Full Changelog: v1.4.1...v2.0.0
CSVViewRenderer should only the first view variable
Corrects a bug in the CSVViewRenderer that went against the documented behavior.
ViewRenderer Improvements/fixes and CAS renew fix
-
There is an intermittent issue with CAS authentication through the UserCAS class. A hard coded renew parameter has been removed.
-
Fixed issue where ViewRenderer overrides could fail in case sensitive file systems.
-
JSONViewRenderer
- Sets the content-type header
- Exception handling derived from json_last_error()
-
HTMLViewRenderer
- HTMLViewRenderer can accept an ACTIVE_THEME configuration to set its active theme folder
ViewRenderer Improvements/fixes and CAS renew fix
-
There is an intermittent issue with CAS authentication through the UserCAS class. A hard coded renew parameter has been removed.
-
Fixed issue where ViewRenderer overrides could fail in case sensitive file systems.
-
JSONViewRenderer
- Sets the content-type header
- Exception handling derived from json_last_error()
-
HTMLViewRenderer
- HTMLViewRenderer can accept an ACTIVE_THEME configuration to set its active theme folder
Bug Fix: DynamicDatabaseRepository extends AbstractDatabaseRepository instead of AbstractDataBaseRepository
#72 Depending on versions and configurations, the case difference can be a fatal error.
ViewRenderer Improvements and CAS renew fix
-
There is an intermittent issue with CAS authentication through the UserCAS class. A hard coded renew parameter has been removed.
-
JSONViewRenderer
- Sets the content-type header
- Exception handling derived from json_last_error()
-
HTMLViewRenderer
- HTMLViewRenderer can accept an ACTIVE_THEME configuration to set its active theme folder
File Management and Helpers
-
Introduces the concept of a Helper service. Similar to
getDataRepository()
, AbstractSite defines and CoreSite implements agetHelper()
method to allow components like Controllers, Repositories, and othe Helpers to request an instance of a Helper to manage common tasks. -
Pipit Core's first implementation of a Helper is the FileManager for managing of file uploads and manipulation on the file system.
-
Apps can define their own Helpers by placing classes that extend
Core\Classes\Helpers\AbstractHelper
inApps\Classes\Helpers