=======
CHANGES
=======


3.13.2 (2025-11-04)
-------------------

- feature; improve start and stop stub mongodb server. Close subprocess after
  stop the stub server.



3.13.1 (2025-07-10)
-------------------

- make code python 3 compatible


3.13.0 (2025-06-26)
-------------------

- make m01.stub compatible with pymongo 3.13.0

- migration: python 2.7/3 version compatibility

- bugfix: fix downloadURL, ensure urls list if given. Add additional urls
  argument which allows to provide a list of download urls


3.1.0 (2018-01-29)
------------------

- bugfix: support different download urls for windows. Not every option is
  released. We will try different urls for windows 64 bit versions.
  Note, you will probably run into a MemoryError during download if your try
  to download a large mongodb release with a non 64 bit python version.


3.0.1 (2015-11-10)
------------------

- support pymongo >= 3.0.0 and use 3.0.0 as package version and reflect
  pymongo >= 3.0.0 compatibility


3.0.0 (2015-09-28)
------------------

- pymongo > 3.0.0 compatibility. Support pymongo > 3.0.0 use MongoClient instead
  of Connection etc. Use 3.0.0 as package version and reflect pymongo > 3.0.0
  compatibility.

- switch default mongodb download version to 3.0.6

- improve shutdown mongodb server, cleanup client weakref


0.5.8 (2015-03-17)
------------------

- update default mongodb version to 2.4.10

- changed default mongodb allocation space from 100MB to 10MB for faster server
  startup

- bugfix: startup check didn't fit and it was forced 16 times to sleep for one
  second. Fix server status ok check from '1.0' to 1


0.5.7 (2012-12-10)
------------------

- bugfix: didn't shutdown with sleep lower the 1

- improve server setup, use unique log files for each startup

- run tests with pymongo 2.4.1


0.5.6 (2012-12-09)
------------------

- switch to mongodb 2.2.2 and support version property in startMongoServer


0.5.5 (2012-11-18)
------------------

- bugfix: fix start and stop observer methods. Replaced javascript calls with
  simpler pymongo connectionn calls for startup check and shutdown


0.5.4 (2012-11-18)
------------------

- update to mongodb 2.2.0

- switch to bson import

- force 64 bit download by default

- use "sleep" value only for files and directories, use flexible wait for
  process

- bugfix: mongo results comes back with a line break

- bugfix: string cmd *only* on Windows

- use shell=False to start mongodb, even on posix (safer). This changes the
  "options" argument: it has to be a list now

- to stop mongodb, we are now sending a command through the "mongo shell",
  we do not use a pid file any more, all we need is the port, which we keep
  in a global

- we are now repeatedly checking till the mongodb server starts up and
  answers to an admin query

- move flexible sub-version tests to accomodate OpenBSD

- fixed detection of being on a Mac for mongo db download for tests

- added MANIFEST.in file


0.5.3 (2011-08-26)
------------------

- Fix 32bit linux download (Albertas)
- Remove temp files after download
- Fix 64bit linux


0.5.2 (2011-08-24)
------------------

- Still fixing on linux


0.5.1 (2011-08-24)
------------------

- fix on linux


0.5.0 (2011-08-19)
------------------

- initial release tested on win 32bit. NOT tested on win 64bit, mac 32/64bit
  and posix 32/64bit systems. Please report if something doesn't work on this
  systems.
