Skip to content

Releases: zf1s/zf1

1.15.5

18 Apr 10:16
Compare
Choose a tag to compare

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-* or the whole framework in one go with composer require zf1s/zf1 - see README.

  • zend-controller
    • fixes "Creation of dynamic property ::$ajaxable is deprecated" on PHP 8.2+ when using ContextSwitch helper (#196)

🎉 Contributors: @falkenhawk @marcing

1.15.4

25 Feb 19:15
Compare
Choose a tag to compare

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-* or the whole framework in one go with composer require zf1s/zf1 - see README.

  • zend-application
    • update dependencies according to usage (#185)
  • zend-auth
    • update dependencies according to usage (#186)
  • zend-controller
    • update dependencies according to usage (#188)
  • zend-form
    • fix instantiating filters with options via addFilter() in php 8.0+ (#194)
  • zend-json
    • update dependencies according to usage (#189)
  • zend-layout
    • update dependencies according to usage (#190)
  • zend-mail
    • update dependencies according to usage (#191)
  • zend-view
    • updated HeadScript to allow for proper html5 syntax creation (#103)

🎉 Contributors: @falkenhawk @glensc @marcing @smhg

1.15.3

04 Jan 14:32
Compare
Choose a tag to compare

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-* or the whole framework in one go with composer require zf1s/zf1 - see README.

  • general: php 8.2 & 8.3 compatibility
    • php 8.3 compatibility fixes (#182)
    • php 8.2 compatibility fixes (#183), including:
      • add missing class properties, to address Creation of dynamic property {x} is deprecated deprecation messages + more fixes (#170)
      • allow dynamic props in Zend_Form, Zend_Form_Element and Zend_View_Abstract (#180)
      • remaining compatibility fixes (#181)
  • zend-controller
    • make zend-filter dependency required (#171)
  • zend-uri
    • update required and suggested dependencies according to usage (#177)
  • zend-validate
    • update required and suggested dependencies according to usage (#179)
  • zend-view
    • update required and suggested dependencies according to usage (#178)
  • general: ci & tests
    • github weekly workflow run (#173)
    • zend-ldap: fix failing tests due to changes in bitnami/openldap:2.5 (#172)

🎉 Contributors: @falkenhawk @fballiano @glensc @hungtrinh @maksimovic @partikus @smhg

1.15.2

19 Feb 23:06
Compare
Choose a tag to compare

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-* or the whole framework in one go with composer require zf1s/zf1 - see README.

  • zend-ldap
    • php 8.1 compatibility fixes (#159)
  • zend-session
    • Zend_Session_SaveHandler_DbTable - fix "Failed to write session data using user defined save handler" warning on php 7+ (#164)

🎉 Contributors: @Dringho @falkenhawk @fredericgboutin-yapla @glensc @marcing @partikus

1.15.1

12 Dec 15:06
Compare
Choose a tag to compare

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-* or the whole framework in one go with composer require zf1s/zf1 - see README.

  • general
    • php 8.1 compatibility fixes (#149)
    • php 8.1 compat: ReturnTypeWillChange Attribute (#147)
    • require php extensions in dev only - avoid composer warnings for missing extensions when installing zf1s/zf1 package (#136)
    • add missing @throws annotations (#140)
    • fix psr-0 autoloading issues (#135)
    • clean up zf1s/zf1 package by ignoring unwanted files in export-ignore (#134)
  • zend-amf
    • fix for php 8.1+ keep the order of properties when they are being serialized same as PHP <8.1 (#149)
    • phpdoc: fix Zend_Amf_Server_Response class name, should be Zend_Amf_Response (#137)
  • zend-console-getopt
    • Fix str_split('') logic to keep same as PHP before 8.2 on PHP 8.2 (#143)
  • zend-date
    • properly calculate sunrise, sunset and twilight times (#151)
  • zend-db
    • fix MySQLi adapter after changing default reporting mode by PHP 8.1 (#156, #158)
  • zend-openid
    • fix for Zend_OpenId_Consumer_Storage_File when symlinks are not used (i.e. on windows) (#148)
  • zend-progressbar
    • fix "stty: 'standard input': Inappropriate ioctl for device" spam (#155)
  • zend-server
    • fix issues with Zend_Server_Reflection_Method (#149)
  • zend-timesync
    • fix ntp time sync (#153)
  • general: CI
    • enable php 8.1/8.2 builds (#129)
    • fix CI warnings: Node.js 12 actions are deprecated (#139)
    • utilize continue-on-error for 'experimental' flag (#142)
    • enable SQLite tests (#157)
  • general: tests
    • fix running tests on windows with composer v2 (#150)
    • [zend-loader] fix failing Zend_Loader_PluginLoaderTest on windows (#154)
    • [zend-paginator] use a temporary fixture test file for unit testing that git ignores (#160)

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

1.15.0

05 Oct 14:58
be1785d
Compare
Choose a tag to compare

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

1.14.0

01 Oct 17:17
Compare
Choose a tag to compare

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: php 8.0 compatibility (#51)
    • Remove default values from method signatures (#78)
    • Fix iterators usage (#82)
    • Fix Zend_Form_ElementTest (#81)
    • Enforce types for PHP 8.0 (#80)
    • Fix vsprintf TypeError for php 8.0 (#79)
    • Fixed reflection deprecations for php 8.0 (#76)
    • Make Zend_Validate_Date work as expected under PHP 8.0 (#75)
    • Zend_Session Fix error handler for PHP8 usage (#99)
    • Remove openssl deprecation for php 8.0 (#73)
    • Remove libxml deprecations for php 8.0 (#65)
    • Missing default values caused errorHandlerIgnore to fail under PHP 8.0 (#63)
    • Replace version_compare on PHP_VERSION with PHP_VERSION_ID check (#53)
    • Do not check get_magic_quotes_gpc value for php 5.4+ (#56)
    • Remove usage of $php_errormsg (#42)
    • Drop tests covering php older than 5.3.3 (#55)
    • Drop code supporting php older than 5.3.3 (#54)
    • Add guard on fclose in Zend_Mail_Storage_Mbox (#70)
    • Fix Zend_Db issues with php8 (#106)
    • php8 Zend_Log compatibility fixes (#107)
    • [zend-paginator] prevent fatal error on php8 (#109)
    • [zend-queue] prevent TypeError on md5 of non-string message (#110)
    • [zend-loader] refactor broken resolvePharParentPath static method (#111)
  • zend-acl
    • Increase Performance in unsetting rules in ACL (#60)
  • zend-application
    • fix autoloading of Useragent class (#113)
  • zend-db
    • Fix PHPDoc @return statement for Zend_Db_Select::query() (#95)
    • Fix PHPDoc typings on Zend_Db_Table_Rowset_Abstract::current (#98)
  • zend-exception
    • allow Throwable in $previous (#112)
  • zend-paginator
    • fixed phpdoc typo (#86)
  • zend-queue
    • Adding support for durable subscribers and persistent message sending (#105)
  • zend-view
    • fix Zend_View_Abstract::__get() phpdoc (#87)
  • Security
  • Infrastructure
    • Restore locales before calling test assertions (#45)
    • Enable "fail-fast" env for setup-php (#52)
    • Move MySQL testing from Travis to GitHub Actions (#49)
    • Use ubuntu-16.04 by default for faster setup-php (#72)
    • Add php 8.0 to GitHub Actions ignoring its errors (#59)
    • Allow newer php-parallel-lint/php-parallel-lint for php 8.0 (#58)
    • Move composer.json validate of sub-packages to GitHub Actions (#40)
    • Use parallel-lint for GitHub actions (#50)
    • Move memcache testing from Travis to GitHub Actions (#47)
    • GitHub Actions: Install composer dependencies (#41)
    • Use staabm/annotate-pull-request-from-checkstyle to report violatons in GitHub (#66)
    • Use gnu parallel for validating composer.json (#84)
    • CI: Switch to Ubuntu 20.04 (#94)
    • ditch travis in favor of gha workflow (#108)
    • enable postgres on gha (#114)
    • use mysql v5.7 in gha (#115)

🎉 Contributors: @glensc @Megatherium @staabm @falkenhawk

1.13.4

23 Nov 09:10
Compare
Choose a tag to compare

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.

  • zend-db
    • Fix Zend_Db_Adapter_Pdo_Pgsql being broken on Postgres 12 that removed d.adsrc (#29)
  • zend-xml
    • fix version comparison operator (#26)
    • php 8 compatibility: wrap deprecated libxml_disable_entity_loader() (#27)

1.13.3

26 Aug 11:09
514800d
Compare
Choose a tag to compare

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.

  • zend-locale
    • Add Croatia to the European Union (#21)
  • zend-validate
    • fixed Zend_Validate_Barcode_IntelligentMail class name for psr-0 autoloading compatibility with composer 2.0 (#24)

1.13.2

13 Aug 14:41
Compare
Choose a tag to compare

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.

  • zend-search-lucene
    • fixed "Trying to access array offset on value of type int" when passed a non-string value to Zend_Search_Lucene_Index_Term (#19)
  • zend-service-rackspace
    • restore back array_key_exists in place of isset - reverted unnecessary changes from #16