Skip to content

v0.4.0

Compare
Choose a tag to compare
@anyaelena anyaelena released this 30 Sep 18:30
· 138 commits to main since this release
c90d064

Worker Updates

  • Substantial upgrades to database interaction:
    • Move read/write operations of write arrays, curVal, and curStatus from Mongo to Redis, reducing latencies associated with model advance.
    • Add Mongo engine ORM and associated database schema per the object specification.
    • Revised Mongo indexes.
    • Consolidate explicit MongoDB interactions throughout codebase.
    • Creates a database schema per the Mongo engine object specification.
    • Creates a new site object which is extracted during the recs writing.
    • Creates relationships between objects.
    • Enables cascading deletes (if called from the Python side of the code). e.g., site.delete() now removes all models, runs, recs, writearrays, etc.
    • Adds unit test with basic mock data for mongoengine/mongo
  • Python updates
    • Worker Python and E+ Python upgraded to 3.8
    • Required packaged for Python plugins can be specified in a requirements.txt file, documented in wiki.
  • Improved error handling and logging:
    • Jobs that experience errors now upload the contents of the run to S3
    • E+ error logs are now exposed to the user when simulation fails.
  • Bug fixes:
    • Fixes intermittent E+ bug where models would sometimes skip a time step.
    • Timescale runs now stop at the specified stop time.
    • Improved handing of writearray and writeVal.

Web Updates

  • Fixed React routing to redirect to home on unknown routes
  • Restricted uploads to .zip and .fmu file extensions
  • Added favicon
  • Resolved all high-security vulnerabilities

What's Changed

Full Changelog: v0.3.0...v0.4.0