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

chore(deps): bump symfony/security-http from 6.4.15 to 7.2.0 #145

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2024

Bumps symfony/security-http from 6.4.15 to 7.2.0.

Release notes

Sourced from symfony/security-http's releases.

v7.2.0

Changelog (symfony/security-http@v7.2.0-RC1...v7.2.0)

  • no significant changes

v7.2.0-BETA2

Changelog (symfony/security-http@v7.2.0-BETA1...v7.2.0-BETA2)

v7.2.0-BETA1

Changelog (symfony/security-http@v7.1.6...v7.2.0-BETA1)

v7.1.8

Changelog (symfony/security-http@v7.1.7...v7.1.8)

v7.1.7

Changelog (symfony/security-http@v7.1.6...v7.1.7)

v7.1.6

Changelog (symfony/security-http@v7.1.5...v7.1.6)

  • no significant changes

v7.1.5

Changelog (symfony/security-http@v7.1.4...v7.1.5)

v7.1.4

Changelog (symfony/security-http@v7.1.3...v7.1.4)

v7.1.3

Changelog (symfony/security-http@v7.1.2...v7.1.3)

  • no significant changes

... (truncated)

Changelog

Sourced from symfony/security-http's changelog.

CHANGELOG

7.2

  • Pass the current token to the checkPostAuth() method of user checkers
  • Deprecate argument $secret of RememberMeAuthenticator
  • Deprecate passing an empty string as $userIdentifier argument to UserBadge constructor
  • Allow passing passport attributes to the UserAuthenticatorInterface::authenticateUser() method

7.1

  • Add #[IsCsrfTokenValid] attribute
  • Add CAS 2.0 access token handler
  • Make empty username or empty password on form login attempts return Bad Request (400)

7.0

  • Add argument $badgeFqcn to Passport::addBadge()
  • Add argument $lifetime to LoginLinkHandlerInterface::createLoginLink()
  • Throw when calling the constructor of DefaultLoginRateLimiter with an empty secret

6.4

  • UserValueResolver no longer implements ArgumentValueResolverInterface
  • Deprecate calling the constructor of DefaultLoginRateLimiter with an empty secret

6.3

  • Add RememberMeBadge to JsonLoginAuthenticator and enable reading parameter in JSON request body
  • Add argument $exceptionCode to #[IsGranted]
  • Deprecate passing a secret as the 2nd argument to the constructor of Symfony\Component\Security\Http\RememberMe\PersistentRememberMeHandler
  • Add OidcUserInfoTokenHandler and OidcTokenHandler with OIDC support for AccessTokenAuthenticator
  • Add attributes optional array argument in UserBadge
  • Call UserBadge::userLoader with attributes if the argument is set
  • Allow to override badge fqcn on Passport::addBadge
  • Add SecurityTokenValueResolver to inject token as controller argument

6.2

  • Add maximum username length enforcement of 4096 characters in UserBadge
  • Add #[IsGranted()]
  • Deprecate empty username or password when using when using JsonLoginAuthenticator
  • Set custom lifetime for login link

... (truncated)

