Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge development #39

Merged
merged 11 commits into from
Sep 18, 2017
Merged

Merge development #39

merged 11 commits into from
Sep 18, 2017

Commits on Aug 8, 2017

  1. Merge branch 'master' into development

    * master:
      Add contribution guidelines.
      Add more changes to README.
    domodwyer committed Aug 8, 2017
    Configuration menu
    Copy the full SHA
    de872a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2017

  1. Merge branch 'master' into development

    * master:
      Run integration tests against 3.2.16 (#24)
    domodwyer committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    1519fd3 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2017

  1. add DropAllIndexes() method (#25)

    Create a new method to drop all the indexes of a collection
    in a single call
    feliixx authored and domodwyer committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    454da02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93aaa6e View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2017

  1. send metadata during handshake (#28)

    fix [#484](https://github.com/go-mgo/mgo/issues/484)
    
    Annotate connections with metadata provided by the
    connecting client.
    
    informations send:
    
    {
     "aplication": {         // optional
       "name": "myAppName"
     }
     "driver": {
        "name": "mgo",
        "version": "v2"
      },
      "os": {
        "type": runtime.GOOS,
        "architecture": runtime.GOARCH
      }
    }
    
    to set "application.name", add `appname` param in options
    of string connection URI,
    for example : "mongodb://localhost:27017?appname=myAppName"
    feliixx authored and domodwyer committed Sep 6, 2017
    Configuration menu
    Copy the full SHA
    165af68 View commit details
    Browse the repository at this point in the history
  2. Update README to add appName (#32)

    * docs: elaborate on what appName does
    
    * readme: add appName to changes
    domodwyer authored Sep 6, 2017
    Configuration menu
    Copy the full SHA
    a76b1a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2017

  1. add method CreateView() (#33)

    Fix #30.
    
    Thanks to @feliixx for the time and effort.
    feliixx authored and domodwyer committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    25200e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f4c10f View commit details
    Browse the repository at this point in the history
  3. Don't panic on indexed int64 fields (#23)

    * Stop all db instances after tests (go-mgo#462)
    
    If all tests pass, the builds for mongo earlier than 2.6 are still failing.
    Running a clean up fixes the issue.
    
    * fixing int64 type failing when getting indexes and trying to type them
    
    * requested changes relating to case statement and panic
    
    * Update README.md to credit @mapete94.
    
    * tests: ensure indexed int64 fields do not cause a panic in Indexes()
    
    See:
    * #23
    * https://github.com/go-mgo/mgo/issues/475
    * go-mgo#476
    domodwyer authored Sep 11, 2017
    Configuration menu
    Copy the full SHA
    934a190 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2017

  1. Add collation option to collection.Create() (#37)

    - Allow specifying the default collation for the collection when creating it.
    - Add some documentation to query.Collation() method.
    
    fix #29
    feliixx authored and domodwyer committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    b37e3c1 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2017

  1. Test against MongoDB 3.4.x (#35)

    * test against MongoDB 3.4.x
    
    * tests: use listIndexes to assert index state for 3.4+
    
    * make test pass against v3.4.x
    
      - skip `TestViewWithCollation` because of SERVER-31049,
        cf: https://jira.mongodb.org/browse/SERVER-31049
    
      - add versionAtLeast() method in init.js script to better
        detect server version
    
    fixes #31
    feliixx authored and domodwyer committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    aead58f View commit details
    Browse the repository at this point in the history