Skip to content

3.0.0 #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 9, 2024
Merged

3.0.0 #20

merged 10 commits into from
Dec 9, 2024

Conversation

mechelon
Copy link
Member

@mechelon mechelon commented Sep 26, 2024

v3.0.0

⚠️ Breaking Changes

Data Inserts Only (No Schema Dump)

The output of the dump process will now only include data inserts (INSERT INTO ...), and no longer includes schema definitions. Ensure your pipelines and dump usage are updated accordingly, and schema creation is handled separately if necessary.

Features

Exclude Specific Tables from dumps

Introduces the ability to exclude specific tables from the dump process via the DumpSchema::exclude() method, ensuring flexibility when dumping databases for specific scenarios.
Thanks @k2idev

Optimize dumps with chunking

Adds a new method TableDefinition::outputInChunksOf(int $chunkSize) to support chunked inserts for large datasets, improving performance and reducing memory consumption during the dump process.
Thanks @k2idev

Platform Support

This packages supports MySQL, MariaDB, SQLite and PostgreSQL.

Other

  • Laravel 11 compatibility
  • Updated PHP unit config

laravel-shift and others added 8 commits February 27, 2024 19:42
to allow for generation of chunked INSERT statements
Added test for outputInChunksOf()
Added snapshot
Modified LaravelMaskedDump::dumpTableData() to check for chunked output generation
@mechelon mechelon merged commit a9d74ba into main Dec 9, 2024
@mechelon mechelon deleted the updates branch March 7, 2025 09:59
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.

3 participants