– $min and $max operators that perform conditional update depending on the relative size of the specified value and the current value of a field. 

– $push operator has enhanced support for the $sort , $slice , and $each modifiers and supports a new $position modifier. 

## See also: 

Update Operator Syntax Validation (page 861) 

## New Write Operation Protocol 

– $currentDate operator to set the value of a field to the current date. 

• The $mul operator for multiplicative increments for insert and update operations. 

A new write protocol integrates write operations with write concerns. The protocol also provides improved support for bulk operations. 

MongoDB 2.6 adds the write commands insert , update , and delete , which provide the basis for the improved bulk insert. All officially supported MongoDB drivers support the new write commands. 

The mongo shell now includes methods to perform bulk-write operations. See Bulk() for more information. 

## See also: 

Write Method Acknowledgements (page 857) 

## MSI Package for MongoDB Available for Windows 

MongoDB now distributes MSI packages for Microsoft Windows. This is the recommended method for MongoDB installation under Windows. 

## Security Improvements 

MongoDB 2.6 enhances support for secure deployments through improved SSL support, x.509-based authentication, an improved authorization system with more granular controls, as well as centralized credential storage, and improved user management tools. 

Specifically these changes include: 

• A new authorization model (page 324) that provides the ability to create custom User-Defined Roles (page 325) and the ability to specify user privileges at a collection-level granularity. 

• Global user management, which stores all user and user-defined role data in the admin database and provides a new set of commands for managing users and roles. 

• x.509 certificate authentication for client authentication (page 361) as well as for internal authentication (page 363) of sharded and/or replica set cluster members. x.509 authentication is only available for deploy- ments using SSL. 

• Enhanced SSL Support: 

– Rolling upgrades of clusters (page 350) to use SSL. 

– MongoDB Tools (page 350) support connections to mongod and mongos instances using SSL connec- tions. 

– Prompt for passphrase (page 345) by mongod or mongos at startup. 