Commits
  • 0d0ab4d Merge branch '7.1' into 7.2
  • e11ea7f Merge branch '6.4' into 7.1
  • dd89ea6 Merge branch '7.1' into 7.2
  • d551ee8 Merge branch '6.4' into 7.1
  • aa7d9d8 Remove always true/false occurrences
  • 83a7a95 Assert on string equality instead of regexes
  • 3e43aa9 minor #58391 relax mock class name matching (xabbuh)
  • 4dade04 Remove unused imports
  • ea17354 relax mock class name matching
  • bd25dae Merge branch '7.1' into 7.2
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [symfony/security-http](https://github.com/symfony/security-http) from 6.4.15 to 7.2.0.
- [Release notes](https://github.com/symfony/security-http/releases)
- [Changelog](https://github.com/symfony/security-http/blob/7.2/CHANGELOG.md)
- [Commits](symfony/security-http@v6.4.15...v7.2.0)

---
updated-dependencies:
- dependency-name: symfony/security-http
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 2, 2024
Copy link

github-actions bot commented Dec 2, 2024

Coverage Report

Totals Coverage
Statements: 40.25% ( 933 / 2318 )
Methods: 53.44% ( 202 / 378 )
Lines: 37.68% ( 731 / 1940 )

StandWithUkraine

Copy link

github-actions bot commented Dec 2, 2024

Composer Validate success

Composer Audit success

PHP Lint success

Docker Build success

Environment Setup success

Site Install success

Config Lint success

Unit Tests success

Software Versions
Copyright (c) The PHP Group
Zend Engine v4.2.26, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.26, Copyright (c), by Zend Technologies
    with Xdebug v3.3.2, Copyright (c) 2002-2024, by Derick Rethans
Composer version 2.8.3 2024-11-17 13:13:04
Composer Audit

</details>
<details><summary>Config Lint</summary>

```
 [OK] All 25 YAML files contain valid syntax.                                   


 [OK] All 3 Twig files contain valid syntax.                                    


 [OK] All 0 XLIFF files contain valid syntax.                                   


 [OK] The container was linted successfully: all services are injected with     
      values that are compatible with their type declarations.                  

```

</details>
<details><summary>Unit Tests</summary>

```PHPUnit 9.6.15 by Sebastian Bergmann and contributors.

Testing 
Test 'AppTestsExternalLookupTest::testCreateJson' started
Test 'AppTestsExternalLookupTest::testCreateJson' ended
Test 'AppTestsExternalLookupTest::testCreateLdJson' started
Test 'AppTestsExternalLookupTest::testCreateLdJson' ended
Test 'AppTestsExternalLookupTest::testCreateAsUser1' started
Test 'AppTestsExternalLookupTest::testCreateAsUser1' ended
Test 'AppTestsExternalLookupTest::testCreateAsUser2' started
Test 'AppTestsExternalLookupTest::testCreateAsUser2' ended
Test 'AppTestsExternalLookupTest::testPutAsUser2' started
Test 'AppTestsExternalLookupTest::testPutAsUser2' ended
Test 'AppTestsExternalLookupTest::testPatchAsUser2' started
Test 'AppTestsExternalLookupTest::testPatchAsUser2' ended
Test 'AppTestsExternalLookupVersionTest::testVersionAsUser2' started
Test 'AppTestsExternalLookupVersionTest::testVersionAsUser2' ended
Test 'AppTestsKeyFiguresFutureTest::testSrc1Endpoint' started
Test 'AppTestsKeyFiguresFutureTest::testSrc1Endpoint' ended
Test 'AppTestsKeyFiguresN8nTest::testN8nEndpoints' started
Test 'AppTestsKeyFiguresN8nTest::testN8nEndpoints' ended
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsAdmin' started
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsAdmin' ended
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser1' started
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser1' ended
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser2' started
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser2' ended
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsAdmin' started
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsAdmin' ended
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser1' started
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser1' ended
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser2' started
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser2' ended
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdminLdJson' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdminLdJson' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3WithoutValueAsUser3' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3WithoutValueAsUser3' ended
Test 'AppTestsKeyFiguresSrc3DuplicateBatchTest::testKey' started
Test 'AppTestsKeyFiguresSrc3DuplicateBatchTest::testKey' ended
Test 'AppTestsKeyFiguresSrc3IdsTest::testKey' started
Test 'AppTestsKeyFiguresSrc3IdsTest::testKey' ended
Test 'AppTestsKeyFiguresSrc3ProviderTest::testKey' started
Test 'AppTestsKeyFiguresSrc3ProviderTest::testKey' ended
Test 'AppTestsKeyFiguresSrc3PutExtraTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3PutExtraTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3StringTest::testStringData' started
Test 'AppTestsKeyFiguresSrc3StringTest::testStringData' ended
Test 'AppTestsKeyFiguresSrc3StringTest::testNumericData' started
Test 'AppTestsKeyFiguresSrc3StringTest::testNumericData' ended
Test 'AppTestsKeyFiguresTest::testGetCollectionAsAdmin' started
Test 'AppTestsKeyFiguresTest::testGetCollectionAsAdmin' ended
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser1' started
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser1' ended
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser2' started
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser2' ended
Test 'AppTestsOchaPresenceExternalIdTest::testCreateJson' started
Test 'AppTestsOchaPresenceExternalIdTest::testCreateJson' ended
Test 'AppTestsOchaPresenceExternalIdTest::testCreateLdJson' started
Test 'AppTestsOchaPresenceExternalIdTest::testCreateLdJson' ended
Test 'AppTestsOchaPresenceExternalIdTest::testCreateAsUser1' started
Test 'AppTestsOchaPresenceExternalIdTest::testCreateAsUser1' ended
Test 'AppTestsOchaPresenceTest::testCreateJson' started
Test 'AppTestsOchaPresenceTest::testCreateJson' ended
Test 'AppTestsOchaPresenceTest::testGetJson' started
Test 'AppTestsOchaPresenceTest::testGetJson' ended
Test 'AppTestsOchaPresenceTest::testCreateLdJson' started
Test 'AppTestsOchaPresenceTest::testCreateLdJson' ended
Test 'AppTestsOchaPresenceTest::testCreateAsUser1' started
Test 'AppTestsOchaPresenceTest::testCreateAsUser1' ended
Test 'AppTestsOchaPresenceTest::testPutLdJson' started
Test 'AppTestsOchaPresenceTest::testPutLdJson' ended
Test 'AppTestsOchaPresenceTest::testPatchLdJson' started
Test 'AppTestsOchaPresenceTest::testPatchLdJson' ended
Test 'AppTestsUserTest::testMeEndpoint' started
Test 'AppTestsUserTest::testMeEndpoint' ended
Test 'AppTestsUserTest::testNonExistingMeEndpoint' started
Test 'AppTestsUserTest::testNonExistingMeEndpoint' ended
Test 'AppTestsUserTest::testRegister' started
Test 'AppTestsUserTest::testRegister' ended
Test 'AppTestsUserTest::testMeEndpointPatch' started
Test 'AppTestsUserTest::testMeEndpointPatch' ended


Time: 00:08.651, Memory: 111.00 MB

OK (51 tests, 268 assertions)

Generating code coverage report in Clover XML format ... done [00:00.035]

Generating code coverage report in HTML format ... done [00:00.331]

Generating code coverage report in PHPUnit XML format ... done [00:00.720]

Remaining indirect deprecation notices (17)

  6x: Not implementing generateId in FidryAliceDataFixturesBridgeDoctrineIdGenerator is deprecated. (AbstractIdGenerator.php:64 called by BasicEntityPersister.php:283, https://github.com/doctrine/orm/pull/9325, package doctrine/orm)
    6x in ExternalLookupTest::testCreateJson from AppTests

  5x: Since api-platform/core 3.4: rfc_7807_compliant_errors flag will be removed in 4.0, to handle errors yourself use extraProperties: ['rfc_7807_compliant_errors' => false]
    1x in KeyFiguresSrc2Test::testGetOnSource2AsUser1 from AppTests
    1x in KeyFiguresSrc3ArchiveTest::testOnSource3AsUser1 from AppTests
    1x in KeyFiguresSrc3BatchTest::testOnSource3AsUser1 from AppTests
    1x in KeyFiguresSrc3StringBatchTest::testOnSource3AsUser1 from AppTests
    1x in UserTest::testNonExistingMeEndpoint from AppTests

  2x: Since symfony/framework-bundle 6.4: Option "enable_annotations" at "framework.serializer" is deprecated. Use the "enable_attributes" option instead.
    2x in ExternalLookupTest::testCreateJson from AppTests

  2x: Since symfony/framework-bundle 6.4: Not setting the "framework.handle_all_throwables" config option is deprecated. It will default to "true" in 7.0.
    2x in ExternalLookupTest::testCreateJson from AppTests

  1x: Since api-platform/core 3.3: The hydra: prefix will be removed in 4.0 by default, set "api_platform.serializer" or "serializer.default_context" to "hydra_prefix: true" to keep the current behavior.
    1x in ExternalLookupTest::testCreateJson from AppTests

  1x: The "SymfonyBundleSecurityBundleSecurityUserAuthenticator::authenticateUser()" method will require a new "array $attributes" argument in the next major version of its interface "SymfonyComponentSecurityHttpAuthenticationUserAuthenticatorInterface", not defining it is deprecated.
    1x in ExternalLookupTest::testCreateJson from AppTests

Other deprecation notices (59)

  59x: Since api-platform/core 3.3: Use a "ApiPlatformStateProviderInterface" as first argument in "ApiPlatformSymfonyEventListenerQueryParameterValidateListener" instead of "ApiPlatformParameterValidatorParameterValidator".
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

```

</details>

*Pusher: @dependabot[bot], Action: `pull_request`, Workflow: `Run tests`*

@attiks attiks self-assigned this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant