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

PHPC-2458: Deprecate float arg for UTCDateTime constructor #1695

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Sep 25, 2024

https://jira.mongodb.org/browse/PHPC-2458

I realized this was overlooked while going through documentation-needed tickets for 1.20. Floats, like strings, were only supported as an alternative for 32-bit platforms.

We can discuss whether this should slip into a 1.20.1 patch release (in which case I'll re-target v1.20) or be deferred to 1.21.0. Either way, I'm going to preemptively document this as deprecated along with strings.

Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

LGTM.

SemVer suggests that deprecations should be introduced in minor versions, so considering this and that we've already planned for a 1.21 release, I'm fine moving this to 1.21.

@jmikola jmikola merged commit 9b9f774 into mongodb:v1.x Sep 26, 2024
61 checks passed
@jmikola jmikola deleted the 1.x-phpc-2458 branch September 26, 2024 15:18
alcaeus added a commit that referenced this pull request Sep 30, 2024
* v1.x:
  PHPC-2458: Deprecate float arg for UTCDateTime constructor (#1695)
  Document how to run part of the test suite (#1690)
  Bump version to 1.21-dev (#1661)
  Update branch names for GHA workflows (#1646)
  PHPC-2343: Require PHP 8.1 (#1631)
alcaeus added a commit that referenced this pull request Oct 15, 2024
* v1.x:
  PHPC-2460: Use zend_zval_type_name instead of internal macros (#1714)
  PHPC-2464: Emit deprecation notice for negative "limit" Query option (#1710)
  PHPC-2458: Deprecate float arg for UTCDateTime constructor (#1695)
  Document how to run part of the test suite (#1690)
  Bump version to 1.21-dev (#1661)
  Update branch names for GHA workflows (#1646)
  PHPC-2343: Require PHP 8.1 (#1631)
alcaeus added a commit that referenced this pull request Oct 17, 2024
* v1.x:
  PHPC-2460: Use zend_zval_type_name instead of internal macros (#1714)
  PHPC-2464: Emit deprecation notice for negative "limit" Query option (#1710)
  PHPC-2458: Deprecate float arg for UTCDateTime constructor (#1695)
  Document how to run part of the test suite (#1690)
  Bump version to 1.21-dev (#1661)
  Update branch names for GHA workflows (#1646)
  PHPC-2343: Require PHP 8.1 (#1631)
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.

2 participants