Skip to content

rmongodb 1.8.0

Latest
Compare
Choose a tag to compare
@dselivanov dselivanov released this 01 Nov 12:30
· 10 commits to master since this release

PLEASE TEST THIS VERSION BEFORE USING IN PRODUCTION. IT HAS MANY INTERNAL CHANGES

This release brings a lot of improvements to rmongodb:

  1. Now rmongodb correctly handles arrays. This issue was very annoying for many users (including me :-). Many thanks to Jeroen Ooms (@jeroenooms). I heavily tested new behaviour and all works very smooth. Still it's quite big internal change, please test it, your feedback is very wellcome.
    • mongo.bson.to.list() rewritten from scratch. R's unnamed lists are treated as arrays, named lists as objects. Also it has an option - whether to try to simplify vanilla lists to arrays or not.
    • mongo.bson.from.list updated.
  2. mongo.cursor.to.list rewritten and has slightly changed behavior - it doesn't produce any type coercions while fetching data from cursor.
  3. mongo.aggregation has new options to match MongoDB 2.6+ features. Also we renamed second argument to pipeline.
  4. new function mongo.index.TTLcreate - creating indexes with "time to live" property. Thanks to @stanstrup.
  5. R's NA values now converted into MongoDB null values.
  6. many bug fixes (including troubles with installation on Windows) - see full list
  7. New package maintainer - Dmitriy Selivanov (@dselivanov)