Skip to content

1.15.0

Compare
Choose a tag to compare
@falkenhawk falkenhawk released this 05 Oct 14:58
· 117 commits to master since this release
be1785d

This is a general release of all packages in the monorepo.
You may use individual packages by installing them via composer: composer require zf1s/zend-* - see README.

  • general: publish the whole zf1s/zf1 package on packagist (#133)
    • the whole framework package can be now installed at once with composer require zf1s/zf1 to easy up the transition period,
      but please keep in mind the recommended approach is to identify and install only the packages you need.
  • zend-loader
    • overhaul of zend-loader and autoloader done again (#116)

    • continues work done initially in #1 / 76477fb

    • potential breaking changes:

      Introduced Zend_Loader_Exception_FileNotFoundException and Zend_Loader_Exception_ClassNotFoundException

      Instead of throwing Zend_Exception in Zend_Loader::loadClass() with a generic message File \"$file\" does not exist or class \"$class\" was not found in the file

      • Zend_Loader_Exception_FileNotFoundException will be thrown with message File "$file" could not be found within configured include_path. or
      • Zend_Loader_Exception_ClassNotFoundException with message Class "$class" was not found in the file "$file"., in their respective cases.

      Not suppressing loading classes with @ suppressor by default anymore.

      Regular warnings/errors coming from a loaded file should be visible, otherwise it might be very confusing for devs

      At the same time though, Zend_Loader will not emit warnings when checking for files if they exist, by default. Added isReadable check inside loadFile before include/include_once.

      There might be a performance hit, but it should be okay when most of the autoloading is handled by composer autoloader.

      This change should finally allow seamless integration of Zend_Loader with composer autoloader, without any warnings.

    • fixed issues with loading custom Translate/File_Transfer/Filter adapters

    • for more details see #116

  • zend-session
    • added "session.cookie_samesite" option (#126)
  • zend-validate
    • hostname: update TLDs (Version 2022100300) (#104)
    • hostname: allow underscores in subdomain parts (#131)
  • general: docblock annotations
    • fixed parameter annotation for Zend_XmlRpc_Fault::setMessage() (#117)
    • fixed parameter annotation for Zend_Db_Table_Select::setIntegrityCheck() (#119)
    • fixed wrong return-type in Zend_Form_Element::removeValidator() (#121)
    • fixed annotations for Zend_Controller_Router_Route_Regex::__construct() (#123)

🎉 Contributors: @glensc @jack-worman @marcing @partikus @staabm @falkenhawk