Commit Graph

12247 Commits

Author SHA1 Message Date
Gabriel Grubba
6109979825 Meteor version to 2.12.0-beta.1 ☄️ 2023-04-05 15:00:37 -03:00
Gabriel Grubba
a5409e2c1d Meteor version to 2.12.0-beta.0 :commet 2023-04-04 16:59:58 -03:00
Gabriel Grubba
51e5c8ca88 Merge branch 'release-2.12' into adding-warn-when-using-old-apis 2023-04-04 16:34:03 -03:00
Gabriel Grubba
f2621b58cd chore: updated .lockfiles 2023-04-04 16:31:17 -03:00
Gabriel Grubba
bb7d0e286b updated warnUsingOldApi method 2023-04-04 16:31:02 -03:00
Gabriel Grubba
ab4f07ca2b added WARN_WHEN_USING_OLD_API for fetch as well 2023-04-04 16:05:37 -03:00
Gabriel Grubba
61662fb3cc chore: added WARN_WHEN_USING_OLD_API variable 2023-04-04 16:05:25 -03:00
Gabriel Grubba
3a8b1a5935 updated .lockfiles 2023-04-04 15:26:34 -03:00
Gabriel Grubba
e14f4431ba chore: updating mongoDB driver to 4.15 2023-04-04 14:43:24 -03:00
Gabriel Grubba
a668d2f9f1 Merge pull request #12082 from wreiske/ddp-rate-limit-rule-messages
Allow setting a custom ddp-rate-limit message per rule
2023-04-04 10:26:17 -03:00
Gabriel Grubba
7ff8b82bb0 Merge branch 'devel' into ddp-rate-limit-rule-messages 2023-04-04 10:16:54 -03:00
Gabriel Grubba
9d75077951 Merge pull request #12539 from DblK/fix/add-missing-loginServiceConfiguration
fix: loginServiceConfiguration missing type on Accounts
2023-04-04 10:15:14 -03:00
Gabriel Grubba
d67c0f334a Merge pull request #12533 from ArthurHoaro/types-countDocuments
Add TS types for Mongo Collection countDocuments and estimatedDocumentCount
2023-04-04 10:09:28 -03:00
Rémy Boulanouar
1b99cc01b9 Merge branch 'devel' into fix/add-missing-loginServiceConfiguration 2023-04-04 14:58:31 +02:00
Gabriel Grubba
cfd40d50ad Merge branch 'devel' into types-countDocuments 2023-04-04 09:52:04 -03:00
Gabriel Grubba
79195cf899 Merge pull request #12545 from DblK/fix/add-missing-addHtmlAttributeHook
fix: addHtmlAttributeHook missing type on WebApp
2023-04-04 09:51:14 -03:00
Gabriel Grubba
5664d0d19b Merge branch 'devel' into fix/add-missing-addHtmlAttributeHook 2023-04-04 09:45:09 -03:00
Gabriel Grubba
f8c23af634 Merge pull request #12554 from ebroder/type-fixes
Two type fixes
2023-04-04 09:41:34 -03:00
Gabriel Grubba
d362188f49 Merge pull request #12562 from wreiske/fix-12561
Bump NPM versions for css minifiers
2023-04-04 09:39:33 -03:00
Gabriel Grubba
efdfdba8a6 updated to solve comments 2023-04-04 09:30:40 -03:00
Gabriel Grubba
8a06af6cc4 Merge branch 'devel' into document-meteor-object-properties 2023-04-04 09:26:28 -03:00
harryadel
0ce0f5af11 Document main function in webapp 2023-04-02 05:42:29 +02:00
Jan Dvorak
76edf3fafa Merge branch 'devel' into ddp-rate-limit-rule-messages 2023-03-24 08:37:41 +01:00
harryadel
feba76909f Add undefined as a possible value to gitCommitHash 2023-03-17 13:42:35 +02:00
harryadel
259a9fa7b0 Add undocument properties to docs
Should resolve https://github.com/meteor/meteor/issues/12318
2023-03-15 16:01:46 +02:00
Rémy Boulanouar
fd16e9e53d fix: addHtmlAttributeHook missing type on WebApp 2023-03-15 09:27:10 +01:00
Will Reiske
babe4e5541 Fix tinytests for CSS minification 2023-03-14 19:17:53 -07:00
Will Reiske
9dd7aaba6b Bump NPM versions for css minifiers
RESOLVES: #12561
2023-03-14 16:05:02 -07:00
Evan Broder
97eb960cb6 Fix type declaration for CustomEmailOptions 2023-03-09 13:22:02 -08:00
Evan Broder
755a1b5ab4 Fix type declarations for index creation methods 2023-03-09 13:20:31 -08:00
ArthurHoaro
1447ac18c7 Update packages/mongo/mongo.d.ts
Co-authored-by: Radosław Miernik <radekmie@gmail.com>
2023-03-06 08:30:06 -05:00
Rémy Boulanouar
ae1aae6048 fix: loginServiceConfiguration missing type on Accounts 2023-03-06 10:40:58 +01:00
ArthurHoaro
7596d03a01 Add TS types for Mongo Collection countDocuments and estimatedDocumentCount
Types were missing but both methods are implemented in `collection.js`
and documented here: https://docs.meteor.com/api/collections.html#Mongo-Collection-countDocuments

