Skip to content

DOCSP-41993 Compatibility Table #126

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

Merged
merged 19 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ toc_landing_pages = [
"/get-started",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

What does this do? @rustagir

Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe it makes it so that you can use anchors in a ref construction from other repos!

]

sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"

[substitutions]
php-library = "MongoDB PHP Library"

Expand Down
61 changes: 61 additions & 0 deletions source/compatibility.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.. _php-compatibility:

=============
Compatibility
=============

.. contents:: On this page
:local:
:backlinks: none
:depth: 2
:class: singlecol

.. facet::
:name: genre
:values: reference

.. meta::
:keywords: backwards compatibility, versions, upgrade

MongoDB Compatibility
---------------------

The following compatibility table specifies the recommended version or versions
of the PHP driver for use with a specific version of MongoDB.

The first column lists the driver version.

.. sharedinclude:: dbx/lifecycle-schedule-callout.rst

.. include:: /includes/mongodb-compatibility-table-php.rst

For more information on how to read the compatibility tables, see our guide on
`MongoDB Compatibility Tables <about-driver-compatibility>`__.

Language Compatibility
----------------------

The following compatibility table specifies the recommended version or versions
of the PHP driver for use with a specific version of PHP.

The first column lists the driver versions.

.. include:: /includes/language-compatibility-table-php.rst

.. sharedinclude:: dbx/about-driver-compatibility.rst

For more information on how to read the compatibility tables, see our guide on
`MongoDB Compatibility Tables <about-driver-compatibility>`__.

How to Get Help
---------------

If you have questions about compatibility, visit the following resources for further guidance:

- Ask questions on our :community-forum:`MongoDB Community Forums <>`.
- Visit our :technical-support:`Support Channels </>`.
- File an issue or feature request in JIRA under one of the following:

- `Extension <https://jira.mongodb.org/projects/PHPC/summary>`_

- `Library <https://jira.mongodb.org/projects/PHPLIB/summary>`_
160 changes: 160 additions & 0 deletions source/includes/language-compatibility-table-php.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
.. sharedinclude:: dbx/compatibility-table-legend.rst

.. list-table::
:header-rows: 1
:stub-columns: 1
:class: compatibility-large

* - PHP Driver Versions
- PHP 8.4
- PHP 8.3
- PHP 8.2
- PHP 8.1
- PHP 8.0
- PHP 7.4
- PHP 7.3

* - ext + lib 1.20
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓
-

* - ext + lib 1.17 to 1.19
- ✓
- ✓
- ✓
- ✓
- ✓
-
-

* - ext + lib 1.16
-
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓


* - ext + lib 1.15 [#PHP1.15-version-parity]_
-
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓

* - ext 1.14 + lib 1.13
-
-
- ✓
- ✓
- ✓
- ✓
- ✓

* - ext 1.13 + lib 1.12
-
-
- ✓
- ✓
- ✓
- ✓
- ✓

* - ext 1.12 + lib 1.11
-
-
- ✓
- ✓
- ✓
- ✓
- ✓

* - ext 1.11 + lib 1.10
-
-
-
- ✓
- ✓
- ✓
- ✓

* - ext 1.10 + lib 1.9
-
-
-
- ✓
- ✓
- ✓
- ✓

* - ext 1.9 + lib 1.8
-
-
-
- ✓
- ✓
- ✓
- ✓

* - ext 1.8 + lib 1.7
-
-
-
-
- ✓
- ✓
- ✓

* - ext 1.7 + lib 1.6
-
-
-
-
- ✓
- ✓
- ✓

* - ext 1.6 + lib 1.5
-
-
-
-
- ✓
- ✓
- ✓

* - ext 1.5 + lib 1.4
-
-
-
-
-
- ✓
- ✓

* - ext 1.4 + lib 1.3
-
-
-
-
-
-
- ✓

* - ext 1.3 + lib 1.2
-
-
-
-
-
-
- ✓
Copy link
Collaborator

Choose a reason for hiding this comment

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

S: Can you check in with the PHP team or Andreas about whether we can remove some of these old versions from this table? Right now, the table is very long as it includes all of these old php driver versions

Copy link
Collaborator Author

@lindseymoore lindseymoore Sep 18, 2024

Choose a reason for hiding this comment

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

Hi @alcaeus, are we able to remove any of the older versions of the php driver from either the MongoDB or Language compatibility table?
Also, will be working on a What's New page referencing the PHP release notes. What is the oldest version you would include as relevant on a What's New page? Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

These old versions definitely aren't relevant anymore. I think we can drop anything older than ext 1.14 and lib 1.13, as those were released two years ago.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

According to Slack conversation, will remove older than ext + lib 1.15

Loading
Loading