Skip to content

Preserve bulk options on auto-flush; trim README - #5

Merged
ykan821 merged 3 commits into
masterfrom
dev
Jul 10, 2026
Merged

Preserve bulk options on auto-flush; trim README#5
ykan821 merged 3 commits into
masterfrom
dev

Conversation

@ykan821

@ykan821 ykan821 commented Jul 10, 2026

Copy link
Copy Markdown
Owner
  • fix(index): flush() took options as a parameter, so the batchSize auto-flush path silently dropped
    refresh/timeout/etc. Options are now instance state via options(), applied to every flush (auto-flush included);
    flush($options) overrides per-call. The onError retry Bulk inherits target/options/retry_on_conflict. Two
    contract tests added.
  • refactor(dsl): move DeepClone to Support/ and mark @internal.
  • docs: reorganize README DSL examples; drop the AI-assisted notice, Laravel integration section, and
    packagist/downloads badges; document bulk options().

ykan821 and others added 3 commits July 10, 2026 23:43
Co-Authored-By: Claude <noreply@anthropic.com>
flush() took options as a parameter, so the batchSize auto-flush path silently dropped refresh/timeout/etc. options() now holds them as instance state applied to every flush; flush($options) overrides per-call. The onError retry Bulk inherits target/options/retry_on_conflict (not batchSize/errorHandler, to avoid auto-flush disrupting re-enqueue and handler recursion). Adds two contract tests and docs.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@ykan821
ykan821 merged commit 9407aaa into master Jul 10, 2026
5 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.

1 participant