Skip to content

Release/v0.3.3 - #21

Merged
dieselxxx merged 5 commits into
masterfrom
release/v0.3.3
Oct 12, 2026
Merged

dieselxxx merged 5 commits into
masterfrom
release/v0.3.3

Conversation

@dieselxxx

Copy link
Copy Markdown
Contributor

🔖 Release Pull Request

Version

  • Release version: v0.3.3

Related Branches

  • Release branch: `release/v0.3.3
  • Target branch:
    • develop
    • master

Description

[Improve Random class maximum value handling for consistency and clarity]

Release Overview

Included Changes

  • Key changes in this release:
    • Change 1
    • Change 2

Pre-release Verification

  • Changelog completed:
    • Yes
  • Documentation updated:
    • Yes

Testing & Validation

System Validation

  • All unit tests pass
  • All integration tests pass
  • Core modules verified
  • Adapter modules verified
  • CI/CD pipelines are successful

Release Readiness

  • No critical bugs open
  • No blocking issues remaining
  • Performance checks completed

Versioning

  • Semantic Versioning compliance:

    • Major
    • Minor
    • Patch
  • Tagging:

    • Release tag v0.3.3 will be created

Deployment

  • Target environment:

    • Staging
    • Production
  • Deployment notes:

    • ...

Checklist

  • CHANGELOG.md updated
  • README.md updated (if needed)
  • Version bumped correctly
  • All tests passing
  • CI/CD pipelines green
  • Release branch merged correctly
  • Release tag created

Risks / Impact

  • Risk level:
    • None
    • Low
    • Medium
    • High

Potential Risks

  • Breaking changes:

  • Deployment risks:

  • Rollback considerations:

Notes

Release Notes

Deployment Instructions

Known Issues

dieselxxx and others added 5 commits October 12, 2026 09:16
…rity

**Details:**
- Set `$max` to default to the generator's maximum value (`mt_getrandmax()`) when not explicitly provided.
- Removed redundant `mt_getrandmax()` calls by storing the generator's maximum in a `$maximum` variable.
- Updated validation logic to ensure `$max` is appropriately bounded between `$min` and the generator's maximum value.
- Improved PHPDoc to clarify the default behavior of the `$max` parameter.

This update ensures clearer behavior and optimizes internal handling of random number generation boundaries.
**Details:**
- Added `@phpstan-ignore` in `Arr\Access::array_rand` to suppress type-related warnings for `$number` annotations.
- Simplified conditional checks in `Random` class:
  - Removed redundant `!== null` checks for `$max` in boundary validations.
  - Ensured proper handling of `$max` and `$min` consistency.
- Adjusted `mt_rand` call to avoid nullable `$max`, ensuring type strictness.

This update enhances static analysis compatibility and simplifies validation logic for random value handling.
**Details:**
- Added a new section for version `v0.3.3` with release date, GitHub comparison link, and details:
  - Improved `Random` class maximum value handling for enhanced consistency and clarity.
- Ensures accurate changelog updates for version tracking and improved documentation.
**Details:**
- Updated the version badge in `Runtime/README.md` from `v0.3.2` to `v0.3.3`.
- Ensures the displayed version in documentation aligns with the latest release for consistency and transparency.
@dieselxxx dieselxxx self-assigned this Oct 12, 2026
@dieselxxx dieselxxx added the type: Maintenance Ongoing upkeep like dependencies, compatibility, and system health. label Oct 12, 2026
@dieselxxx dieselxxx moved this from Todo to Done in 🚩 Triage Oct 12, 2026
@dieselxxx
dieselxxx marked this pull request as ready for review October 12, 2026 07:32
@dieselxxx
dieselxxx requested a review from a team as a code owner October 12, 2026 07:32
@dieselxxx
dieselxxx merged commit ad6420e into master Oct 12, 2026
2 of 9 checks passed
@dieselxxx
dieselxxx deleted the release/v0.3.3 branch October 12, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: Maintenance Ongoing upkeep like dependencies, compatibility, and system health.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant