Skip to content

Comments

Release 1.1.0: drain fix, PDO streams, PHP 8.5#3

Merged
MarcelloDuarte merged 6 commits intomainfrom
developing-1.1.0
Feb 15, 2026
Merged

Release 1.1.0: drain fix, PDO streams, PHP 8.5#3
MarcelloDuarte merged 6 commits intomainfrom
developing-1.1.0

Conversation

@MarcelloDuarte
Copy link
Contributor

Summary

  • Fix compile->drain not executing map side effects after chunk() (Fixes compile->drain does not execute map side effects #2)
  • Add PDO Streaming support via StreamFromPDO()
  • Refactor Stream creation to use functional interface
  • Add PHP 8.5 support across tests, lint, and static analysis
  • Use released phunkie/phunkie ^1.1.0 and phunkie/effect ^1.2.0
  • Remove VCS repository workarounds from composer.json and CI
  • Remove composer.lock from tracking (library best practice)

Test plan

  • CI passes on PHP 8.2, 8.3, 8.4, and 8.5
  • New test verifies chunk()->map()->compile->drain executes side effects
  • Requires phunkie/effect 1.2.0 to be released first

- Add PDOPull for streaming PDO statements
- Add Stream::fromPull factory to support custom Pull implementations
- Add StreamFromPDO helper
- Update Stream() helper to accept Pull instances
- Update PDOPull and pdo.php to use Stream() helper instead of static factory
- Ensure functional interface consistency
- Fix compile->drain not executing map side effects after chunk (#2)
- Use released phunkie/phunkie ^1.1.0 and phunkie/effect ^1.2.0
- Remove VCS repositories workaround from composer.json and CI
- Add PHP 8.5 to CI matrix and composer.json constraint
- Fix PHPStan generic type annotation on StreamFromPDO
- Remove composer.lock from tracking (library best practice)
Pest v2 conflicts with PHPUnit versions available on PHP 8.5.
@MarcelloDuarte MarcelloDuarte merged commit 28ac3a2 into main Feb 15, 2026
12 checks passed
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.

compile->drain does not execute map side effects

1 participant