Skip to content

Conversation

@lucasdanielsx
Copy link
Contributor

@lucasdanielsx lucasdanielsx commented Nov 5, 2025

πŸ“ Description

Adds support for the uri_mask parameter, enabling customization of masking patterns according to the specific context and requirements of the consuming service.

image

πŸ”„ Type of change

  • πŸ› Bug fix
  • ✨ New feature
  • 🧾 Documentation
  • ⚑️ Performance/Refactor
  • πŸ”§ CI/CD / Chore

βœ… Checklist

  • PR title follows Conventional Commits (e.g., feat: support UUID v6–v8 in sanitize)
  • Unit tests added or updated
  • composer test passes locally
  • Documentation updated (README or inline PHPDoc)
  • No breaking changes introduced

πŸ”— Related issues

UUIDs v7 are not masked.
image


🧩 Additional context

References:

Copilot AI review requested due to automatic review settings November 5, 2025 20:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR extends UUID support in the URI sanitization function from versions 1-5 to versions 1-8 (adding support for v6, v7, and v8).

  • Updated UUID regex pattern to support UUID versions 6, 7, and 8
  • Added comprehensive test coverage for UUID versions 1-8
  • Minor shell command syntax fix in Makefile

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/Support/Uri.php Modified UUID regex to accept versions 1-8 and relaxed variant field constraints
tests/Unit/Support/UriTest.php Added test cases for UUID versions 1-8 with specific examples
Makefile Fixed docker-compose command syntax for test execution

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lucasdanielsx
Copy link
Contributor Author

@copilot review

Copy link

Copilot AI commented Nov 5, 2025

@lucasdanielsx I've opened a new pull request, #9, to work on those changes. Once the pull request is ready, I'll request review from you.

@lucasdanielsx lucasdanielsx deleted the feat/add-uuid-v7 branch November 5, 2025 21:50
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