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

Add Changelog/Migration to 2.5 documentation chapter. #1264

Merged
merged 1 commit into from Jan 20, 2015
Merged

Conversation

beberlei
Copy link
Member

new chapter in documentation for migrating to 2.5. Includes a changelog of new features and improvements as well as BC breaks from UPGRADE.md

Are there any new features missing here? Missing BC breaks?

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DDC-3516

We use Jira to track the state of pull requests and the versions they got
included in.

Most of the locations where previously only the ``Doctrine\ORM\EntityManager``
was allowed are now changed to accept the ``EntityManagerInterface`` that was
introduced in 2.4. This allows you to more easily use the decorator pattern
to extend the EntityManager if you need.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be careful when saying this, because we still have lots of places where we pass $this to other objects, which is not compatible with decoration (the other objects receives the inner manager). And we cannot fix this in the current architecture

Update migration_2_5.rst
Many of the locations where previously only the ``Doctrine\ORM\EntityManager``
was allowed are now changed to accept the ``EntityManagerInterface`` that was
introduced in 2.4. This allows you to more easily use the decorator pattern
to extend the EntityManager if you need. It`s still not replaced everywhere,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a ` here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed on merge

@Ocramius Ocramius self-assigned this Jan 20, 2015
@Ocramius Ocramius merged commit daf2763 into master Jan 20, 2015
Ocramius added a commit that referenced this pull request Jan 20, 2015
Ocramius added a commit that referenced this pull request Jan 20, 2015
@Ocramius Ocramius deleted the UpgradingDocs branch January 20, 2015 11:13
@Ocramius
Copy link
Member

Merged, thanks @beberlei!

master: f019bf4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants