Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates composer dependencies #16649

Merged
merged 1 commit into from Nov 2, 2020
Merged

Updates composer dependencies #16649

merged 1 commit into from Nov 2, 2020

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Nov 2, 2020

  • Removing symfony/polyfill-util (v1.17.0)
  • Removing symfony/polyfill-php56 (v1.17.0)
  • Removing nikic/php-parser (v4.4.0)
  • Removing jeremeamia/superclosure (2.4.0)
  • Updating composer/ca-bundle (1.2.7 => 1.2.8)
  • Updating maxmind/web-service-common (v0.7.0 => v0.8.0)
    • PHP 7.2 or greater is now required.
    • Added additional type hints.
  • Updating maxmind-db/reader (v1.7.0 => v1.8.0)
    • Fixes for PHP 8.0
  • Updating geoip2/geoip2 (v2.10.0 => v2.11.0)
    • IMPORTANT: PHP 7.2 or greater is now required.
    • Added the isResidentialProxy property to GeoIp2\Model\AnonymousIP and GeoIp2\Record\Traits.
    • Additional type hints have been added.
  • Updating phpmailer/phpmailer (v6.1.7 => v6.1.8)
    • Mark ext-hash as required in composer.json. This has long been required, but now it will cause an error at install time rather than runtime, making it easier to diagnose
    • Make file upload examples safer
    • Update links to SMTP testing servers
    • Avoid errors when set_time_limit is disabled (you need better hosting!)
    • Allow overriding auth settings for local tests; makes it easy to run tests using HELO
    • Recover gracefully from errors during keepalive sessions
    • Add AVIF MIME type mapping
    • Prevent duplicate To headers in BCC-only messages when using mail()
    • Avoid file function problems when attaching files from Windows UNC paths
    • Improve German, Bahasa Indonesian, Filipino translations
    • Add Javascript-based example
    • Increased test coverage
  • Updating symfony/polyfill-ctype (v1.18.1 => v1.20.0)
  • Updating symfony/polyfill-mbstring (v1.18.1 => v1.20.0)
  • Updating twig/twig (v3.0.5 => v3.1.1)
    • Fix "include(template_from_string())"
    • Fix sandbox support when using "include(template_from_string())"
    • Make round brackets optional for one argument tests like "same as" or "divisible by"
    • Add support for ES2015 style object initialisation shortcut { a } is the same as { 'a': a }
  • Updating pear/archive_tar (1.4.9 => 1.4.10)
  • Updating opis/closure (3.5.6 => 3.6.0)
  • Updating php-di/phpdoc-reader (2.1.1 => 2.2.1)
  • Updating phpdocumentor/type-resolver (1.3.0 => 1.4.0)
  • Updating phpdocumentor/reflection-docblock (5.2.1 => 5.2.2)
  • Updating phpspec/prophecy (1.11.1 => 1.12.1)

refs #14601

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Nov 2, 2020
@sgiehl sgiehl added this to the 4.0.0-RC milestone Nov 2, 2020
@Findus23
Copy link
Member

Findus23 commented Nov 2, 2020

Mark ext-hash as required in composer.json. This has long been required, but now it will cause an error at install time rather than runtime, making it easier to diagnose

Should we maybe add this here:

private function getRequiredExtensions()

@sgiehl
Copy link
Member Author

sgiehl commented Nov 2, 2020

@Findus23 let's do that in a new PR. Guess we could also remove Reflection and SPL, from that list, as they are actually built in.

@sgiehl
Copy link
Member Author

sgiehl commented Nov 2, 2020

@Findus23 just checked that. The availability of the hash function is checked here: https://github.com/matomo-org/matomo/blob/4.x-dev/plugins/Diagnostics/Diagnostic/PhpFunctionsCheck.php#L61

@Findus23
Copy link
Member

Findus23 commented Nov 2, 2020

Thanks for checking. I was confused as they called it ext-hash.

@tsteur
Copy link
Member

tsteur commented Nov 2, 2020

@sgiehl @Findus23 can we merge it? tests seem to pass

@sgiehl
Copy link
Member Author

sgiehl commented Nov 2, 2020

@Findus23 Maybe the check would be better placed in the extension check. But at least it is checked in any way...

@tsteur Guess it can be merged then

@tsteur tsteur merged commit a59edb9 into 4.x-dev Nov 2, 2020
@tsteur tsteur deleted the composerupdate branch November 2, 2020 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants