Skip to content

Releases: feliixx/mgodatagen

v0.9.1

26 Apr 06:37
Compare
Choose a tag to compare

Changelog

fed6b7c array generator: allow empty array
5dc24dd constant genrators: allow to create objectId from json syntax with "$oid"
8efd4f3 fix indentation in stringFromParts example
772f5a3 split generators_test in multiple files
fce97d8 update mongo driver version

v0.9.0

11 Mar 08:06
Compare
Choose a tag to compare

Changelog

bd53801 1. fixed typo in comments. 2. updated "MehtodStreet" to "Street" to make it uniform.
1d88176 Adding support for gofakeit v6.2.2
a946be4 add few more test case
b4ca2df generators: add 'stringFromParts' generator to create random string with custom patterns
e544cdd generators: package API refactoring
a43fe15 keep old faker for backward compatibility
52bb3de optimisation: write string value directly to the buffer to avoid extra allocations
3284044 refactoring: move generators to separate files
98d37ca refactoring: reformat documentation and add stringFromParts example

v0.8.5

17 Feb 13:18
Compare
Choose a tag to compare

Changelog

c9dc32c dynamically link version from last tag name
aca0df6 index: add more test case
3de5180 quote ld_flags in release action
1ff5678 switch release pipeline to goreleaser
0ab960f testdata: move invalid config file in a separate folder
abf30d0 update go driver version
beb2e18 update go.sum
d0393e8 update linter to golangci-lint
1257a6b update ubuntu, mongodb and linter version for CI
b913b67 upgrade mongodb go driver
4a9b1c7 upgrade test worflow

0.8.4

04 Sep 09:36
Compare
Choose a tag to compare

add --uri option

0.8.3

31 Jul 06:14
Compare
Choose a tag to compare
v0.8.3

dependency update

0.8.2

03 Jun 09:46
Compare
Choose a tag to compare

add -x | --indexfirst option to create index before inserting documents

0.8.1

12 Apr 03:44
Compare
Choose a tag to compare
  • switch to official MongoDB go driver
  • switch to gofakeit to generate fake data. Previous syntax remains backward compatible
  • fail fast if there is an error in configuration
  • fail if a property from config file doesn't match any known property to better detect typos

version 0.7.6

27 Mar 08:15
Compare
Choose a tag to compare

switch to go modules

version 0.7.5

08 Jul 09:18
Compare
Choose a tag to compare
  • int, long, double generators: allow generators with 'min' = 'max'. Min and max bounds are now optional, and default to 0
  • fromArray: add a randomOrder option to pick object from the array in random order

version 0.7.4

07 Apr 11:25
Compare
Choose a tag to compare

add a new generator for UUID