Skip to content

DOP-4905: Inline docs for v2.19 #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 471 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
471 commits
Select commit Hold shift + click to select a range
71222c7
Reference Mongoid forking guidance from driver tutorial
p May 23, 2019
f3c11a9
Fix code block declaration
p May 23, 2019
4c7adbd
Add driver version 2.9 to compatibility tables
p May 23, 2019
1da2a3a
Move unicode checkmark include to the bottom where it should have been
p May 24, 2019
2a38d61
RUBY-1790 Document connection string and URI option precedence rules …
HanaPearlman May 31, 2019
b61c49e
RUBY-1822 Support providing certificate chains as client certificates…
p-mongo May 31, 2019
d374ef4
Fix hyperlinks
p Jun 3, 2019
25bb9be
RUBY-1823 Support adding multiple CA certificates (#1368)
p-mongo Jun 3, 2019
d472e36
DOCS-12711 Fit compatibility tables in view by removing padding (#1378)
cbush Jun 5, 2019
dc31968
RUBY-1708 Support postBatchResumeToken in change streams (#1382)
HanaPearlman Jun 13, 2019
c9f7e72
RUBY-1848 deprecate support for Ruby 1.9-2.2
p Jun 20, 2019
cb0c1e5
RUBY-1561 Move error labels into operations layer (#1392)
p-mongo Jun 24, 2019
5501feb
Fix RUBY-1870 Transactions documentation does not pass session to ope…
p Jul 8, 2019
2caeacd
RUBY-1860 Standardize on :write_concern for write concern options (#1…
p-mongo Jul 10, 2019
d8b659c
updates mongodb compatibility matrix (#1444)
terakilobyte Jul 16, 2019
501d749
RUBY-1498 Resync CRUD v1 tests for new bulkWrite() tests (#1450)
p-mongo Jul 18, 2019
98bacd3
RUBY-1761 URI option fixes (#1446)
p-mongo Jul 22, 2019
f73d063
Add 2.10 to driver compatibility Ruby table
p Aug 6, 2019
38bace4
RUBY-1622 Require Ruby 2.3+ in driver (#1492)
p-mongo Aug 16, 2019
0b373d9
DOCS-10373 fix quotes (#122)
terakilobyte Aug 20, 2019
daa1378
adds examples for nested doc query (#1502)
terakilobyte Aug 23, 2019
869f6a6
RUBY-1899 Drop JRuby 9.1 support (#1504)
p-mongo Aug 27, 2019
bad665e
RUBY-1605 update tutorial for background connection pool implementati…
p-mongo Aug 29, 2019
fc85029
RUBY-1906 Update/revise driver timeout documentation (#1513)
p-mongo Sep 3, 2019
3e0db18
RUBY-1563 SRV polling documentation (#1525)
p-mongo Sep 16, 2019
1178195
2.11.0.rc0 release
p Sep 16, 2019
42f0f46
Label bson tutorials as 3.x and 4.x to match the actual versions
p Sep 26, 2019
2b2dd9d
Improve User Management Documentation (#1548)
Oct 4, 2019
bc7f57d
Fix RUBY-1948 Default authentication options are set on URI and not o…
p-mongo Oct 11, 2019
a79b328
RUBY-1961 Require Ruby 2.3+ in bson-ruby (#129)
p-mongo Oct 16, 2019
c1f61a7
RUBY-1949 Add X.509 authentication integration tests (#1553)
p-mongo Oct 16, 2019
ccda6e8
Fix RUBY-1957 ByteBuffer#put_cstring truncates symbols at first null …
p-mongo Oct 17, 2019
896cfdc
Format tutorial section on regular expressions
p Oct 22, 2019
9b25ce8
RUBY-1977 Document and repair edge cases in ByteBuffer (#138)
p-mongo Oct 23, 2019
c2b8e99
RUBY-1977 clarify more edge cases and update tutorial (#144)
p-mongo Oct 30, 2019
b01708a
RUBY-1961 remove JRuby 9.1 support in bson-ruby due to it becoming an…
p-mongo Oct 30, 2019
cd331f8
Fold whats new page into installation and update it to point to githu…
p-mongo Nov 20, 2019
9b7d7d9
Add information about user auth_source to the Ruby Driver documentati…
Nov 27, 2019
42f8458
RUBY-2039 UUID representation POC (#146)
p-mongo Dec 11, 2019
a73d8d0
RUBY-2043 Document binary encoding on Binary objects in tutorial (#151)
p-mongo Dec 12, 2019
5c4279e
Fix RUBY-2055 Driver sends null pwd field in createUser when password…
p-mongo Dec 20, 2019
6958dff
RUBY-2058 add Ruby 2.7 to compatibility tables (#1619)
p-mongo Jan 6, 2020
8810c42
RUBY-2122 Test Symbol de/serialization with its bson_type configured …
p-mongo Feb 10, 2020
ef35731
RUBY-1974 Add a tutorial for Automatic Encryption (#1729)
Feb 26, 2020
c41aefe
add explicit encryption example (#1730)
Feb 27, 2020
8341562
RUBY-2042 Additions to FLE Documentation (#1732)
Feb 27, 2020
5cc639b
RUBY-1926 Don't Base64 encode local master keys (#1746)
Mar 2, 2020
4d52faa
Fix RUBY-2145 bson 4.8.0 rounds Time during serialization to bson/ext…
p-mongo Mar 3, 2020
1b915b9
RUBY-2152 Implemented "data key and double encryption" prose test (#1…
Mar 4, 2020
4ec3e1f
RUBY-2152 fix inaccurate line in client-side encryption docs (#1754)
Mar 4, 2020
64931fa
RUBY-2162 Close sockets when connections fail (#1770)
p-mongo Mar 9, 2020
3940e99
RUBY-1997 Handle absence of 'ns' field in index specifications return…
p-mongo Mar 10, 2020
9294bb2
SPEC-1248 RUBY-2126 Unify behavior around configuration for replica s…
p-mongo Mar 11, 2020
021a797
RUBY-1999 tweak existing auth documentation in preparation for adding…
p-mongo Mar 12, 2020
f5f37a2
RUBY-2173 Improvements to Client-Side Encryption documentation (#1782)
Mar 12, 2020
9ca9950
Automatic loading of AS support for driver was added in Mongoid 7.0.6…
p Mar 13, 2020
cccbfea
Update driver compatibility matrix for 2.12 release (#1786)
Mar 13, 2020
ffddbc9
RUBY-2175 Change all instances of "FLE/Field-Level Encryption" to say…
p-mongo Mar 13, 2020
15c51bf
release 2.12.0.rc0
Mar 13, 2020
3cdeb7a
Fix sdam_proc test and expand user documentation for sdam_proc option…
p-mongo Mar 20, 2020
d791107
RUBY-2145 fix typo in documentation - MongoDB time resolution is mill…
p-mongo Mar 24, 2020
d0ef57c
RUBY-1552 Document Ruby Kerberos usage (#1845)
p-mongo Apr 6, 2020
d3d1c78
Revise database documentation, recommend against using admin db (#1857)
p-mongo Apr 10, 2020
ebb859d
RUBY-1999 user documentation for AWS auth mechanism (#1871)
p-mongo Apr 17, 2020
852fd92
RUBY-2219 Force read preference primaryPreferred in Single topology (…
p-mongo Apr 17, 2020
f4f39f4
RUBY-1908 Provide transaction example using new withTransaction API (…
p-mongo Apr 20, 2020
ea8630b
Fix RUBY-2032 Tutorial references nonexistent tls Ruby option (#1881)
p-mongo Apr 20, 2020
5a9316c
release 2.12.1
Apr 22, 2020
57b53e6
RUBY-1737 Describe default auth mechanism selection and necessity to …
p-mongo Apr 29, 2020
cd79aaa
Fix list syntax
p May 11, 2020
0d06efd
RUBY-2229 Link to current support/contribution resources (#1925)
p-mongo May 26, 2020
739c97b
RUBY-2240 Use consistent heading symbols in tutorial (#1931)
p-mongo May 27, 2020
e785e97
RUBY-2261 reduce default keepalive time to align with Azure defaults …
Jun 2, 2020
3e6b00a
RUBY-2221 Add commitQuorum option to createIndexes (#1935)
Jun 5, 2020
075531a
RUBY-1972 RUBY-2001 RUBY-2148 Hint documentation (#1948)
Jun 8, 2020
2ae6274
RUBY-2184 add docs about hedge option (#1949)
Jun 8, 2020
c396d00
Release 2.13.0.beta1
p Jun 15, 2020
8544d85
RUBY-1262 added tests for closing session after block (#1968)
neilshweky Jun 24, 2020
706bcc8
RUBY-2165 added documentation to Create Client to explain block synta…
neilshweky Jun 24, 2020
32149fa
RUBY-2320 Configure how many backtrace lines are shown in monitor exc…
p-mongo Jul 13, 2020
309e925
Fix RUBY-2321 Timeout of 0 should mean no timeout (#2013)
p-mongo Jul 13, 2020
8a0748f
RUBY-2132 publish heartbeat events from push monitor (#2017)
p-mongo Jul 14, 2020
6ccdd1c
Fix RUBY-2297 Broken formatting in BSON documentation (#211)
gjchong25 Jul 14, 2020
d9d0cbc
RUBY-2323 there is no default socket timeout (#2019)
p-mongo Jul 15, 2020
6d34a68
RUBY-2324 Update driver compatibility tables for 2.13 / server 4.4 (#…
p-mongo Jul 17, 2020
4bf55c8
Release 2.13.0.rc1
p Jul 17, 2020
986d986
RUBY-2018 Add client metadata support for wrapping libraries (#2020)
p-mongo Jul 20, 2020
33a0833
RUBY-2244 Reference Atlas search in text search documentation (#2028)
p-mongo Jul 28, 2020
32ff24d
RUBY-2243 Support hidden option on index creation (#2030)
Jul 29, 2020
d152ab6
RUBY-2274: fix CRUD headers (#2031)
Jul 29, 2020
cd229bc
Ruby-2339 Write Driver Query Cache documentation (#2029)
gjchong25 Jul 29, 2020
3a7f641
RUBY-2021 include workaround for always serializing symbols as string…
Jul 31, 2020
d6eea01
RUBY-2179 Document that dates are serialized as midnight in UTC (#214)
p-mongo Aug 6, 2020
36fc4d5
RUBY-2293 Document retrieving auth source from TXT records with SRV U…
p-mongo Aug 6, 2020
c1245ea
Fix RUBY-2346 Tag names are downcased when given in URI options (#2038)
p-mongo Aug 6, 2020
650dbc9
RUBY-1817 Link countDocuments <-> estimatedDocumentCount documentatio…
p-mongo Aug 7, 2020
7cd6e31
RUBY-1672 Document passing read concern to find operations in tutoria…
p-mongo Aug 7, 2020
f473561
Fix RUBY-2252 Bulk write documentation references nonexistent insert_…
p-mongo Aug 10, 2020
502149d
RUBY-2194 Provide forking guidance relevant to the driver (#2049)
p-mongo Aug 10, 2020
03b976c
RUBY-2357 standardize on STDOUT over $stdout (#2052)
p-mongo Aug 13, 2020
5119ada
RUBY-2359 Implement OCSP URI options (#2058)
p-mongo Aug 16, 2020
94d710a
RUBY-2353 Deprecate Ruby 2.3 and 2.4 support (#2063)
p-mongo Aug 17, 2020
8b4d7f1
RUBY-2289 Display monitoring state in client summary (#2053)
p-mongo Aug 17, 2020
55da1f2
RUBY-1932 Specify timeouts for DNS queries for SRV URIs (#2065)
p-mongo Aug 21, 2020
b631866
Add query cache anchor
p Aug 24, 2020
fb33431
RUBY-1748 Add documentation warning against the use of duplicate key …
p-mongo Aug 31, 2020
c1f069c
Add CodeWithScope deprecation notice to documentation (#216)
p-mongo Aug 31, 2020
54f93fa
Remove pure Ruby note from documentation (#2076)
p-mongo Sep 1, 2020
86a13d1
Fix Atlas link in docs
p Sep 2, 2020
c73e34d
Add a newline at the end
p Sep 2, 2020
5c7be27
RUBY-2393 Clarify TLS configuration behavior (#2078)
p-mongo Sep 2, 2020
c87f87f
RUBY-2352 Add try_next example to resuming change stream user guide (…
p-mongo Sep 8, 2020
232d9ad
RUBY-2361 stub ocsp verifier tests on jruby due to lack of ocsp endpo…
p-mongo Sep 11, 2020
68b5bb8
RUBY-2398 Use TLS instead of SSL in driver documentation (#2089)
p-mongo Sep 14, 2020
81ebaff
RUBY-2376 Query cache documentation (#2101)
Sep 23, 2020
7334484
RUBY-2413 Add a test and documentation for system collections with qu…
Oct 1, 2020
d5dfbc2
RUBY-2413 Do not cache query results from system collections (#2106)
Oct 2, 2020
daae440
Link to local api docs
p Sep 26, 2020
de3fdb9
Fix heading symbols
p Oct 2, 2020
a510a4a
Bump version to 2.14.0.beta for query cache testing in Mongoid
p Oct 3, 2020
07d225a
Change headings to be consistent with driver docs (#220)
p-mongo Oct 5, 2020
564d373
RUBY-2346 server selection test with mixed case tag sets (#2107)
p-mongo Oct 6, 2020
16e8f19
RUBY-2020 Set explain verbosity from Mongo::Collection::View::Explain…
p-mongo Oct 7, 2020
64c02d0
Fix documentation issues called out by sphinx
p Oct 7, 2020
86690ca
Quote ssl option symbols
p Oct 7, 2020
6f31a68
Repair a missing quote
p Oct 7, 2020
8350152
Add a missing space to fix formatting
p Oct 7, 2020
4439b4a
RUBY-2236 Explain Ruby vs MongoDB/PCRE regular expressions better (#222)
p-mongo Oct 9, 2020
b1b8cc6
Release 2.14.0.rc1
Oct 9, 2020
ea7b70c
RUBY-1387 Add global TLS context hooks (#2123)
Nov 6, 2020
b7037e2
RUBY-2439 Implement snappy compression support (#2125)
p-mongo Nov 9, 2020
16b0647
expand bulk write documentation (#2154)
p-mongo Dec 8, 2020
32eb29d
DOCSP-13536: remove MongoDB 2.4 from compatibility table (#2156)
Dec 10, 2020
5f52bdb
RUBY-2488 use Ruby 3 toolchain
p-mongo Jan 11, 2021
78c61b2
RUBY-2411 Port query cache middleware to driver
p-mongo Feb 26, 2021
4b15c81
Bump version to 2.15.0.alpha
p Feb 26, 2021
cd0bee5
RUBY-1682: Add Zstandard (zstd) network compression support (#2166)
alexbevi Mar 7, 2021
d51ec2d
RUBY-2429 Implement base Versioned MongoDB API
p-mongo Mar 11, 2021
a658a66
RUBY-2511 Document Versioned API Usage in tutorial (#2195)
p-mongo Mar 23, 2021
f0039fa
RUBY-2550 Support connecting to servers that require API version to b…
p-mongo Mar 23, 2021
24042c1
RUBY-2588 Unpin sessions after all abortTransaction attempts (#2218)
p-mongo Apr 28, 2021
0486e28
Fix RST syntax
p May 6, 2021
de043a6
Move TLS notes to compatibility page (#2225)
p-mongo May 7, 2021
d550d38
Reorganize documentation navigation (#2226)
p-mongo May 12, 2021
6131d36
RUBY-2611 Remove blacklist and whitelist terms (#2227)
comandeo-mongo May 14, 2021
0d85bd1
Add release notes to driver documentation (#2230)
p-mongo May 14, 2021
76c2cfa
RUBY-2623 Add load_balanced Ruby option & loadBalanced URI option (#2…
p-mongo May 20, 2021
cf31f5b
RUBY-2641 Remove master terminology (continued) (#2253)
comandeo-mongo May 28, 2021
71bdfb9
RUBY-2268 RUBY-2490 Ruby 3.0 support (#2255)
johnnyshields Jun 8, 2021
db972a3
Local documentation build tool (#2263)
p-mongo Jun 9, 2021
497238f
RUBY-2647 Implement connect=load_balanced
p-mongo Jun 11, 2021
91102cf
RUBY-2685 Document $query syntax for find (#2274)
p-mongo Jun 21, 2021
bee32ea
RUBY-2688 Document Collection#map_reduce (#2278)
p-mongo Jun 23, 2021
8809fb6
RUBY-2220 Move find command construction code into operations layer
p-mongo Jul 5, 2021
271d479
RUBY-2351 Increase minimum Ruby version to 2.4 (#237)
comandeo-mongo Jul 9, 2021
3cc886d
RUBY-2649 Implement cursor pinning to services
p-mongo Jul 14, 2021
4e45468
2.15 changelog
p Jul 14, 2021
de95d36
2.15 release notes - Ruby 3.0 support
p Jul 15, 2021
1c82da5
RUBY-2351 Increase minimum Ruby version to 2.4 (#2298)
comandeo-mongo Jul 19, 2021
fef072b
Fix RUBY-2675 QueryCache returns wrong results after partial iteratio…
p-mongo Aug 23, 2021
51ec42b
RUBY-2426: Check if indexes for GridFS exist prior to creating them (…
alexbevi Aug 30, 2021
c55dbf4
Fix rst
p Sep 8, 2021
0eafa38
Release 2.16.0.alpha1
p Sep 8, 2021
95a3cf3
correct links to csfle guide (#2350)
terakilobyte Sep 14, 2021
9da536a
Spelling fix
p Sep 23, 2021
8413533
RUBY-2800 Document deprecation of server versions (#2354)
comandeo-mongo Oct 5, 2021
bb7dca3
2.16 release notes
comandeo-mongo Oct 5, 2021
39196d6
RUBY-2747 Set minWireVersion to 6 (#2355)
comandeo-mongo Oct 11, 2021
bf01a4a
RUBY-2524 Snapshot reads
p-mongo Oct 26, 2021
c5e93e9
RUBY-2714 Increase minimum Ruby version required to 2.5 (#2365)
p-mongo Oct 28, 2021
0b02a0b
RUBY-2733 Deprecate mapReduce command (#2364)
p-mongo Oct 28, 2021
b5e0431
RUBY-2714 Increase minimum Ruby version required to 2.5 (#251)
p-mongo Nov 5, 2021
79676fa
RUBY-2821 Support let for CRUD commands (#2367)
comandeo-mongo Nov 10, 2021
eea0aab
Add 5.1 to compat table (#2371)
comandeo-mongo Nov 17, 2021
3629d92
Add 2.17.0 release notes
comandeo-mongo Nov 17, 2021
ab04b38
RUBY-2405 Add Azure KMS support (#2372)
comandeo-mongo Nov 29, 2021
13a2edd
RUBY-2405 Add GCP KMS support (#2374)
comandeo-mongo Dec 8, 2021
362b4e1
RUBY-2746 RUBY-2851 RUBY-2737 Provide options to limit number of mong…
neilshweky Dec 15, 2021
03850c5
RUBY-2833 Add KMIP Support (#2383)
comandeo-mongo Dec 17, 2021
16ed796
RUBY-2856 update bson-ruby docs to include dbrefs (#259)
neilshweky Dec 22, 2021
19bfc6f
RUBY-2090 RUBY-2638 Move driver DBRef class to bson-ruby (#2391)
neilshweky Dec 28, 2021
8fde00f
RUBY-2861 Document BigDecimal/Decimal128 differences (#269)
neilshweky Jan 4, 2022
897e295
RUBY-2861 add documentation for the loss of trailing zeroes (#274)
neilshweky Jan 5, 2022
cb12570
RUBY-2867 Change Decimal128 to deserialize to BigDecimal by default (…
neilshweky Jan 5, 2022
9306ab1
RUBY-2861 update documentation to drop BSON:: (#278)
neilshweky Jan 13, 2022
b08f42e
RUBY-2861 update BigDecimal documentation for 5.0 (#280)
neilshweky Jan 13, 2022
e2b489c
RUBY-2880 Implement driver-compatible DBRef constructor (#282)
p-mongo Jan 27, 2022
32c6dfa
RUBY-2877 Include release note about dropping JRuby in future version…
p-mongo Jan 28, 2022
983e7bd
(DOCSP-20495) Update Ruby driver docs intro to match other drivers (#…
zach-carr Jan 31, 2022
894903c
RUBY-2874 Bump maxWire version for 5.2 (#2411)
comandeo-mongo Feb 1, 2022
fabc80e
RUBY-2822 Add support for comment field (#2404)
comandeo-mongo Feb 4, 2022
c9bda77
RUBY-2845 JRuby 9.3 Support (#2416)
p-mongo Feb 8, 2022
1acc296
update links to mongodb.com/docs (#2431)
terakilobyte Mar 24, 2022
8093314
RUBY-2715 Add documentation for Time Series collections (#2447)
neilshweky Apr 7, 2022
c120059
RUBY-2884 Add Ruby Driver FAQ page (#2446)
neilshweky Apr 8, 2022
2f87f69
RUBY-2957 Use release version of libmongocrypt
p-mongo Apr 18, 2022
8199a69
RUBY-2960 Undeprecate JRuby (#2461)
comandeo-mongo Apr 22, 2022
7cae498
RUBY-2966 Add ActiveJob middleware for query cache. (#2330)
johnnyshields Apr 25, 2022
2df5c63
RUBY-2935 Remove use of admin database FLE docs (#2468)
comandeo-mongo Apr 28, 2022
9f73e56
RUBY-2922 Use the count command instead of collStats to implement est…
neilshweky May 3, 2022
634980f
RUBY-2528 Permit inserting dollar-prefixed or dotted keys (#2489)
neilshweky May 13, 2022
1596fa4
Fix RUBY-3009 Update min_pool_size documentation for population (#2506)
p-mongo May 26, 2022
31d5f11
RUBY-2996 add feature flag for update/replace (#2515)
neilshweky Jun 3, 2022
b30fb93
RUBY-2986 Add queryable encryption docs (#2522)
comandeo-mongo Jun 8, 2022
efc20a5
Prepare 2.18.0.beta1 release (#2527)
comandeo-mongo Jun 8, 2022
b0a26b1
RUBY-3010 Allow unlimited connection pool (#2538)
comandeo-mongo Jun 24, 2022
3dc9124
RUBY-2997 Allow loading schema map from file (#2539)
comandeo-mongo Jun 28, 2022
f7db208
RUBY-3024 queryType accepts a string (#2546)
comandeo-mongo Jun 29, 2022
56f0c0a
RUBY-2699 make readable methods recognize chained options (#2547)
neilshweky Jul 6, 2022
26ee06e
RUBY-2797 Forward find conditions to View#aggregate (#2556)
neilshweky Jul 8, 2022
7290a25
RUBY-3031 Update expected FLE 2 find payloads (#2558)
comandeo-mongo Jul 13, 2022
c85360f
Update release notes for 2.18
p Jul 20, 2022
2358de8
Name anchors in release notes
p Jul 20, 2022
1ed4ed5
Note :srv_max_hosts
p Jul 20, 2022
62948a1
RUBY-2886 Add FLE shared lib support (#2564)
comandeo-mongo Jul 25, 2022
b81ec3d
RUBY-3073 RUBY-3077 Fix LMC version check (#2571)
comandeo-mongo Aug 1, 2022
2303d01
RUBY-3057 Update FLE2 docs (#2570)
comandeo-mongo Aug 2, 2022
ecb5cc5
RUBY-1554 Mention to_json in logging examples in tutorial (#2589)
neilshweky Aug 18, 2022
6db159e
RUBY-2989 Obtain AWS credentials for CSFLE (#2605)
comandeo-mongo Sep 2, 2022
6c1ba3f
RUBY-3099 Add Ruby 3.1 to compat tables (#2614)
comandeo-mongo Sep 6, 2022
2b115d9
RUBY-2671 remove old drivers, remove rapid releases, update kerberos …
neilshweky Sep 13, 2022
109559c
RUBY-2716 Note what command events/payloads are not published (#2629)
neilshweky Sep 15, 2022
4d7e410
RUBY-2534/RUBY-3120 Clarify specifying username with X509 certificate…
neilshweky Sep 19, 2022
91e2910
RUBY-2707 Document list_collections in tutorial (#2628)
neilshweky Sep 28, 2022
1ce8de8
RUBY-2942: Update documentation links (#2644)
alexbevi Oct 3, 2022
2bd88cf
RUBY-2942: Update documentation links (#297)
alexbevi Oct 3, 2022
d9f6c8f
RUBY-3062 Add GCP KMS auto credentials (#2653)
comandeo-mongo Nov 8, 2022
4201bac
RUBY-3184 Rename crypt_shared_lib_required (#2670)
comandeo-mongo Nov 23, 2022
6ff587a
RUBY-3189 Fix URI Options table (#2673)
neilshweky Dec 1, 2022
e7f6723
RUBY-3160 fix all parse errors except bson-tutorials (#2672)
neilshweky Dec 1, 2022
48d1074
Revert "RUBY-3184 Rename crypt_shared_lib_required (#2670)" (#2677)
comandeo-mongo Dec 9, 2022
c679216
RUBY-2732 Add service account support (#2681)
comandeo-mongo Jan 8, 2023
b9c90c9
RUBY-3215: Update client connection example to include Atlas (#2699)
alexbevi Mar 27, 2023
c9af439
RUBY-3143 split CSFLE and QE docs into separate sections (#2703)
jamis Apr 5, 2023
40160a3
RUBY-3219: Add link for AWS Lambda connection to Atlas (#2707)
alexbevi Apr 10, 2023
22fcd6d
RUBY-3200 add Ruby 3.2 to CI (#2728)
jamis Jun 12, 2023
8bc1bf4
Prepare release of 2.19.0 (#2736)
comandeo-mongo Jun 21, 2023
edf4b4c
Update compatibility tables (#2737)
comandeo-mongo Jun 23, 2023
3bda804
RUBY-3205 Deprecate collStats (#2738)
comandeo-mongo Jul 7, 2023
8d088bb
RUBY-3284 Enable max_connecting client option (#2739)
comandeo-mongo Jul 13, 2023
d2bc6df
DOCSP-31496: fix API link (#2743)
Jul 21, 2023
f484d6e
DOCSP-32949: docs link to the BSON 4.x Tutorial (#2784) (#2785)
jamis Sep 22, 2023
8d37a50
Prep for 2.19.3 (#2807)
jamis Nov 16, 2023
f700a39
fix API link (#2813)
jordan-smith721 Nov 29, 2023
9c23338
RUBY-3393: Rename BSON tutorial page (#321)
alexbevi Feb 7, 2024
8fb3e3d
DOCSP-37038: Fix broken link (#2841) (#2842)
norareidy Feb 22, 2024
ade4727
DOCSP-37137: Update BSON page references (#2844)
norareidy Feb 28, 2024
e54d641
DOP-4905: Merge remote-tracking branch 'remotes/driver-repo/2.19-stab…
i80and Aug 7, 2024
4739635
DOP-4905: Merge remote-tracking branch 'remotes/bson-driver/tutorial'…
i80and Aug 7, 2024
1360090
DOP-4905: Remove git submodules
i80and Aug 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion bson-ruby
Submodule bson-ruby deleted from ea6fe6
1 change: 0 additions & 1 deletion mongo-ruby-driver
Submodule mongo-ruby-driver deleted from 517891
1 change: 1 addition & 0 deletions source/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_build
20 changes: 20 additions & 0 deletions source/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
17 changes: 17 additions & 0 deletions source/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Ruby MongoDB Driver Documentation
=================================

This subdirectory contains the high-level driver documentation, including
tutorials and the reference.

Building the documentation for publishing is done via the
[docs-ruby repo](https://github.com/mongodb/docs-ruby).

To build the documentation locally for review, install `sphinx` and
`sphinx-book-theme`, then execute `make html` in this directory:

pip install sphinx sphinx-book-theme
make html

Note that the documentation generated in this manner wouldn't have the
BSON documentation included, nor are intersphinx links currently handled.
57 changes: 57 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))


# -- Project information -----------------------------------------------------

project = 'Ruby MongoDB Driver'
copyright = '2021, MongoDB'


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

source_suffix = {
'.txt': 'restructuredtext',
}

html_theme = 'sphinx_book_theme'
81 changes: 81 additions & 0 deletions source/contribute.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
************************
Contribute to the Driver
************************

.. default-domain:: mongodb

Report Bugs and Request Ruby Driver-Specific Features
=====================================================

To report a bug in the driver or request a feature specific to the Ruby driver:

1. Visit `our issue tracker <https://jira.mongodb.org/>`_ and login
(or create an account if you do not have one already).
2. Navigate to the `RUBY project <https://jira.mongodb.org/browse/RUBY>`_.
3. Click :guilabel:`Create Issue` and fill out all of the applicable form
fields.

When creating an issue, please keep in mind that all information in JIRA
for the RUBY project, as well as the core server (the SERVER project),
is publicly visible.

**PLEASE DO:**

- Provide as much information as possible about the issue.
- Provide detailed steps for reproducing the issue.
- Provide any applicable code snippets, stack traces and log data.
Do not include any sensitive data or server logs.
- Specify version numbers of the driver and MongoDB server.

**PLEASE DO NOT:**

- Provide any sensitive data or server logs.
- Report potential security issues publicly (see 'Security Issues' below).

.. note::

Bug reports in JIRA for the Ruby driver and the core server (the **SERVER**)
projects are public.

If you identified a potential security vulnerability in the Ruby driver or
any other MongoDB product, please report it according to the instructions found
in the :manual:`Create a Vulnerability Report
</tutorial/create-a-vulnerability-report>`.


Request Product Features
========================

To request a feature which is not specific to the Ruby driver, or which
affects more than the driver alone (for example, a feature which requires
MongoDB server support), please submit your idea through the
`MongoDB Feedback Forum <https://feedback.mongodb.com/forums/924286-drivers>`_.


Contribute Code
===============

The MongoDB Ruby driver source is located
`at GitHub <https://github.com/mongodb/mongo-ruby-driver>`_.

The list of known issues in the driver is available
`in JIRA <https://jira.mongodb.org/browse/RUBY>`_.

We recommend creating a JIRA ticket before starting work on a bug fix or
an improvement to the driver, to obtain feedback from the Ruby driver team
as to the proposed changes. A JIRA ticket is not required to submit
a pull request but it is appreciated, especially for non-trivial changes.

Pull requests should be made against the ``master`` branch and
include relevant tests, if applicable. The Ruby driver team will backport
the changes to the stable branches, if needed.

A MongoDB deployment is required to run the tests. Setup procedures and
recommendations for various deployments, as well as how to configure the
driver's test suite for the deployments, are covered in the `spec
readme <https://github.com/mongodb/mongo-ruby-driver/blob/master/spec/README.md>`__.

The driver is tested on `Evergreen <https://github.com/evergreen-ci/evergreen>`_,
MongoDB's in-house continuous integration platform. After a pull request
is created, one of the Ruby driver team engineers will schedule an Evergreen
build.
17 changes: 17 additions & 0 deletions source/getting-started.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. _getting-started:

***************
Getting Started
***************

.. default-domain:: mongodb

This section describes how to install the driver, installation prerequisites
and compatibility considerations.

.. toctree::
:titlesonly:

installation
reference/driver-compatibility
support
1 change: 1 addition & 0 deletions source/includes/unicode-checkmark.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. |checkmark| unicode:: U+2713
2 changes: 2 additions & 0 deletions source/includes/unicode-nbsp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.. |nbsp| unicode:: 0xA0
:trim:
67 changes: 67 additions & 0 deletions source/index.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
.. http://www.mongodb.org/display/DOCS/Ruby+Language+Center

.. _ruby-language-center:

*******************
Ruby MongoDB Driver
*******************

.. default-domain:: mongodb

Welcome to the documentation site for the official MongoDB Ruby driver.
You can add the driver to your application to work with MongoDB in
Ruby.

Get Started
===========

To get started with the Ruby driver, see :doc:`/installation` and
:doc:`/tutorials/quick-start`. Continue to :doc:`/tutorials`
for high level documentation for common operations.

BSON
====

The Ruby BSON implementation is packaged in a separate gem with C and
Java extensions for speed depending on the runtime environment.

For reference on the Ruby BSON gem, see the :doc:`/tutorials/bson`.

Object Mappers
==============

Because MongoDB is so easy to use, the basic Ruby driver can be the
best solution for many applications. But if you need validations,
associations, and other high-level data modeling functions, then you
may need Object Document Mapper.

In the context of a Rails application, an Object Document Mapper
provides functionality equivalent to, but distinct from, ActiveRecord.
Because MongoDB is a document-based database, these mappers are called
Object Document Mappers (ODM) as opposed to Object Relational Mappers
(ORM).

The ODM officially supported by MongoDB is Mongoid, originally written
by Durran Jordan.

For tutorials on Mongoid, see the `Mongoid Manual <https://mongodb.com/docs/mongoid/master>`_.

.. COMMENT For the actual build, see mongodb/docs-ruby repo which pulls the documentation source from:
.. mongo-ruby-driver,
.. bson-ruby, and
.. mongoid repos.

.. class:: hidden

.. toctree::
:titlesonly:

getting-started
tutorials
reference/connection-and-configuration
reference/working-with-data
reference/schema-operations
API <https://mongodb.com/docs/ruby-driver/current/api/>
release-notes
reference/additional-resources
contribute
56 changes: 56 additions & 0 deletions source/installation.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
************
Installation
************

.. default-domain:: mongodb

The Ruby driver is released as a gem hosted on `Rubygems
<https://rubygems.org/gems/mongo>`_.


Prerequisites
=============

Please see the :ref:`compatibility <compatibility>` page for the list of
Ruby versions and MongoDB server versions that this release of the Ruby
driver is compatible with.

The driver itself is written entirely in Ruby, however it depends on the
`bson library <https://rubygems.org/gems/bson>`_ which includes a C extension
for MRI and a compiled Java extension for JRuby. A working C compiler and Ruby
development headers and libraries are required when installing on MRI.
When installing on JRuby, JRE is sufficient because the ``bson`` gem includes
the compiled extension.

Connecting to TLS-enabled MongoDB servers, using SCRAM authentication
(both SCRAM-SHA-1 and SCRAM-SHA-256) and using X.509 authentication (which
is performed over a TLS connection) requires the Ruby ``openssl`` extension
to be present and working. The :ref:`TLS compatibility <tls-compatibility>`
section provides further details on usage of newer TLS protocols like TLS 1.1.


.. _installation:

Install the Gem
===============

Add ``mongo`` to your ``Gemfile``:

.. code-block:: ruby

gem "mongo", "~> 2"

To install the driver manually:

.. code-block:: sh

gem install mongo -v '~> 2'


What's New
==========

Please see the :ref:`release notes <release-notes>` for the major changes
in each driver release and the `releases page on GitHub
<https://github.com/mongodb/mongo-ruby-driver/releases>`_ for the complete
list of changes for each release of the driver.
7 changes: 7 additions & 0 deletions source/meta/404.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
:orphan:

**************
File not found
**************

The URL you requested does not exist or has been removed.
17 changes: 17 additions & 0 deletions source/nesting-levels.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
This file is not part of Ruby driver documentation proper, it is an internal
reference for the nesting levels that other files should be using.

Ruby driver documentation nesting levels:

**********
Page Title
**********

First Level Heading
===================

Second Level Heading
--------------------

Third Level Heading
```````````````````
Loading