Sha256: 9f8bddd743369cd76d45cc5b65c1a48161e48c5e4c41fbf57b159ee43e88e943

Contents?: true

Size: 999 Bytes

Versions: 14

Compression:

Stored size: 999 Bytes

Contents

You can upgrade freely from v0.20 to v1.0.

However, if you're running a version < 0.20, upgrade to 0.20
before upgrading to 1.0.

The upgrade to 0.20 requires some minor code upgrades.

1. Note the exception changes in HISTORY. Certain exceptions are now scoped under the BSON
module; if you're catching these, you will need to modify your code.

2. The BSON types are now scoped under the BSON module.

3. Note that mongo_ext no longer exists. The new gems are bson and bson_ext.

4. Indexes on GridFS chunks collections should be unique. If you have existing GridFS
collections, you should drop the current index and replace with a unique one. Before you do this,
make sure that index doesn't exist; no need to go through process unnecessarily.
If you do need to create the index, once you have the chunks collection, here are the commands you can run:

    @chunks.drop_index('files_id_1_n_1')
    @chunks.create_index([['files_id', Mongo::ASCENDING], ['n', Mongo::ASCENDING]], :unique => true)

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
mongo-lyon-1.2.4 docs/1.0_UPGRADE.md
mongo-1.3.0.rc0 docs/1.0_UPGRADE.md
mongo-1.2.4 docs/1.0_UPGRADE.md
mongo-1.2.3 docs/1.0_UPGRADE.md
mongo-1.2.2 docs/1.0_UPGRADE.md
mongo-1.2.1 docs/1.0_UPGRADE.md
mongo-1.2.0 docs/1.0_UPGRADE.md
mongo-1.2.rc2 docs/1.0_UPGRADE.md
mongo-1.2.rc1 docs/1.0_UPGRADE.md
mongo-1.2.rc0 docs/1.0_UPGRADE.md
mongo-1.1.5 docs/1.0_UPGRADE.md
mongo-1.1.4 docs/1.0_UPGRADE.md
mongo-1.1.3 docs/1.0_UPGRADE.md
mongo-1.1.2 docs/1.0_UPGRADE.md