Skip to content

Commit

Permalink
Merge branch 'release/v0.29.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge committed Jul 28, 2022
2 parents 5f325ab + 06ac08b commit 3b7a4ad
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [v0.29.0] - 2022-07-28
*Breaking Change:*
If you are running on Mongo<4.0, please update as the indices will now
build in the foreground. Mongo>4.0 has changed to a new indexing engine
and this option is now deprecated.

### Removed
- mongo: deprecates `SetBackground` due to MongoDB 4.0 EOL.

## [v0.28.0] - 2021-10-18
### Added
- mongo: adds support for `mongodb+srv` connection strings.
Expand Down Expand Up @@ -654,6 +663,7 @@ clear out the password field before sending the response.
- General pre-release!

[Unreleased]: https://github.com/matthewhartstonge/storage/tree/master
[v0.29.0]: https://github.com/matthewhartstonge/storage/tree/v0.29.0
[v0.28.0]: https://github.com/matthewhartstonge/storage/tree/v0.28.0
[v0.27.0]: https://github.com/matthewhartstonge/storage/tree/v0.27.0
[v0.26.0]: https://github.com/matthewhartstonge/storage/tree/v0.26.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ know what versions you are successfully paired with.

| storage version | minimum fosite version | maximum fosite version |
|----------------:|-----------------------:|-----------------------:|
| `v0.29.X` | `v0.32.X` | `v0.34.X` |
| `v0.28.X` | `v0.32.X` | `v0.34.X` |
| `v0.27.X` | `v0.32.X` | `v0.34.X` |
| `v0.26.X` | `v0.32.X` | `v0.34.X` |
| `v0.25.X` | `v0.32.X` | `v0.34.X` |
| `v0.24.X` | `v0.32.X` | `v0.32.X` |

## Development
To start hacking:
Expand Down
1 change: 0 additions & 1 deletion mongo/mongo.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ func generateIndexKeys(keys ...string) (indexKeys bson.D) {
// generateIndexOptions generates new index options.
func generateIndexOptions(name string, unique bool) *options.IndexOptions {
opts := options.Index().
SetBackground(true).
SetSparse(true).
SetUnique(unique)

Expand Down

0 comments on commit 3b7a4ad

Please sign in to comment.