Commit Graph

159 Commits

Author SHA1 Message Date
Harry Adel
6d0565b6ff Add more clarity to docs 2026-04-20 00:42:31 +02:00
Harry Adel
19b141ab32 Merge remote-tracking branch 'upstream/release-3.5' into accounts-async-client
# Conflicts:
#	packages/accounts-base/accounts_client.js
#	packages/ddp-client/test/livedata_connection_tests.js
2026-04-09 18:03:47 +02:00
italo jose
51b96dae88 Merge branch 'devel' into release-3.5 2026-04-09 12:26:46 -03:00
Harry Adel
fa568191a2 Merge branch 'devel' into accounts-async-client 2026-04-05 15:11:20 +02:00
italo jose
6d27823279 docs: add changelog, e2e-coverage, and version-bump skill documentation and update development workflows 2026-04-03 14:01:17 -03:00
Frederico Maia
f7b4c1a4a0 Update collections documentation to correct the MONGO_OPLOG_URL reference for oplog tailing configuration. 2026-03-31 06:12:12 -03:00
Frederico Maia
c14e11df73 Update collections documentation to reflect that new Meteor 3.x projects do not include the autopublish and insecure packages by default. 2026-03-30 22:00:00 -03:00
Frederico Maia
647a61f8b8 Enhance collections documentation by having React and Blaze examples for 'give points' and 'remove' button functionalities, improving clarity and consistency across frameworks. 2026-03-30 21:54:31 -03:00
Frederico Maia
94a1e7cc95 Refactor collections documentation to improve clarity and update examples. 2026-03-30 21:38:35 -03:00
Harry Adel
c9a6095e5f Merge branch 'devel' into accounts-async-client 2026-03-08 13:17:26 +02:00
Italo José
e9f0e19d5e Merge branch 'release-3.5' into feature/ddp-resumptions-rebased 2026-03-06 15:56:52 -03:00
Italo José
7c7368e704 Merge branch 'devel' into release-3.5 2026-03-06 15:41:14 -03:00
Italo José
469c7bdb0a Merge branch 'devel' into release-3.5 2026-03-03 14:09:59 -03:00
Italo José
93bf58af1b Merge branch 'devel' into docs/community-session 2026-03-03 10:11:45 -03:00
Italo José
62c68c3726 Merge branch 'release-3.5' into feature/ddp-resumptions-rebased 2026-03-03 09:38:43 -03:00
Harry Adel
e953da8989 Merge branch 'devel' into document-accounts-url 2026-03-01 23:55:33 +02:00
Harry Adel
1e4adfda03 Merge branch 'devel' into accounts-async-client 2026-02-26 10:13:22 +02:00
italo jose
44d6ea84a2 feat: add dynamic contributors page with GitHub data fetching, update navigation, and include rspack and tools-core in the API package listing. 2026-02-25 17:15:29 -03:00
Italo José
43e90b22ae Merge branch 'devel' into release-3.5 2026-02-24 18:08:00 -03:00
italo jose
326c9d6629 Merge branch 'accounts/cookies-approach' into release-3.5 2026-02-24 11:57:46 -03:00
Harry Adel
7737ed5854 Fix dead links and Vue template interpolation errors in build
- Replace /api/passwords with /api/accounts in accounts tutorial
  (accounts-password API lives in the accounts page)