Also, `estimatedDocumentCount` does not take a selector as parameter.
See:

  * https://www.mongodb.com/docs/drivers/node/current/usage-examples/count/
  * https://mongodb.github.io/node-mongodb-native/5.1/classes/Collection.html#estimatedDocumentCount
2023-03-03 09:44:45 -05:00
Gabriel Grubba
3fa377af65 Meteor version to 2.11.0 ☄️ 2023-03-02 16:13:46 -03:00
Gabriel Grubba
8eb870577d Meteor to version 2.11.0 :commet: 2023-03-02 16:12:01 -03:00
Gabriel Grubba
cdb0b17353 Meteor version to 2.11.0 ☄️ 2023-03-02 15:55:21 -03:00
Gabriel Grubba
97fef9080d Meteor version to 2.11.0-rc.2 ☄️ 2023-02-23 19:45:13 -03:00
Gabriel Grubba
0d340873dc chore: updated mongo.d.ts imports 2023-02-23 19:44:48 -03:00
Evan Broder
f08d2edbf9 Improve specificity of types previously declared as "Object" 2023-02-20 09:33:11 -08:00
Gabriel Grubba
b27b6e4411 Merge branch 'devel' into release-2.11 2023-02-10 18:00:33 -03:00
Gabriel Grubba
94e872ba81 Meteor version to 2.11.0-rc.1 ☄️ 2023-02-10 17:28:41 -03:00
Gabriel Grubba
31ec2cae39 Meteor version to 2.11.0-rc.1 ☄️ 2023-02-10 17:25:01 -03:00
Gabriel Grubba
ef489d896d chore: bumbed packages version 2023-02-10 16:50:45 -03:00
zodern
08e39df932 Update coffeescript to 2.7.0 2023-02-10 13:38:21 -06:00
Gabriel Grubba
d618d3482e Merge pull request #12505 from ebroder/typescript-dependencies
Fix TypeScript type dependencies for mongo, webapp, and underscore
2023-02-10 15:24:28 -03:00
Gabriel Grubba
b43b926f76 Merge pull request #12508 from ebroder/npm-ignore
Remove packages/*/.npm from gitignore and add missing .npm folders
2023-02-10 09:41:21 -03:00
Gabriel Grubba
61164a2102 Merge pull request #12495 from Ujjwal-S/fix-type-checking
Fixed changePassword and resetPassword functions type checking conditions
2023-02-10 09:38:51 -03:00
Evan Broder
2be8e56e24 Remove packages/*/.npm from gitignore and add missing .npm folders
It sounds like these folders are supposed to be committed, so long as
they aren't dumping additional junk beyond the npm-shrinkwrap file
(which seems to be the case). So remove them from .gitignore and add the
ones that are missing (presumably as a result of the gitignore).
2023-02-09 13:48:24 -08:00
Evan Broder
e6a399e64f Add missing type dependencies to underscore and webapp packages
This enables their own type declarations to work out of the box.
2023-02-09 13:37:39 -08:00
Evan Broder
f3f5e01ea8 Thread upstream mongodb types through npm-mongo
As it exists currently, the types for the mongo package don't work out
of the box because they can't find the types for the mongodb NPM
package. TypeScript app developers could work around this by adding
mongodb directly as a dependency, but they shouldn't have to.

However, `zodern:types` can handle pulling in types for NPM
dependencies, but only if the package _with_ those NPM dependencies is
itself exporting type declarations. Since npm-mongo is actually
depending on the mongodb package, add a type declaration reflecting both
the types and objects that it exports. Then switch the mongo package to
import from npm-mongo, giving it access to the types for the mongodb
package.
2023-02-09 13:37:30 -08:00