Skip to content

Pre-release 4.2.107 → 4.2.106 — task 4.3 validation swap (illuminate/validation v13) - #78

Merged
agissept merged 1 commit into
masterfrom
pre-release/4.2.107
Sep 30, 2026
Merged

agissept merged 1 commit into
masterfrom
pre-release/4.2.107

Conversation

@agissept

Copy link
Copy Markdown
Member

Task 4.3 (L2 per-unit): swap illuminate/validation → ^13 (flip-only, wholesale). Stacked di atas #77 (4.2.106 hashing).

Perubahan

  • composer: illuminate/validation replace → require ^13 (v13.33.0; egulias/email-validator + brick/math sudah di floor). v13 Validation\* shadow tree fork (PSR-4 seed).
  • v13 pertahankan surface app (make/passes/fails/messages) tapi pecah Validator monolitik → Concerns traits + Rules/, kontrak pindah ke Contracts\Validation\Validator.
  • Container alias 'validator'→Illuminate\Validation\Factory (v13) tak berubah.
  • Drop tests/Validation/{ValidationValidatorTest,ValidationFactoryTest,ValidationDatabasePresenceVerifierTest} (vendored-behavior; assert internal fork — each()/monolitik — hilang di v13).

Fork suite 461 hijau.

App matched-pair: dicoding#5916 (memuat L4.2-compat layer global — v13 memperketat beberapa semantik rule).

@agissept agissept self-assigned this Sep 26, 2026
@agissept
agissept marked this pull request as draft September 26, 2026 04:52
@agissept
agissept added this pull request to stack #80 September 28, 2026 10:04
@agissept
agissept force-pushed the pre-release/4.2.107 branch 4 times, most recently from 167a2ea to a22d970 Compare September 30, 2026 03:40
Base automatically changed from pre-release/4.2.106 to master September 30, 2026 06:49
@agissept
agissept marked this pull request as ready for review September 30, 2026 07:41
Flip-only wholesale replace: v13 keeps the app-facing surface (make/passes/fails/
messages/errors/sometimes) but splits the monolithic 4.2 Validator (44 inline validateXxx)
into Concerns traits + Rules/ classes, moves the contract to Contracts\Validation\Validator,
and adds UncompromisedVerifier via Http\Client. v13 Validation\* shadows the fork tree via
the PSR-4 seed mechanism (egulias/email-validator + brick/math already on floor).

- composer: illuminate/validation self.version -> ^13 (v13.33.0).
- Drop tests/Validation/{ValidationValidatorTest,ValidationFactoryTest,
  ValidationDatabasePresenceVerifierTest} (vendored behavior; they assert the fork Validator
  internals — each()/monolithic layout — gone in v13).
- Container alias 'validator' -> Illuminate\Validation\Factory unchanged (v13 Factory).

Fork suite 461 green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@agissept
agissept merged commit ce169b5 into master Sep 30, 2026
2 checks passed
@agissept
agissept deleted the pre-release/4.2.107 branch September 30, 2026 08:23
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.

1 participant