Skip to content

4.0.0

Choose a tag to compare

@rootpd rootpd released this 03 Apr 10:13
· 56 commits to master since this release
  • BREAKING: Updated nette/mail library for in-CRM mail management to v4. remp/crm#3425
    • If you work with the library directly, check your use against library's README.
  • BREAKING: Updated malkusch/lock library handling mutex implementation. remp/crm#3419
  • BREAKING: Updated phpoffice/spreadsheet library to v4.0 (previously v1.*). remp/crm#3420
    • If you parse/generate your own spreadsheets, please review the use of the library and the breaking changes between the releases.
  • BREAKING: Removed deprecated widget manager classes & interfaces. remp/crm#3451
    • Removed class \Crm\ApplicationModule\Models\Widget\BaseWidget. Use Crm\ApplicationModule\Models\Widget\BaseLazyWidget instead.
    • Removed class \Crm\ApplicationModule\Models\Widget\WidgetManager. Use Crm\ApplicationModule\Models\Widget\LazyWidgetManager instead.
    • Removed interface \Crm\ApplicationModule\Models\Widget\WidgetManagerInterface. Use \Crm\ApplicationModule\Models\Widget\LazyWidgetManagerInterface instead.
    • Removed method registerWidgets() from \Crm\ApplicationModule\Application\ApplicationModuleInterface. Use registerLazyWidgets() instead.
    • Removed initialization of old widget manager & widgets from ApplicationManager.
    • Note: There is Rector rule for these changes. Check https://github.com/remp2020/crm-rector/releases/tag/3.0.0.
  • BREAKING: Removed deprecated method \Crm\ApplicationModule\Models\Graphs\Scale\ScaleInterface::getDatabaseData(). remp/crm#3459
    • Removed this method from all implementations.
    • Removed method \Crm\ApplicationModule\Models\Graphs\GraphDataItem::getData() which worked with this deprecated (now removed) method ScaleInterface::getDatabaseData().
    • Use ScaleInterface::getDatabaseRangeData() and GraphDataItem::getSeriesData() instead.
  • IMPORTANT: Locked robmorgan/phinx on version 0.16.5 as later versions will throw exception for deprecated util function used in the command for test database schema export.
  • Added getInt and getBool methods to EnvironmentConfig so that it's possible to load typed environment values in configs.
  • Added StaticMemoryStorage for tests, so that Nette can persist data in a way that survives DI container refresh.
  • Changed datetime helpers to accept \DateTimeImmutable alongside with \DateTime. remp/crm#3431
  • Updated JS supporting Nette forms (netteForms.js) to the latest version. remp/novydenik#1331