Skip to content

Releases: uc-cdis/data-simulator

1.6.2

04 Apr 22:00
388e827
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.6.1

Notes to tag/commit: 1.6.2

Generated: 2024-04-04

New Features

  • When running a submission order command such as data-simulator submission_order --path <path here>, the code no longer will crash with a
    misleading message about the .txt file if the path does not exist (#105)

Improvements

  • Clarified in readme to use correct version of releases when running data
    simulator commands (#106)
  • Minor improvement to error logging and readability when generating a
    submission order (#105)
  • fixing typos in the readme (#104)
  • adding a small clarification to hint at using poetry run depending on how
    the user has their venv set up (#103)

1.6.1

18 Jan 15:09
43c0bfb
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.6.0

Notes to tag/commit: 1.6.1

Generated: 2024-01-18

Improvements

  • Split "main" file logic into functions so the data-simulator functionality
    is easier to import and use outside of this library (#102)

Dependency Updates

  • Update pyyaml version (#102)

1.6.0

05 Jan 22:38
3f5257f
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.5.1

Notes to tag/commit: 1.6.0

Generated: 2024-01-05

New Features

  • Add all non-exclusive sublinks when generating data, instead of only one
    (#55)

Bug Fixes

  • Fix edge case in generation of submission order (#100)

Improvements

  • Rewrite Graph().generate_submission_order() and
    Graph.generate_submission_order_path_to_node() so child nodes are never
    submitted before parent nodes (#101)
  • Add unit tests (#101)
  • Add logging (#100)
  • Improve unit tests (#100)
  • Always include 'core_metadata_collection' in 'DataImportOrderPath' (#89)

Dependency Updates

  • Use Python 3.9 and update dependencies (#99)

1.5.1

31 May 14:17
7d7eaee
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.5.0

Notes to tag/commit: 1.5.1

Generated: 2023-05-31

Bug Fixes

  • Fix data generated for array.items.oneOf.enum: generate an array, not a
    single value (#88)

Improvements

  • Generate arrays with 1 to 3 values instead of always just 1 (#88)
  • Temporarily avoid generating null values for oneOf definitions that allow
    other types of values (#88)

Support more complex data types

25 May 15:19
6cd8bb6
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.4.0

Notes to tag/commit: 1.5.0

Generated: 2023-05-25

New Features

  • Support more complex data types, such as arrays of items with multiple
    allowed schemas ("oneOf"/"anyOf"), by calling
    construct_simple_property_schema recursively (#86)
  • Support data type "null" (#86)

Improvements

  • Refactor and remove unnecessary duplicate code copied from node.py to
    node_simulator.py (#86)
  • Data simulation errors related to the dictionary raise a DictionaryError
    instead of returning a JSON error to the calling function (#86)
  • When multiple schemas are allowed ("oneOf"/"anyOf"), pick one at random
    instead of using the first valid schema (#86)
  • Build image with GitHub workflow (#86)
  • Removing Veracode scanning pipeline (#69, #67)

1.4.0

11 May 16:16
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.3.3

Notes to tag/commit: 1.4.0

Generated: 2022-05-11

New Features

  • Handle generating strings in date format (#59)
  • Handle generating strings in date-time format (#56)

Bug Fixes

  • Ignore empty nodes in generate_submission_order_path_to_node function (#57)

1.3.3

31 Mar 16:45
2d8bf19
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.3.2

Notes to tag/commit: 1.3.3

Generated: 2021-03-31

Improvements

  • New psqlgraph (#54)
  • Add git to Docker image to support dependencies accessible by git (#53)

1.3.2

23 Feb 17:41
e4489e8
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.3.1

Notes to tag/commit: 1.3.2

Generated: 2021-02-23

Updates

  • Updating python versioning for downstream dependencies

1.3.1

09 Sep 18:35
1a7e9f9
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.3.0

Notes to tag/commit: 1.3.1

Generated: 2020-09-09

Bug Fixes

  • The latest version of dictionaryutils introduces lists of types for all
    non-required properties. Patch the simulator to use the first allowed type
    (#46)

1.3.0

08 Sep 22:19
7808e51
Compare
Choose a tag to compare

Release Notes

For: uc-cdis/data-simulator

Notes since tag: 1.2.0

Notes to tag/commit: 1.3.0

Generated: 2020-09-08

Bug Fixes

  • Update dictionaryutils version to resolve dependency issues. (#45)

New Features

  • Migrate data-simulator to use poetry (#44)
  • Implemented support for pattern in array type properties (#42)
  • Implemented new simulator which generate data for nodes which don't have
    required links to another (#37)

Improvements

  • Add pre-commit (#43)