- Replace /api/accounts-multi with /api/accounts
- Fix /tutorials dead link to point to react tutorial
- Fix /packages/3.writing-atmosphere-packages to use new path (#7)
- Escape {{_}} and {{currentUser}} with v-pre to prevent Vue SSR
  interpolation errors
- Replace ApiBox with markdown headings for deprecated collection
  extension aliases (addPrototype, removePrototype) that lack jsdoc
  entries
2026-02-09 04:02:36 +02:00
Harry Adel
92164e3f6f Fix stale links across API, package, about, CLI, and community docs
Replace guide.meteor.com, v3-docs.meteor.com, and docs.meteor.com
URLs with internal v3 paths. Drop .html extensions. Update text
references from 'Meteor Guide' to 'Tutorials' where appropriate.

Affected: accounts API, CLI reference, cordova, install, roadmap,
web-apps, rspack-bundler-integration, react-meteor-data, accounts-ui,
modules, jam-method, and pub-sub docs.
2026-02-09 03:45:01 +02:00
Harry Adel
1ee601661b Document Meteor 3.4 API additions in collections and meteor docs
- Add Collection Extensions API docs, integrated into core from
  lai:collection-extensions (PR#13830)
- Add Meteor.deferDev() for optimizing server startup in dev (PR#14006)
2026-02-09 03:40:50 +02:00
Harry Adel
33053571e4 Update docs 2026-02-05 18:47:18 +02:00
Harry Adel
522468066a Merge branch 'devel' into document-accounts-url 2026-02-03 20:37:45 +02:00
Nacho Codoñer
1e146f0e76 update Rspack plugin references in documentation 2026-01-21 15:33:43 +01:00
Nacho Codoñer
819b1549f9 update build plugins for packages docs to reflect Rspack limitations in Meteor 3.4+ 2026-01-19 16:54:53 +01:00
Harry Adel
8460a49901 [accounts-base] Document changes 2025-12-25 15:48:12 +02:00
Vlad Lasky
4984d3bf1e Address PR review feedback
- Fix wording: "insure" → "to help prevent" in docs and JSDoc
- Extract heartbeat cleanup to _stopHeartbeat() helper method
- Simplify disconnect handling: remove redundant condition check
- Update documentation: add Reconnection section, use "Meteor 3.5+"
  instead of time-sensitive language, update PR link to #14051
- Update comment at line 1480 to reflect session resume/create behavior
- Replace delete statements with = undefined for V8 JIT optimization
- Remove unused variable clientConn in test
- Add comment clarifying _permanent flag purpose in close()
2025-12-23 17:01:41 +11:00
Vlad Lasky
00ff9c17b5 Implement DDP session resumption for graceful reconnects
This feature allows Meteor clients to resume their DDP connections after
temporary disconnections without re-establishing full session state.

Key changes:
- Server tracks sent message count per session (sentCount)
- Client tracks received message count (receivedCount)
- On reconnect, client sends receivedCount with session ID
- Server validates counts match to allow session resumption
- New disconnect message allows graceful disconnects
- Grace period (default 15s) keeps session alive after disconnect
- Message queue (max 100) buffers messages during disconnect

Server options:
- Meteor.server.options.disconnectGracePeriod (default: 15000ms)
- Meteor.server.options.maxMessageQueueLength (default: 100)

This significantly reduces server CPU spikes when clients reconnect
(e.g., after Google Cloud Run timeouts) by avoiding full session
recreation and data re-fetch.

Based on PR #13378. Rebased onto current devel branch with refactored
ddp-client handlers.

Co-authored-by: Jan Dvorak <AsciiDoctor@outlook.com>
Co-authored-by: Valentin Slatineanu <valentin.slatineanu@gmail.com>
Co-authored-by: zodern <zodern@icloud.com>
2025-12-12 12:35:08 +11:00
Nacho Codoñer
d68160c553 Merge branch 'devel' into release-3.4 2025-12-09 16:10:33 +01:00
Harry Adel
e4b9034a56 Document how to work with hash URLs 2025-12-08 19:46:59 +02:00
Italo José
e6e294809d Merge branch 'devel' into patch-2 2025-12-02 18:41:10 -03:00
Tajagn Garala
30cd44bc56 docs: add documentation for loginWithToken in accounts.md (#13839)
* Duplicate forEachAsync definition removed.

* going back

* docs: add loginWithToken to accounts.md

* repush the brench

* Restore accounnt-ui documentation line and keel loginWithToken docs

* Fix formatting in accounts.md documentation

* Fix formatting issue in accounts.md

---------

Co-authored-by: Italo José <italo.i@live.com>
2025-12-02 15:29:12 -03:00
Jan Dvorak
ebc124dd80 Add docs for OAuth configurations (#13946)
Also includes auto generated stuff

Co-authored-by: Italo José <italo.i@live.com>
2025-12-02 14:50:08 -03:00
Nacho Codoñer
8edf7b7236 Merge branch 'devel' into release-3.4 2025-11-26 15:44:45 +01:00
imongithubnow
0087dfb16c Update app.md
Fix example value for a preference
2025-11-26 14:25:33 +01:00
Nacho Codoñer
b578977720 Merge branch 'devel' into release-3.4 2025-11-25 14:50:49 +01:00
Nacho Codoñer
84d530c17a Merge pull request #12852 from harryadel/feature/check
Add NonEmptyString to check package
2025-11-24 17:59:25 +01:00
Gabriel Grubba
d901ce98b3 DOCS: update meteor.com/cloud to galaxycloud.app
URLs have changed, and this is another round of updating those!
2025-11-19 09:53:20 -03:00
Harry Adel
0c1058d939 [docs] Add NonEmptyString 2025-11-16 22:07:19 +02:00
Nacho Codoñer
d0ad65f3ca Merge pull request #14006 from meteor/feature/meteor.deferrable
FEATURE: `Meteor.deferrable`
2025-11-11 17:23:42 +01:00
Gabriel Grubba
2c74b2f2d0 DOCS: add detail on why this function is nice to have 2025-11-10 10:25:44 -03:00
Gabriel Grubba
8f58378836 FEATURE: Meteor.deferrable
While working on updating apps to use the new modern bundle, we came across some places that used this exciting pattern to get some performance gains on dev mode:

```js
  if (Meteor.isDevelopment) {
    Meteor.defer(loadSomethingRemote);
  } else {
    await loadSomethingRemote();
  }
```

Sometimes we do not need this service while in dev and this would only make our startup slower, _now_ with this function we can have this nice api to wrap it:

```js
  await Meteor.deferrable(connectToExternalDB, {
    on: ["development"],
  });
```
2025-11-10 10:12:18 -03:00
Nacho Codoñer
f282aaeb03 add Npm.devDepends in Atmosphere package docs 2025-10-28 10:58:01 +01:00
Nacho Codoñer
e36fef1436 Merge pull request #13830 from harryadel/mongo/collection-extensions
Integrate lai:collection-extensions into core
2025-10-20 16:16:19 +02:00
italo jose
bf607d4cca Add documentation for HttpOnly cookie support in Accounts 2025-10-07 02:45:43 -03:00
Jan Dvorak
efbbf67281 add: Accounts.logoutAllClients 2025-08-06 11:16:39 -03:00
harryadel
8cee77867f Add documentation 2025-07-07 10:52:55 -03:00
Jørgen Vatle
adc948b38a Add ApiBox for Mongo.getCollection from v2 docs.
#13641

v2 docs commit: 962438254a
2025-07-06 18:19:55 +03:00