All Versions
94
Latest Version
Avg Release Cycle
43 days
Latest Release
568 days ago

Changelog History
Page 4

  • v5.4.32 Changes

    December 13, 2019
    • fix "UTF8::str_contains_all" -> "strpos(): Empty needle"
  • v5.4.31 Changes

    December 13, 2019
    • ⚡️ update vendor (ASCII) lib
    • ⚡️ optimize phpstan config
  • v5.4.30 Changes

    December 04, 2019
    • fix "UTF8::str_contains_all" -> fix the loop
  • v5.4.29 Changes

    December 02, 2019
    • ➕ add "UTF8::has_whitespace()"
  • v5.4.28 Changes

    November 17, 2019
    • use "mb_str_split" with PHP >= 7.4 + mbstring support (performance++)
    • improve performance from "UTF8::string()" (use UTF8::html_entity_decode() for the full string)
    • 🛠 fix errors reported by phpstan (level 7) / psalm
  • v5.4.27 Changes

    November 11, 2019
    • 🚚 "UTF8::clean() / UTF8::cleanup()" -> do not remove invisible urlencoded strings by default

      -> problem with e.g. pdf content: "%1b;" -> ...p(CRnAYOD*9a1>VAkmH%1b;?ZVuX$`P[%...

  • v5.4.26 Changes

    November 05, 2019
    • 0️⃣ disable "Bootup::filterRequestUri()" && "Bootup::filterRequestInputs()" by default

      Since version 5.4.26 this library will NOT force "UTF-8" by "bootstrap.php" anymore. If you need to enable this behavior you can define "PORTABLE_UTF8__ENABLE_AUTO_FILTER", before requiring the autoloader.

        define('PORTABLE_UTF8__ENABLE_AUTO_FILTER', 1);
      

      Before version 5.4.26 this behavior was enabled by default and you could disable it via "PORTABLE_UTF8__DISABLE_AUTO_FILTER", but the code had potential security vulnerabilities via injecting code while redirecting via header('Location .... This is the reason I decided to add this BC in a bug fix release, so that everybody using the current version will receive the security-fix.

  • v5.4.25 Changes

    October 14, 2019
    • ⚡️ update vendor (ASCII) lib
  • v5.4.24 Changes

    October 06, 2019
    • improve performance from "UTF8::UTF8::str_titleize_for_humans()" (use "array_merge" only if needed)
    • 👌 improve performance from "UTF8::ucwords()" + "UTF8::lcwords()" (don't use "implode()" if it's not needed)
  • v5.4.23 Changes

    September 27, 2019
    • improve performance from "UTF8::chr_to_decimal()" (now we use iconv if it's available)
    • improve performance from "UTF8::html_entity_decode()" (code cleanup, remove dead code)