Releases: creditdatamw/zefaker
Zefaker v0.8
zefaker v0.6
This release features an updated Groovy runtime to 3 and supports running with Java 15+, previous builds only worked on Java 8.
You can also use the new JSON lines support to export in a format that can be used with tools like esbulk
v0.5.RC1
The main component was rewritten to make adding new generators/output formats easier.
zefaker now comes with the capability to:
- Export to CSV :
zefaker -f input.groovy -output data.csv -csv
- Export to JSON:
zefaker -f input.groovy -output data.json -json
- Export to SQL COPY (for Postgres):
zefaker -f input.groovy -output data.sql -table table_name -sql
(adduseSQLCOPY()
in input.groovy)
The archives contain a bin
directory with shell script for Linux and batch script for Windows for convenient use, but you can still call zefaker-all.jar (in the lib
folder) directly with java -jar
v0.4 beta - Export to SQL INSERTs!
Introduces functionality for exporting to SQL INSERTs in a file, in addition to the existing Excel file exports using the same groovy file as input.
You can now use the following form to export an SQL file
$ java -jar zefaker.jar -f=example.groovy -rows=1000 -output=people-data.sql -sql -table="people_table"
Use the quoteIdentifiersAs
function to enable column quoting for your database, currently valid arguments for that function are "mysql", "postgres", "mssql"
zefaker v0.3
This release includes the following changes:
- Add -x flag to allow overwriting existing files
- Prevent users from overwriting existing data files by default
- Add -vvv flag for verbose output, show progress
- Change to SXSSFWorkbook for streaming and threading
- Add examples directory with basic and slightly advanced example
zefaker v.01
ZeFaker v0.1 - first release!