Skip to content

Releases: zf1s/zf1

1.13.1

16 Dec 12:56
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 7.4 compatibility (#16)
  • zend-crypt
    • fixed Zend_Crypt_Math::rand() method returning random bytes when random integer was expected (removed broken /dev/urandom implementation) (#16)
  • zend-file-transfer
    • adjust setAdapter method for compatibility with composer autoloader (#12)
    • now suggests adding zend-validate as http adapter requires it (#12)
  • zend-view
    • fix @method annotations in Zend_View_Helper_Navigation (#13)

1.13.0

29 May 07:46
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
    • re-introduce original tests suite and adjust it to run on php 5.3-7.3 (using modded zf1s/phpunit)
    • tests adjustments
      • composer autoloader and zend loader compatibility fixes
      • adjustments for changed folders structure of framework packages
      • Zend_DebugTest fixes backported from diablomedia/zf1@ba8cf7 (thanks!)
      • fix restoring initial locale properties and HTTP_ACCEPT_LANGUAGE in Zend_LocaleTest
      • silence 'tempnam(): file created in the system's temporary directory' errors in zend-config writer tests
      • fix property exists assertion in zend-amf test
      • skip 'resources' tests - those i18n resources were failing / unfinished on original repo
      • skip tests using mcrypt (deprecated since php 7.1)
      • Zend_VersionTest fix
      • commit test files for Zend_Filter_Compress for deterministic results
      • fix doctype inconsistencies when testing rendered html in Zend_Form_Decorator_ViewHelperTest
      • fixed tests sensitive to line endings in test files (expected CRLF)
      • BC Zend_Amf_RequestTest fix from diablomedia/zf1@ba8cf7 (thanks!)
      • tell git do not touch line-endings in zend-http-response test files - tests rely on mixed line-endings in raw responses
      • portability adjustments - mainly for windows & winux (wsl)
      • added missing stdlib and xml tests to Zend/AllTests
    • composer: fill ext-* dependencies (#6)
  • zend-cloud
    • fix lettercase of loaded class Zend_Service_Amazon_Ec2_Availabilityzones
  • zend-codegenerator
    • fix output of Zend_CodeGenerator_Php_File
    • restore commented require_once
  • zend-config
    • fix regression in reading yaml config - introduced in 1.12.21 (zf1s/zend-config@544edd)
    • xml: restore error handler in case of exception
  • zend-date
  • zend-feed
    • php 7.2 compatibility fixes
  • zend-filter
    • fix auto-loading compress adapters
  • zend-gdata
    • fix constructing GData-Version header
  • zend-loader
    • zend-loader and autoloader overhaul
      • ensure full compatibility with composer autoloader
      • lazy instantiate Zend_Loader_Autoloader in Zend_Application (only if necessary)
      • add Zend_Loader_Autoloader::setDisabled() method for turning it off when necessary (to resolve conflicting cases with composer autoloader)
      • fixes regression in Zend_Loader_ClassMapAutoloader
      • fix for portability of Zend_Loader_ClassMapAutoloader::realPharPath (now works on windows as well)
      • Zend_Loader_PluginLoader::useComposerAutoloader() for further sorting conflicting cases
      • autoload cache frontends and backends in Zend_Cache::factory by default
      • do not instantiate autoloader in Zend_Tool_Framework_Client
      • fixed loading zend-translate adapters, validators, encrypt filter adapters
      • fixes remaining loader & class_exists calls
  • zend-locale
    • format+math+phpmath overhaul
      • untangled normalization - removed when value is expected in already normalized form
      • fix for issues with locales where e.g. thousand separator is a dot (e.g. german), i.a. zendframework/zf1#706
      • apart from zend-currency, it will also have a big impact on zend-measure package (fixing calculations)
    • iconv_substr php 7.0.11+ compatibility fixes - borrowed from axot/zf1@4c6400 (thanks!)
  • zend-mail
    • php 7.2 compatibility fixes
  • zend-measure
    • php 7.3 compatibility fixes
  • zend-oauth
    • php 7.2 compatibility fixes
  • zend-openid
    • do not throw error on failed symlink creation
    • fix incorrect usage of time() function
  • zend-pdf
    • php 7.3 compatibility fixes
  • zend-reflection
    • php7.3 compatibility fixes
  • zend-session
    • do not ini_set options if unitTestEnabled
    • overhaul of session handling in tests - solve conflicting cases
  • zend-test
    • php 7.3 compatibility fixes
    • test case fixes
    • portability fixes for loading xml files in tests
  • zend-timesync
    • fix microtime() usage
  • zend-tool
    • php 7.2 compatibility fixes
  • zend-validate
    • idn_to_ascii: use INTL_IDNA_VARIANT_UTS46 contant, if available
    • file size calculation fixed for php 7.x
    • file upload validator compatibilty fix
  • zend-view
    • php 7.2 compatibility fix for PartialLoop helper
  • zend-xmlrpc
    • restore php 5.3 compatibility