The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version v2.1.0 - 2019-02-06 (TRIAL RELEASE)

  • *** Deprecations ***
    • PERL-993 Deprecate parallel_scan
  • Additions
    • PERL-789 OP_MSG support
    • PERL-920 Add option for applications to register a custom server selector
    • PERL-1008 Support index all paths
    • PERL-1046 Add database aggregation method
  • Changes
    • PERL-785 Call "ping" on a socket that has been idle for socketCheckIntervalMS
  • Bug fixes
    • PERL-927 Ensure hint used with aggregate is string or IxHash or BSON::Doc
    • PERL-930 Allow use of BSON::Raw for insert, update, etc.
    • PERL-970 Can't use BSON::Doc as sort option in find command
    • PERL-988 Index lists should preserve key order in results
    • PERL-994 GridFS DownloadStream warns in spec tests on old perls
    • PERL-1012 Driver doesn't clear session pool after fork
    • PERL-1033 Pod link error
    • PERL-1041 Bulk Write Op calls result method on non-object error
    • PERL-1061 The driver fails to parse a URI if mongodb+srv format is used and the ssl=true option is set
  • Testing
    • PERL-806 Test Driver Wire Version Overlap logic
    • PERL-833 Test QueryResult destructor kills cursor
    • PERL-867 Resync GridFS tests to add test for legacy GridFS, where no filename was set
    • PERL-976 Test only the initial command in a transaction includes readConcern
    • PERL-996 Resync read write concern tests to add new read concern levels
  • Documentation
    • PERL-780 Document that TCP keepalive defaults to true
    • PERL-972 Amend transaction examples
    • PERL-986 Causal Consistency Examples
  • Prerequisites
    • PERL-841 Remove Try::Tiny as a dependency
  • ~ Internal changes ~
    • PERL-921 Only send bypassDocumentValidation if it's true
    • PERL-935 Consolidate session vs retryable write feature detection

Documentation

Using MongoDB data types with Perl
Some examples of MongoDB syntax
Internal event monitoring API for instrumentation
Getting started with MongoDB
Deprecations and behavior changes from v1 to v2
Deprecations and behavior changes from v0 to v1

Modules

Official MongoDB Driver for Perl
(DEPRECATED) MongoDB binary type
(DEPRECATED) Regular expression type
MongoDB bulk write interface
MongoDB bulk write result document
Bulk write operations against a query document
A stream providing update information for collections.
MongoDB session and transaction management
(DEPRECATED) JavaScript code type
A MongoDB Collection
MongoDB generic command result document
A lazy cursor for Mongo query results
(DEPRECATED) A MongoDB database reference type
A MongoDB Database
MongoDB deletion result object
MongoDB Driver Error classes
A file storage abstraction
File handle abstraction for downloading
File handle abstraction for uploading
Index management for a collection
MongoDB single insert result object
MongoDB single insert result object
A connection to a MongoDB server or multi-server deployment
(DEPRECATED) A Mongo Object ID
An iterator for Mongo query results
An iterator for Mongo query results with client-side filtering
Encapsulate and validate a read concern
Encapsulate and validate read preferences
(DEPRECATED) Replication timestamp type
MongoDB unacknowledged result object
MongoDB update result object
Encapsulate and validate a write concern

Provides

in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm
in lib/MongoDB/Error.pm