Skip to content

Conversation

csarrazi
Copy link
Contributor

@csarrazi csarrazi commented Mar 9, 2016

Q A
Branch master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

This PR adds forward-compatibility for the use of the Ldap component within the Security component. Indeed, currently, if one uses the Symfony\Component\Ldap\LdapClient class and upgrades to the master branch of symfony/symfony, the Security component will break as the class does not implement LdapInterface.

This PR fixes this.

This means that from now on, the master branch of the Ldap component should be compatible with all versions of the Security component. The 2.8/3.0 Security component should be compatible with all versions of the Ldap component, and the 3.1 Security component should be compatible with versions 3.1 onwards of the Ldap component.

@javiereguiluz javiereguiluz changed the title [Ldap] Add FC layer [Ldap] Add forward compatibility layer Mar 9, 2016
@csarrazi
Copy link
Contributor Author

csarrazi commented Mar 9, 2016

It seems that the tests fail for an unrelated reason.

@fabpot
Copy link
Member

fabpot commented Mar 10, 2016

Don't you also have to update some dep versions in some composer.json files?

@csarrazi
Copy link
Contributor Author

This will be done in the 3.0 and 2.8 branches.

@nicolas-grekas
Copy link
Member

@csarrazi can you open the sibling PR you're thinking about please?

@csarrazi
Copy link
Contributor Author

Sure. Will do later today.

@csarrazi
Copy link
Contributor Author

Rebased PR

@csarrazi
Copy link
Contributor Author

AppVeyor builds fail because of an issue in the Console component (unrelated to this PR).

Related PR #18201 should be merged afterward, to release the version requirement on the 3.0 branch.

@nicolas-grekas
Copy link
Member

Thank you @csarrazi.

@nicolas-grekas nicolas-grekas merged commit 97d9cee into symfony:master Mar 16, 2016
nicolas-grekas added a commit that referenced this pull request Mar 16, 2016
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Ldap] Add forward compatibility layer

| Q             | A
| ------------- | ---
| Branch        | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

This PR adds forward-compatibility for the use of the Ldap component within the Security component. Indeed, currently, if one uses the `Symfony\Component\Ldap\LdapClient` class and upgrades to the `master` branch of `symfony/symfony`, the Security component will break as the class does not implement `LdapInterface`.

This PR fixes this.

This means that from now on, the `master` branch of the Ldap component should be compatible with all versions of the Security component. The 2.8/3.0 Security component should be compatible with all versions of the Ldap component, and the 3.1 Security component should be compatible with versions 3.1 onwards of the Ldap component.

Commits
-------

97d9cee Improved BC layer for the Ldap component
@csarrazi csarrazi deleted the fix/ldap-bc-layer branch March 16, 2016 17:15
@fabpot fabpot mentioned this pull request May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants