Skip to content

1.0.0

Compare
Choose a tag to compare
@rootpd rootpd released this 31 Mar 08:36
· 187 commits to master since this release

Changelog

  • BREAKING: Removed deprecated handling of utm_params in favor of rtm_params. remp/crm#2354
    • This change was handled by REMP tools internally since December 2020 and UTM params were already deprecated.
  • Changed redirect behaviour when doing autologin for POST requests in FrontendPresenter. remp/crm#2177
    • POST requests are not redirected anymore to avoid stripping POST parameters (redirect is done using GET).
  • Fixed WeekScale wrong last week of the year usage. E.g. 2021-01-01 was interpreted as week nr. 53 of 2021.
  • Added FrontendRequestEvent which is emitted for every action of presenters extending FrontendPresenter. remp/crm#2273
  • Added symfony/yaml to support use of YAML files for translation strings. remp/crm#2276
  • Changed translation files. remp/crm#2276
    • Fix EOF newlines.
    • Move misplaced CZ translations into [AdminModule].
    • Switch tabs to 4 spaces. Weblate can parse only YAML format (doesn't support tabs).
    • Change extension from NEON to YML.
  • Updated latte/latte to v2.11. remp/crm#2335
    • This version triggers deprecation notices for template filters which separate parameters with : delimiter. If this is your case, use , to separate filter parameters.
  • Fixed CLI resolution inconsistency between Core and ApplicationManager. remp/crm#2350
  • Fixed sourcing of RTM params to session from cookies. remp/crm#2354
  • Changed API handlers (non breaking). remp/crm#2342
    • Changed return type of handle() from Crm\ApiModule\Response\ApiResponseInterface to Tomaj\NetteApi\Response\ResponseInterface.
    • Changed deprecated Crm\ApiModule\Api\JsonResponse to Tomaj\NetteApi\Response\JsonApiResponse.

Nette 3.0

  • BREAKING: Update Nette composer packages from Nette v2.4 to Nette v3.0. remp/crm#1979
  • Changed Compiler::loadDefinitions() (deprecated) to CompilerExtension->loadDefinitionsFromConfig(). remp/crm#1979
  • Added return types to implementations where Nette interfaces changed. remp/crm#1979
  • Fixed renamed Nette extension; from \WebChemistry\Forms\Controls\DI\MultiplierExtension to \Contributte\FormMultiplier\DI\MultiplierExtension. remp/crm#1979
  • Added return types to ActiveRow, DataRow and Selection implementations after interfaces changed. remp/crm#1979
  • Fixed ApplicationMountManager. Call parent constructor to preset filesystems when Nette container is initialized. remp/crm#1979
  • Removed calling parent constructor from widgets. Constructor was removed from Nette\ComponentModel\Component. remp/crm#1979
  • Fixed issue caused by changes in internal Nette\DI\Helpers::autowireArguments(). remp/crm#1979
    • Our Crm\ApplicationModule\Widget\BaseWidget::createComponent() depends on it for setting component arguments.
    • Solution taken from \Kdyby\Autowired\AutowireComponentFactories::createComponent().
  • Updated netteForms.js to newest version used by nette/forms 3.0.*. remp/crm#1979
  • Updated conditions expecting false from Selection::fetch(). Null is returned instead of false after update to Nette 3.0. remp/crm#2142

Nette 3.1

  • Changed the way how routes are added to router. From array $router[] = new Route() to method call $router->addRoute(). remp/crm#1979
  • Changed deprecated Nette\Application\UI\ITemplate to Nette\Application\UI\Template. remp/crm#1979
  • Moved Nette\Configurator to Nette\Bootstrap\Configurator. remp/crm#1979
    • Used in Core.php. If you have own Core implementation, check (and fix) import of Configurator.
  • Changed deprecated Nette\Caching\IStorage to Nette\Caching\Storage. remp/crm#1979
  • Changed deprecated Nette\Database\Context to Nette\Database\Explorer. remp/crm#1979
  • Changed deprecated Nette\Database classes. Nette\Database\IRow and Nette\Database\Table\IRow are deprecated. Using Nette\Database\Table\ActiveRow instead. remp/crm#1979
  • Changed deprecated Nette\Localization\ITranslator to Nette\Localization\Translator. remp/crm#1979
  • Changed deprecated {ifCurrent 'link'} latte tag to {isLinkCurrent('link')} latte function. remp/crm#1979
  • Fixed integration of contributte\forms-multiplier extension. After update to Nette 3.1 and newest version of extension, Multiplier stopped working. remp/crm#1979
  • Updated kdyby/translation to dev-master. No tagged release (from september 2019) works with Nette 3.1. Fortunately dev-master works. Will be switched to contributte/translation in near future (remp/crm#2190). remp/crm#1979
  • Changed DataRow (which extended deprecated Nette\Database\Table\IRow) to ActiveRowFactory (which returns ActiveRow. remp/crm#1979
  • Changed injecting of \Crm\ApplicationModule\Graphs\GraphData to automatic DI instead of manual load. remp/crm#1979