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

Drop support for legacy platforms #3055

Merged
merged 6 commits into from
Mar 18, 2018

Conversation

Majkl578
Copy link
Contributor

@Majkl578 Majkl578 commented Mar 16, 2018

Drops:

  • PostgreSQL <9.3
  • SQL Server < 2008
  • SQL Anywhere < 16

closes #3052
closes #3053
closes #3054
closes #3058

@Majkl578 Majkl578 force-pushed the dev/drop-legacy-platforms branch from e59f616 to a7f77ce Compare March 16, 2018 20:31
@Majkl578 Majkl578 force-pushed the dev/drop-legacy-platforms branch from a7f77ce to dbdac39 Compare March 16, 2018 21:15
@Ocramius Ocramius mentioned this pull request Mar 17, 2018
'datetime2' => 'datetime',
'date' => 'date',
'time' => 'time',
'datetimeoffset' => 'datetimetz',
Copy link
Member

Choose a reason for hiding this comment

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

Would it make sense to have this sorted by key so that when you're looking for something, you don't have to use Ctrl + F?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done also for other platforms & keywords (separate commit).

'pgsql100' => PostgreSQL100Keywords::class,
'oracle' => OracleKeywords::class,
'db2' => DB2Keywords::class,
'sqlanywhere' => SQLAnywhereKeywords::class,
Copy link
Member

Choose a reason for hiding this comment

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

Can we have these sorted?

@Majkl578
Copy link
Contributor Author

Majkl578 commented Mar 17, 2018

Changes:

  • unsupported PDO DB2 driver dropped - closes Fate of PDOIbm driver #3058
  • deprecated MsSQLKeywords dropped
  • type mappings and keywords reordered

@Majkl578 Majkl578 force-pushed the dev/drop-legacy-platforms branch from 40acdb6 to 31146e9 Compare March 17, 2018 20:05
Copy link
Contributor Author

@Majkl578 Majkl578 left a comment

Choose a reason for hiding this comment

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

Highlighted 4 bugs that may be worth fixing in 2.x too.

'AUDIT',
'HAVING',
'OFFLINE ',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Trailing space was a bug? Removed.

'AND',
'FLOAT',
'NOTFOUND ',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Trailing space was a bug? Removed.

'unsigned int' => 'integer',
'numeric' => 'decimal',
'smallint' => 'smallint',
'unsigned smallint', 'smallint',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was a bug - not a key-value mapping.

'smallint' => 'smallint',
'unsigned smallint', 'smallint',
'tinyint' => 'smallint',
'unsigned tinyint', 'smallint',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was a bug - not a key-value mapping.

@Ocramius Ocramius self-assigned this Mar 18, 2018
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

👍

Noticed that we don't have any explicit mapping for PostgreSQL > 9.4, but that's eventually for a separate patch, and probably not relevant for newer setups (10.x)

@Ocramius Ocramius merged commit 8e03108 into doctrine:develop Mar 18, 2018
@Majkl578 Majkl578 deleted the dev/drop-legacy-platforms branch March 18, 2018 18:23
@morozov morozov modified the milestones: 4.0.0, 3.0.0 Mar 19, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants