Skip to content

Releases: Lyearn/mgod

0.4.0

21 Dec 08:04
6e63bc1
Compare
Choose a tag to compare

Features

  • add wrapper function WithTransaction to support MongoDB transactions
  • add ci workflow to lint and test the module automatically on PRs and pushes to the main branch

Fixes

  • re-architect the connection logic to attach EntityMongoModel with the database connection to support multi-tenancy

0.3.0

18 Dec 06:01
d05bfe7
Compare
Choose a tag to compare

Features

  • add a setup step for storing a default Mongo connection, eliminating the need to pass it during EntityMongoModel creation

Documentation

0.2.0

06 Dec 05:17
5145427
Compare
Choose a tag to compare

Documentation

  • add detailed comments for all packages in the module to improve readability and understanding of the code
  • add the README file describing all the major features along with the future scope of this module

Fixes

  • remove unused code and refactor the visibility of some package variables and functions to improve code suggestions

0.1.0

30 Nov 10:02
0509e1b
Compare
Choose a tag to compare

Initial Release

Features

  • add support to define mongodb schema from go models
  • add support for union types
  • add support for mongodb odm