Skip to content

Releases: madkins23/go-mongo

Make IndexTester available (again)

07 Jun 14:02
Compare
Choose a tag to compare
Pre-release

The v0.13.0 release hid the IndexTester class in a test file but it's used elsewhere so put it back where it was.

Make AccessTestSuite visible again

07 Jun 13:54
Compare
Choose a tag to compare
Pre-release

In the last release the file containing AcessTestSuite was renamed which made it invisible outside of the repository. Turns out it's used elsewhere so rename it back.

Add Pointer mechanism

06 Jun 15:24
Compare
Choose a tag to compare
Add Pointer mechanism Pre-release
Pre-release
  • Add Pointer mechanism developed initially in go-serial
    • mdbson/pointer.go
    • mdbson/pointer_test.go
    • mdbson/pointer_db_test.go
  • Add AccessTestSuite.ConnectCollection() and ConnectTypedCollectionHelper() and refactor test suites to use them
  • Move IndexTester into index_db_test.go and remove index_tester.go
  • Various minor tweaks

Update dependencies

12 Apr 23:55
Compare
Choose a tag to compare
Update dependencies Pre-release
Pre-release

Avoiding vulnerable dependencies found with new GoLand analysis tool.

Updated testing and usage of Identity

26 Aug 17:06
Compare
Choose a tag to compare
Pre-release
  • add unit tests for identity.go
  • comment Identity struct to require bson:"inline" to work properly
  • add Identity.ID() testing to typed collection unit tests

Move packed struct out of wrappers

24 Aug 21:26
Compare
Choose a tag to compare
Pre-release

Move type/raw packed struct out of the JSON and YAML wrappers:

  • streamlines the wrapper objects
  • makes the clear functionality unnecessary

Use $setOnInsert in FindOrCreate()

20 Aug 18:16
Compare
Choose a tag to compare
Pre-release

This is simpler than what I had been doing and should be more atomic.

Make CollectionDefinition fields visible

19 Aug 17:18
Compare
Choose a tag to compare
v0.10.1

Rename CollectionDefinition fields to be visible to other packages

Much change

19 Aug 16:58
Compare
Choose a tag to compare
Much change Pre-release
Pre-release

Lots of work done including removal of CollectionCache unless and until I know what it should really do.

Generics version

05 Aug 15:44
3b009e1
Compare
Choose a tag to compare
Generics version Pre-release
Pre-release

Added generics and somewhat normalized various functionality and unit tests.