Skip to content

Commit a9d25d6

Browse files
authored
Merge branch 'feature-consolidated-sdk-docs' into DOCSP-39503
2 parents 5668d2e + 1021196 commit a9d25d6

File tree

559 files changed

+17498
-3754
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

559 files changed

+17498
-3754
lines changed

.github/pull_request_template-base.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## Pull Request Info
2+
3+
Jira ticket: https://jira.mongodb.org/browse/DOCSP-NNNNN
4+
5+
### Staged Pages
6+
7+
- [PAGE_NAME](https://docs-mongodbcom-staging.corp.mongodb.com/realm/docsworker-xlarge/BRANCH_NAME/): description of changes
8+
9+
### Reminder Checklist
10+
11+
Before merging your PR, did you:
12+
13+
- [ ] Describe your PR's changes in the Release Notes section
14+
- [ ] Create a Jira ticket for related docs-app-services work, if any
15+
16+
### Release Notes
17+
18+
<!--
19+
- **Kotlin** SDK
20+
- Realm/Manage Realm Files/Encrypt a Realm: Add information on encryption for
21+
local and synced realms.
22+
-->
23+
24+
### Review Guidelines
25+
26+
[REVIEWING.md](https://github.com/mongodb/docs-realm/blob/master/REVIEWING.md)

.github/pull_request_template.md

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,47 @@
1-
## Pull Request Info
1+
## Pull Request Info - SDK Docs Consolidation
22

33
Jira ticket: https://jira.mongodb.org/browse/DOCSP-NNNNN
44

5-
- [PAGE_NAME](https://docs-mongodbcom-staging.corp.mongodb.com/realm/docsworker-xlarge/BRANCH_NAME/): description of changes
5+
*Staged Page*
66

7-
### Reminder Checklist
7+
- [PAGE_NAME](https://docs-mongodbcom-staging.corp.mongodb.com/realm/docsworker-xlarge/BRANCH_NAME/)
88

9-
Before merging your PR, make sure to check a few things.
9+
*Page Source*
1010

11-
- [ ] Did you tag pages appropriately?
11+
Add links to every SDK's pages where you got the SDK-specific information:
12+
13+
- [PAGE_NAME](https://www.mongodb.com/docs/atlas/device-sdks/LIVE-DOCS-LINK)
14+
15+
### PR Author Checklist
16+
17+
Before requesting a review for your PR, please check these items:
18+
19+
- [ ] Open the PR against the `feature-consolidated-sdk-docs` branch instead of `master`
20+
- [ ] Tag the consolidated page for:
1221
- genre
1322
- meta.keywords
1423
- meta.description
15-
- [ ] Describe your PR's changes in the Release Notes section
16-
- [ ] Create a Jira ticket for related docs-app-services work, if any
1724

18-
### Release Notes
25+
#### Naming
26+
- [ ] Update Realm naming and the language around persistence layer/local/device per [this document](https://docs.google.com/document/d/126OczVxBWAwZ4P5ZsSM29WI3REvONEr1ald-mAwPtyQ/edit?usp=sharing)
27+
- [ ] Include `.rst` files comply with [the naming guidelines](https://docs.google.com/document/d/1h8cr66zoEVeXytVfvDxlCSsUS5IZwvUQvfSCEXNMpek/edit#heading=h.ulh8b5f2hu9)
28+
29+
#### Links and Refs
30+
- [ ] Create new consolidated SDK ref targets starting with "_sdks-" for relevant sections
31+
- [ ] Remove or update any SDK-specific refs to use the new consolidated SDK ref targets
32+
- [ ] [Update any Kotlin API links](https://jira.mongodb.org/browse/DOCSP-32519) to use the new Kotlin SDK roles
33+
34+
#### Content
35+
- [ ] Shared code boxes have snippets or placeholders for all 9 languages
36+
- [ ] API description sections have API details or a generic placeholder for all 9 languages
37+
- [ ] Check related pages for relevant content to include
38+
- [ ] Create a ticket for missing examples in each relevant SDK: Consolidation Gaps epic
1939

20-
<!--
21-
- **Kotlin** SDK
22-
- Realm/Manage Realm Files/Encrypt a Realm: Add information on encryption for
23-
local and synced realms.
24-
-->
40+
### Reviewer Checklist
2541

26-
### Review Guidelines
42+
As a reviewer, please check these items:
2743

28-
[REVIEWING.md](https://github.com/mongodb/docs-realm/blob/master/REVIEWING.md)
44+
- [ ] Shared code example boxes contain language-specific snippets or placeholders for every language
45+
- [ ] API reference details contain working API reference links or generic content
46+
- [ ] Realm naming/language has been updated
47+
- [ ] All relevant content from individual SDK pages is present on the consolidated page

.github/workflows/bluehawk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ jobs:
1010
- uses: actions/checkout@v3
1111
- uses: actions/setup-node@v1
1212
with:
13-
node-version: 15.x
13+
node-version: 18.x
1414
- run: npx bluehawk check -i "*.md" -i "*.properties" -i "*.lock" examples tutorial

.github/workflows/check-links.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Check All Links for Errors
22

33
on:
4-
push:
5-
paths:
6-
- "source/**"
4+
pull_request:
5+
paths:
6+
- "source/**"
77

88
jobs:
99
check:

.github/workflows/check-redirects.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Check All Links for Errors
1+
name: Check For Bad Redirects
22

33
on:
44
pull_request:
55
paths:
66
- "source/**"
7-
7+
88
jobs:
99
check:
1010
runs-on: ubuntu-latest

.github/workflows/readability.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v3
1515
- name: Get changed files.
1616
id: changed-files
17-
uses: tj-actions/changed-files@v40
17+
uses: tj-actions/changed-files@v44
1818
with:
1919
files: source/sdk/**
2020
- name: List changed files (debugging log statement).

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scripts/build-site.sh -o build-site.sh
2+
sh build-site.sh

docs-release-notes.md

Lines changed: 91 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,90 @@
1+
# June 21, 2024
2+
3+
## Kotlin SDK
4+
5+
- Realm/Model Data
6+
- Define an Object Model: Add new "Define Unstructured Data" section outlining support for Collections as Mixed feature.
7+
- Supported Data Types: Update "RealmAny" section to indicate support for holding lists and dictionaries. Add a new "Collections as Mixed" section with details about modeling unstructured or variable data.
8+
9+
## .NET SDK
10+
11+
- Model Data
12+
- Define an Object Model: Add new "Define Unstructured Data" section outlining support for Collections as Mixed feature.
13+
- Supported Data Types > RealmValue: Update page to indicate support for holding lists and dictionaries. Add a new "Collections as Mixed" section with details about modeling unstructured or variable data.
14+
15+
## Node.js SDK
16+
17+
- Model Data
18+
- Define an Object Model: Add new "Define Unstructured Data" section outlining support for Collections as Mixed feature.
19+
- Supported Data Types/Mixed: Update page to indicate support for holding lists and dictionaries. Add a new "Collections as Mixed" section with details about modeling unstructured or variable data.
20+
21+
## React Native SDK
22+
23+
- Model Data
24+
- Define an Object Model: Add new "Define Unstructured Data" section outlining support for Collections as Mixed feature.
25+
- Supported Data Types/Mixed: Update page to indicate support for holding lists and dictionaries. Add a new "Collections as Mixed" section with details about modeling unstructured or variable data.
26+
27+
## Swift SDK
28+
29+
- Model Data
30+
- Define an Object Model: Add new "Define Unstructured Data" section outlining support for Collections as Mixed feature.
31+
- Supported Types: Update "AnyRealmValue" section to indicate support for holding lists and dictionaries. Add a new "Collections as Mixed" section with details about modeling unstructured or variable data.
32+
33+
# June 14, 2024
34+
35+
## .NET SDK
36+
37+
- Compatibility: Add note with minimum framework requirements when using the new source model generator.
38+
39+
## React Native SDK
40+
41+
- Atlas App Services: Fix a monospace formatting typo for an instance of the word "App".
42+
43+
## Swift SDK
44+
45+
- Install: Remove outdated information. Rename "Static Framework" install instructions to "Dynamic Framework."
46+
47+
# June 7, 2024
48+
49+
## Kotlin SDK
50+
51+
- Realm/Read & Write Data/Read: Fix typo.
52+
53+
## Other
54+
55+
- Internal: Update Node version to 18.x for compatibility with Bluehawk.
56+
57+
# May 31, 2024
58+
59+
## Other
60+
61+
- Internal: Update test suite dependencies to resolve security vulnerability alerts.
62+
63+
# May 24, 2024
64+
65+
## Java SDK
66+
67+
- Throughout the SDK: Note that new App Services Apps cannot use `RealmAny` with the Java SDK due to an incompatible protocol version.
68+
69+
## .NET SDK
70+
71+
- Application Services/Connect to an App Services App: Add a section on updating the `baseURL` during runtime.
72+
73+
# May 17, 2024
74+
75+
## C++ SDK
76+
77+
- Landing Page: Add "Learning Paths" section with links to the C++ quick start, template app, and tutorial.
78+
79+
## Swift SDK
80+
81+
- SwiftUI/Handle Sync Errors: New page demonstrating how to set and use a sync error handler in SwiftUI.
82+
83+
## Other
84+
85+
- Example Projects: Add the C++ template app to the SDK template app list.
86+
- Internal: Update test suite dependencies to resolve security vulnerability alerts.
87+
188
# May 10, 2024
289

390
## C++ SDK
@@ -165,7 +252,7 @@ Throughout Device SDK docs:
165252

166253
## Kotlin SDK
167254

168-
- Realm/Configure & Open a Realm: Fix a broken hyperlink.
255+
- Realm/Configure & Open a Realm: Fix a broken hyperlink.
169256

170257
# February 16, 2024
171258

@@ -197,9 +284,9 @@ Throughout Device SDK docs:
197284

198285
- Atlas App Services/Connect to an App Services App: Note that, starting in v12.6.0, you can update the `baseUrl` in the `AppConfiguration` because the App client no longer caches it.
199286

200-
## React Native SDK
287+
## React Native SDK
201288

202-
- Atlas App Services/Connect to an App Services App:
289+
- Atlas App Services/Connect to an App Services App:
203290
- Note that, starting in v12.6.0, you can update the `baseUrl` in the `AppConfiguration` because the App client no longer caches it.
204291
- Update examples to use new auth hooks.
205292
- API Reference/App Provider: Update `useApp` example to remove old auth pattern.
@@ -1540,7 +1627,7 @@ Prepare docs for C++ GA release, including:
15401627
- Model Data
15411628
- Define an Object Model: Update info for C# nullable reference types and nullable-aware context, add a Bluehawked code example
15421629
- Data Binding: Move a section about data binding and MVVM from Define an Object Model to Data Binding page
1543-
- React to Changes: Add a callout with info about binding data to the UI and a link to the the Data Binding page
1630+
- React to Changes: Add a callout with info about binding data to the UI and a link to the Data Binding page
15441631

15451632
## Node.js SDK
15461633

examples/dart/bin/models/car.realm.dart

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

examples/dart/bundle_example/pubspec.lock

Lines changed: 44 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,30 @@ packages:
315315
url: "https://pub.dev"
316316
source: hosted
317317
version: "4.8.1"
318+
leak_tracker:
319+
dependency: transitive
320+
description:
321+
name: leak_tracker
322+
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
323+
url: "https://pub.dev"
324+
source: hosted
325+
version: "10.0.4"
326+
leak_tracker_flutter_testing:
327+
dependency: transitive
328+
description:
329+
name: leak_tracker_flutter_testing
330+
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
331+
url: "https://pub.dev"
332+
source: hosted
333+
version: "3.0.3"
334+
leak_tracker_testing:
335+
dependency: transitive
336+
description:
337+
name: leak_tracker_testing
338+
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
339+
url: "https://pub.dev"
340+
source: hosted
341+
version: "3.0.1"
318342
lints:
319343
dependency: transitive
320344
description:
@@ -335,26 +359,26 @@ packages:
335359
dependency: transitive
336360
description:
337361
name: matcher
338-
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
362+
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
339363
url: "https://pub.dev"
340364
source: hosted
341-
version: "0.12.16"
365+
version: "0.12.16+1"
342366
material_color_utilities:
343367
dependency: transitive
344368
description:
345369
name: material_color_utilities
346-
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
370+
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
347371
url: "https://pub.dev"
348372
source: hosted
349-
version: "0.5.0"
373+
version: "0.8.0"
350374
meta:
351375
dependency: transitive
352376
description:
353377
name: meta
354-
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
378+
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
355379
url: "https://pub.dev"
356380
source: hosted
357-
version: "1.10.0"
381+
version: "1.12.0"
358382
mime:
359383
dependency: transitive
360384
description:
@@ -383,10 +407,10 @@ packages:
383407
dependency: transitive
384408
description:
385409
name: path
386-
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
410+
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
387411
url: "https://pub.dev"
388412
source: hosted
389-
version: "1.8.3"
413+
version: "1.9.0"
390414
pool:
391415
dependency: transitive
392416
description:
@@ -532,10 +556,10 @@ packages:
532556
dependency: transitive
533557
description:
534558
name: test_api
535-
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
559+
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
536560
url: "https://pub.dev"
537561
source: hosted
538-
version: "0.6.1"
562+
version: "0.7.0"
539563
timing:
540564
dependency: transitive
541565
description:
@@ -560,22 +584,22 @@ packages:
560584
url: "https://pub.dev"
561585
source: hosted
562586
version: "2.1.4"
563-
watcher:
587+
vm_service:
564588
dependency: transitive
565589
description:
566-
name: watcher
567-
sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
590+
name: vm_service
591+
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
568592
url: "https://pub.dev"
569593
source: hosted
570-
version: "1.1.0"
571-
web:
594+
version: "14.2.1"
595+
watcher:
572596
dependency: transitive
573597
description:
574-
name: web
575-
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
598+
name: watcher
599+
sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
576600
url: "https://pub.dev"
577601
source: hosted
578-
version: "0.3.0"
602+
version: "1.1.0"
579603
web_socket_channel:
580604
dependency: transitive
581605
description:
@@ -593,5 +617,5 @@ packages:
593617
source: hosted
594618
version: "3.1.2"
595619
sdks:
596-
dart: ">=3.2.0-194.0.dev <4.0.0"
597-
flutter: ">=3.10.2"
620+
dart: ">=3.3.0 <4.0.0"
621+
flutter: ">=3.18.0-18.0.pre.54"

0 commit comments

Comments
 (0)