Skip to content

Commit 12be2df

Browse files
authored
DRIVERS-2976 Removed deprecated GridFS fields from tests: md5, contentType, aliases (#1683)
1 parent d9ee02e commit 12be2df

9 files changed

+1
-239
lines changed

source/gridfs/gridfs-spec.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,6 +1042,7 @@ system?") it is a potential area of growth for the future.
10421042

10431043
## Changelog
10441044

1045+
- 2024-10-28: Removed deprecated fields from tests: `md5`, `contentType`, `aliases`
10451046
- 2024-02-27: Migrated from reStructuredText to Markdown.
10461047
- 2016-05-10: Support custom file ids
10471048
- 2016-10-07: Drivers SHOULD handle any numeric type of length and chunkSize

source/gridfs/tests/delete.json

Lines changed: 0 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/gridfs/tests/delete.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,40 +30,28 @@ initialData:
3030
length: 0
3131
chunkSize: 4
3232
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
33-
md5: "d41d8cd98f00b204e9800998ecf8427e"
3433
filename: "length-0"
35-
contentType: "application/octet-stream"
36-
aliases: []
3734
metadata: {}
3835
- &file2
3936
_id: { "$oid": "000000000000000000000002" }
4037
length: 0
4138
chunkSize: 4
4239
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
43-
md5: "d41d8cd98f00b204e9800998ecf8427e"
4440
filename: "length-0-with-empty-chunk"
45-
contentType: "application/octet-stream"
46-
aliases: []
4741
metadata: {}
4842
- &file3
4943
_id: { "$oid": "000000000000000000000003" }
5044
length: 2
5145
chunkSize: 4
5246
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
53-
md5: "c700ed4fdb1d27055aa3faa2c2432283"
5447
filename: "length-2"
55-
contentType: "application/octet-stream"
56-
aliases: []
5748
metadata: {}
5849
- &file4
5950
_id: { "$oid": "000000000000000000000004" }
6051
length: 8
6152
chunkSize: 4
6253
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
63-
md5: "dd254cdc958e53abaa67da9f797125f5"
6454
filename: "length-8"
65-
contentType: "application/octet-stream"
66-
aliases: []
6755
metadata: {}
6856
- collectionName: *bucket0_chunks_collectionName
6957
databaseName: *database0Name

source/gridfs/tests/download.json

Lines changed: 0 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/gridfs/tests/download.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,55 +29,37 @@ initialData:
2929
length: 0
3030
chunkSize: 4
3131
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
32-
md5: "d41d8cd98f00b204e9800998ecf8427e"
3332
filename: "length-0"
34-
contentType: "application/octet-stream"
35-
aliases: []
3633
metadata: {}
3734
- _id: { "$oid": "000000000000000000000002" }
3835
length: 0
3936
chunkSize: 4
4037
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
41-
md5: "d41d8cd98f00b204e9800998ecf8427e"
4238
filename: "length-0-with-empty-chunk"
43-
contentType: "application/octet-stream"
44-
aliases: []
4539
metadata: {}
4640
- _id: { "$oid": "000000000000000000000003" }
4741
length: 2
4842
chunkSize: 4
4943
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
50-
md5: "c700ed4fdb1d27055aa3faa2c2432283"
5144
filename: "length-2"
52-
contentType: "application/octet-stream"
53-
aliases: []
5445
metadata: {}
5546
- _id: { "$oid": "000000000000000000000004" }
5647
length: 8
5748
chunkSize: 4
5849
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
59-
md5: "dd254cdc958e53abaa67da9f797125f5"
6050
filename: "length-8"
61-
contentType: "application/octet-stream"
62-
aliases: []
6351
metadata: {}
6452
- _id: { "$oid": "000000000000000000000005" }
6553
length: 10
6654
chunkSize: 4
6755
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
68-
md5: "57d83cd477bfb1ccd975ab33d827a92b"
6956
filename: "length-10"
70-
contentType: "application/octet-stream"
71-
aliases: []
7257
metadata: {}
7358
- _id: { "$oid": "000000000000000000000006" }
7459
length: 2
7560
chunkSize: 4
7661
uploadDate: { "$date": "1970-01-01T00:00:00.000Z" }
77-
md5: "c700ed4fdb1d27055aa3faa2c2432283"
7862
# filename is intentionally omitted
79-
contentType: "application/octet-stream"
80-
aliases: []
8163
metadata: {}
8264
- collectionName: *bucket0_chunks_collectionName
8365
databaseName: *database0Name

0 commit comments

Comments
 (0)