MongoDB 2.6 includes new custom roles that provide more granular access control over database resources and operations. It also features improvements to indexing and query optimization, including query plan caching, index filtering, and limited use of index intersections. The release improves secondary index building performance and includes additional operational changes.