Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ezyang/htmlpurifier
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.14.0
Choose a base ref
...
head repository: ezyang/htmlpurifier
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.16.0
Choose a head ref
  • 19 commits
  • 52 files changed
  • 8 contributors

Commits on Apr 8, 2022

  1. PHP 8.1: fix various deprecations/errors in newest version of PHP (#310)

    * Test on PHP 8.1
    
    * PHP 8.1: fix deprecated NULL param to glob()
    
    * PHP 8.1: fix PHP error when passing NULL to rawurlencode()
    
    * PHP 8.1: calling ctype_lower with FALSE is deprecated
    
    * PHP 8.1: passing NULL to setAttribute() is deprecated
    
    * PHP 8.1: passing NULL to str_replace() is an error
    
    * PHP 8.1: fix error passing NULL to str_replace()
    
    * PHP 8.1: fix return type deprecation with backwards compatible attribute
    
    * Revert typo
    davidrans authored Apr 8, 2022
    Configuration menu
    Copy the full SHA
    1dd3e52 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. Composer suggestions with extensions (#317)

    * Add suggestion for usage of Filter.ExtractStyleBlocks
    
    Resolves #316
    
    * Add php extensions as suggestions
    
    Resolves #316
    
    * Correct typo in composer property
    func0der authored Jun 3, 2022
    Configuration menu
    Copy the full SHA
    38296c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. Fix some PHP 8.2 deprecations (#319)

    * Define HTMLPurifier_Lexer::$_entity_parser property
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_URIFilterHarness::$filter property
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_AttrTransform_NameSync::$idDef property
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_AttrTransform_NameSyncTest::$accumulator property
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_AttrValidator_ErrorsTest::$language property
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_ChildDef_List::$whitespace property
    
    This fixes a PHP 8.2 deprecation.
    
    * Do not modify incoming tokens in RemoveSpansWithoutAttributes
    
    Previously the undefined property `->markForDeletion` was added to the incoming
    tokens. This causes a deprecation in PHP 8.2. Fix this by storing to-be-deleted
    tokens inside SplObjectStorage. In PHP 8 a WeakMap would be preferable, as that
    prevents leaks if `handleEnd` is never called for the token.
    TimWolla authored Jun 10, 2022
    Configuration menu
    Copy the full SHA
    1db36fb View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    3fc193c View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Configuration menu
    Copy the full SHA
    dff4746 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Treat PHP version numbers as strings in GitHub Actions (#327)

    YAML will try to interpret numeric values as numbers, leading to `8.0` being
    interpreted as `8` instead of `'8.0'`.
    
    This doesn't result in a functional change, but cleans up the output of the
    jobs a little (e.g. in the title line).
    TimWolla authored Aug 30, 2022
    Configuration menu
    Copy the full SHA
    be2a668 View commit details
    Browse the repository at this point in the history
  2. Update to actions/checkout@v3 (#328)

    This does not introduce any functional difference and is intended as a
    future-proofing change.
    
    see https://github.com/actions/checkout/releases/tag/v3.0.0
    TimWolla authored Aug 30, 2022
    Configuration menu
    Copy the full SHA
    6ec1363 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2022

  1. Fix test selection logic in tests/test_files.php (#329)

    Selecting the `fstools` tests also executed the `htmlt` tests.
    TimWolla authored Sep 3, 2022
    Configuration menu
    Copy the full SHA
    c60bba1 View commit details
    Browse the repository at this point in the history
  2. Fix some more PHP 8.2 deprecations (#330)

    * Define HTMLPurifier_AttrTransform_SafeParam::$wmode
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_DefinitionCache_DecoratorHarness::$cache
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_DefinitionCache_DecoratorHarness::$mock
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_DefinitionCache_DecoratorHarness::$def
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_EntityParserTest::$_entity_lookup
    
    This fixes a PHP 8.2 deprecation.
    TimWolla authored Sep 3, 2022
    Configuration menu
    Copy the full SHA
    1b80051 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c2bae1 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2022

  1. Add contenteditable attribute definition (#332)

    * Add contenteditable attribute definition
    
    * gate behind html.trusted
    
    * use enum
    bytestream authored Sep 6, 2022
    Configuration menu
    Copy the full SHA
    dbbd3e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36e0660 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2022

  1. Configuration menu
    Copy the full SHA
    ce9cf2e View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2022

  1. Add PHP 8.2 to CI (#335)

    * Add PHP 8.2 to CI
    
    see #334
    
    * Add PHP 8.2 to composer.json
    TimWolla authored Sep 11, 2022
    Configuration menu
    Copy the full SHA
    dc27c78 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Configuration menu
    Copy the full SHA
    f1d6da1 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. Run CSSTidy tests on CI (#338)

    * Run CSSTidy tests on CI
    
    * update dirname
    
    * use compopser instead of git clone
    
    * use composer
    
    * use test-settings.sample.php
    
    * enable ext-intl
    
    * disable Net_IDNA2
    bytestream authored Sep 15, 2022
    Configuration menu
    Copy the full SHA
    2582405 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2022

  1. Release 4.15.0

    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    ezyang committed Sep 18, 2022
    Configuration menu
    Copy the full SHA
    8d9f4c9 View commit details
    Browse the repository at this point in the history
  2. feat: add semantic release (#307)

    * Add semantic release
    
    * fix typo
    
    * split from matrix
    
    * remove only on push
    
    * remove npm plugin
    
    * write changelog to NEWS
    
    * list assets to include in git commit
    
    * fix update-for-release
    
    * lint pr title
    
    * split release into separate workflow that runs manually
    
    * revert ci.yml changes
    
    * remove references to WHATSNEW
    
    * Fix #322 - PHP 8.1 deprecation notice in HostBlacklist URIFilter (#323)
    
    * Replace 8.1-deprecated utf8_ funcs with mbstring (#326)
    
    * Treat PHP version numbers as strings in GitHub Actions (#327)
    
    YAML will try to interpret numeric values as numbers, leading to `8.0` being
    interpreted as `8` instead of `'8.0'`.
    
    This doesn't result in a functional change, but cleans up the output of the
    jobs a little (e.g. in the title line).
    
    * Update to `actions/checkout@v3` (#328)
    
    This does not introduce any functional difference and is intended as a
    future-proofing change.
    
    see https://github.com/actions/checkout/releases/tag/v3.0.0
    
    * Fix test selection logic in tests/test_files.php (#329)
    
    Selecting the `fstools` tests also executed the `htmlt` tests.
    
    * Fix some more PHP 8.2 deprecations (#330)
    
    * Define HTMLPurifier_AttrTransform_SafeParam::$wmode
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_DefinitionCache_DecoratorHarness::$cache
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_DefinitionCache_DecoratorHarness::$mock
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_DefinitionCache_DecoratorHarness::$def
    
    This fixes a PHP 8.2 deprecation.
    
    * Define HTMLPurifier_EntityParserTest::$_entity_lookup
    
    This fixes a PHP 8.2 deprecation.
    
    * Increase minimum requirement to PHP 5.6 (#331)
    
    * Add contenteditable attribute definition (#332)
    
    * Add contenteditable attribute definition
    
    * gate behind html.trusted
    
    * use enum
    
    * Fix creation of dynamic property (#333)
    
    * Fix creation of dynamic property (#337)
    
    * Add PHP 8.2 to CI (#335)
    
    * Add PHP 8.2 to CI
    
    see #334
    
    * Add PHP 8.2 to composer.json
    
    * Fix contenteditable attribute definition (#336)
    
    * Run CSSTidy tests on CI (#338)
    
    * Run CSSTidy tests on CI
    
    * update dirname
    
    * use compopser instead of git clone
    
    * use composer
    
    * use test-settings.sample.php
    
    * enable ext-intl
    
    * disable Net_IDNA2
    
    * Release 4.15.0
    
    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    
    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    Co-authored-by: John Flatness <john@zerocrates.org>
    Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
    Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
    Co-authored-by: Edward Z. Yang <ezyang@mit.edu>
    5 people authored Sep 18, 2022
    Configuration menu
    Copy the full SHA
    db31243 View commit details
    Browse the repository at this point in the history
  3. chore(release): 4.16.0 [skip ci]

    # [4.16.0](v4.15.0...v4.16.0) (2022-09-18)
    
    ### Features
    
    * add semantic release ([#307](#307)) ([db31243](db31243)), closes [#322](#322) [#323](#323) [#326](#326) [#327](#327) [#328](#328) [#329](#329) [#330](#330) [#331](#331) [#332](#332) [#333](#333) [#337](#337) [#335](#335) [#334](#334) [#336](#336) [#338](#338)
    semantic-release-bot committed Sep 18, 2022
    Configuration menu
    Copy the full SHA
    523407f View commit details
    Browse the repository at this point in the history
Loading