A collection of data structures and algorithms implemented using JavaScript
MongoDB object modeling designed to work in an asynchronous environment.
chore: revert "chore(pipelines): write a GraphViz file with the pipeline structure (#23908)" (#24006)
This reverts commit ec73c390b2f8cf21b5d826240e1892efe4225da3.
Closes #23990
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore: revert "chore(pipelines): write a GraphViz file with the pipeline structure (#23908)" (#24006)
This reverts commit ec73c390b2f8cf21b5d826240e1892efe4225da3.
Closes #23990
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore(release): 2.63.2
chore: fix changelogs
chore(release): 2.63.2 (#24008)
See CHANGELOG
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Merge branch 'main' into merge-back/2.63.2
chore(merge-back): 2.63.2 (#24012)
See CHANGELOG
Hi @ManjeetvermaCode ✋
Try to change your imports and references to:
// farm.js
// Change `const product = require('./products');` to:
require('./products');
products: [
{
type: Schema.Types.ObjectId,
ref: 'Product',
},
];
// product.js
// Remove `const farm = require('./farm');`
farms: [
{
type: mongoose.Schema.Types.ObjectId,
ref: 'Farm',
},
];
The pull request linter fails with the following errors:
❌ Fixes must contain a change to an integration test file and the resulting snapshot.
PRs must pass status checks before we can provide a meaningful review.
I'm not changing the CFN stack so I don't think integration test changes should be necessary.
feat(cfnspec): cloudformation spec v109.0.0 (#23984)
fix(cdk-assets): packaging assets is broken on Node older than 14.17 (#23994)
This reverts commit 18e0481a3bbcb92bd22ce4e83d4f02e03e484307.
Closes #23859
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
fix(cdk-assets): packaging assets is broken on Node older than 14.17 (#23994)
This reverts commit 18e0481a3bbcb92bd22ce4e83d4f02e03e484307.
Closes #23859
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore(release): 2.63.1
feat(redshift): Tables can include comments (#23847)
Adds comments to tables.
closes #22682
yarn integ
to deploy the infrastructure and generate the snapshot (i.e. yarn integ
without --dry-run
)?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore: fix changelog entry
fix(codedeploy): cross-region referenced groups use wrong config (#23986)
DeploymentGroups grant IAM permissions to their DeploymentConfigs, by their ARN.
When using a predefined DeploymentConfig (like ECS_ALL_AT_ONCE
) however, we used to use Aws.ACCOUNT_ID, Aws.REGION
to build the ARN for the DeploymentConfig. This would be incorrect if the DeploymentGroup is referenced in a different region (by using DeploymentGroup.fromDeploymentGroupArn()
): the Aws.REGION
token would resolve to the region of the referencing Stack, instead of the region of the referenced DeploymentGroup.
Make all predefined DeploymentConfigs implement a hidden interface that allows the DeploymentGroup to specialize the Config to its own account and region. This behavior is not relevant for user-created deployment configs: those will still be region-bound, so customers won't need access to this interface.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore(release): v2.63.1 (#23995)
See CHANGELOG
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Merge branch 'main' into merge-back/2.63.1
chore(merge-back): 2.63.1 (#23999)
See CHANGELOG
added for-use-with-amazon-emr-managed-policies = true tag and test case
Merge branch 'main' into gh-23915
feat(cfnspec): cloudformation spec v109.0.0 (#23984)
fix(cdk-assets): packaging assets is broken on Node older than 14.17 (#23994)
This reverts commit 18e0481a3bbcb92bd22ce4e83d4f02e03e484307.
Closes #23859
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
fix(cdk-assets): packaging assets is broken on Node older than 14.17 (#23994)
This reverts commit 18e0481a3bbcb92bd22ce4e83d4f02e03e484307.
Closes #23859
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore(release): 2.63.1
feat(redshift): Tables can include comments (#23847)
Adds comments to tables.
closes #22682
yarn integ
to deploy the infrastructure and generate the snapshot (i.e. yarn integ
without --dry-run
)?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore: fix changelog entry
fix(codedeploy): cross-region referenced groups use wrong config (#23986)
DeploymentGroups grant IAM permissions to their DeploymentConfigs, by their ARN.
When using a predefined DeploymentConfig (like ECS_ALL_AT_ONCE
) however, we used to use Aws.ACCOUNT_ID, Aws.REGION
to build the ARN for the DeploymentConfig. This would be incorrect if the DeploymentGroup is referenced in a different region (by using DeploymentGroup.fromDeploymentGroupArn()
): the Aws.REGION
token would resolve to the region of the referencing Stack, instead of the region of the referenced DeploymentGroup.
Make all predefined DeploymentConfigs implement a hidden interface that allows the DeploymentGroup to specialize the Config to its own account and region. This behavior is not relevant for user-created deployment configs: those will still be region-bound, so customers won't need access to this interface.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore(release): v2.63.1 (#23995)
See CHANGELOG
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Merge branch 'main' into merge-back/2.63.1
chore(merge-back): 2.63.1 (#23999)
See CHANGELOG
@vkarpov15 Seems reasonable. Pushed PR to revert introduced changes. Thanks to @4rgc for the analysis and feedback 👍
closes #12930
Summary As a result of this conversation, #12797 introduced breaking changes. This PR revert them (as well as the fix of #12826) to the previous behavior.
Update queries now do not remove fields set to undefined
.
docs(transactions): added example for Connection.transaction() method
fix #12934
Fix discriminator type field update for custom discriminator model name
types(expressions): added missing Top operator to AccumulatorOperator declaration
fix #12950
Use correct type for "near" aggregation stage (supported by MongoDB 4.0+)
fix(connection): handles unique autoincrement ID for connections
fix #12966
fixed example id values
fix(document): isModified should not be triggered when setting a nested boolean to the same value as previosly
fix #12992
Update transactions.md
Removed unnecessary 'or' from line 15.
Merge pull request #12995 from Parth86/patch-1
Update transactions.md
Update document.js
Merge pull request #12994 from lpizzinidev/gh-12992
fix(document): isModified should not be triggered when setting a nested boolean to the same value as previosly
Merge pull request #12990 from lpizzinidev/gh-12966
fix(connection): handles unique autoincrement ID for connections
Merge pull request #12954 from Jokero/fixNearAggregateOperatorInputType
Fix "near" aggregation operator input type
Merge pull request #12952 from lpizzinidev/gh-12950
types(expressions): added missing Top operator to AccumulatorOperator
type declaration
Merge pull request #12947 from wassil/fix-discriminator-update
Fix discriminator type field update for custom discriminator model name
Merge pull request #12943 from lpizzinidev/gh-12934
docs(transactions): added example for Connection.transaction()
method
@davidjgolding Thanks for the feedback. I'll try to fix it and add some tests as requested by CI.
Closes #23915
Summary
Changed EMR used policies from AmazonElasticMapReduceRole
to AmazonEMRServicePolicy_v2
as by documentation.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore: npm-check-updates && yarn upgrade (#23954)
Ran npm-check-updates and yarn upgrade to keep the yarn.lock
file up-to-date.
chore: add label to stop bot from closing pr (#23960)
The label has already been added to the repo. This will add the label to the bot settings to bypass the PR when it runs.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore: make ubergen a library (#23962)
Move the useful stuff in ubergen into lib/index.ts and add main
field to package json so packages within the repository can depend on it's functionality. Specifically useful for repo restructure work.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
docs(cfnspec): update CloudFormation documentation (#23965)
feat(cfnspec): cloudformation spec v109.0.0 (#23968)
chore(iam): correct spelling in documentation (#23961)
docs: correct spelling in documentation
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
chore(rds): support versions for postgresql (#23971)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
fix #12992
You should be able to delay openUri
call by not specifying the uri
parameter for createConnection
, taken from the docs:
// initialize now, connect later
db = mongoose.createConnection();
db.openUri('127.0.0.1', 'database', port, [opts]);
fixed example id values
fix #12966
Summary
Added nextConnectionId
counter to keep track of auto-increment IDs for new connections.
docs: update local hostname
changed 127.0.0.1 to 0.0.0.0
Update README.md : fixed typo
Co-authored-by: Hafez a.hafez852@gmail.com
Merge pull request #12964 from ankushknr19/master
update README.md: fixed typo
chore(deps-dev): bump mkdirp from 1.0.4 to 2.1.3
Bumps mkdirp from 1.0.4 to 2.1.3.
updated-dependencies:
Signed-off-by: dependabot[bot] support@github.com
chore(deps): bump actions/checkout from 3.2.0 to 3.3.0
Bumps actions/checkout from 3.2.0 to 3.3.0.
updated-dependencies:
Signed-off-by: dependabot[bot] support@github.com
chore(deps): bump actions/setup-node from 3.5.1 to 3.6.0
Bumps actions/setup-node from 3.5.1 to 3.6.0.
updated-dependencies:
Signed-off-by: dependabot[bot] support@github.com
chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps @typescript-eslint/eslint-plugin from 5.47.1 to 5.50.0.
updated-dependencies:
Signed-off-by: dependabot[bot] support@github.com
chore(deps-dev): bump @typescript-eslint/parser from 5.47.1 to 5.50.0
Bumps @typescript-eslint/parser from 5.47.1 to 5.50.0.
updated-dependencies:
Signed-off-by: dependabot[bot] support@github.com
Merge pull request #12980 from Automattic/dependabot/github_actions/master/actions/setup-node-3.6.0
chore(deps): bump actions/setup-node from 3.5.1 to 3.6.0
Merge pull request #12978 from Automattic/dependabot/github_actions/master/actions/checkout-3.3.0
chore(deps): bump actions/checkout from 3.2.0 to 3.3.0
Merge pull request #12982 from Automattic/dependabot/npm_and_yarn/master/typescript-eslint/eslint-plugin-5.50.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.47.1 to 5.50.0
Merge branch 'master' into dependabot/npm_and_yarn/master/typescript-eslint/parser-5.50.0
Merge pull request #12985 from Automattic/dependabot/npm_and_yarn/master/typescript-eslint/parser-5.50.0
chore(deps-dev): bump @typescript-eslint/parser from 5.47.1 to 5.50.0
chore(deps-dev): bump @babel/core from 7.20.7 to 7.20.12
Bumps @babel/core from 7.20.7 to 7.20.12.
updated-dependencies:
Signed-off-by: dependabot[bot] support@github.com
Merge pull request #12983 from Automattic/dependabot/npm_and_yarn/master/babel/core-7.20.12
chore(deps-dev): bump @babel/core from 7.20.7 to 7.20.12
chore(deps-dev): bump eslint from 8.31.0 to 8.33.0
Bumps eslint from 8.31.0 to 8.33.0.
updated-dependencies:
Signed-off-by: dependabot[bot] support@github.com
chore(deps-dev): bump typescript from 4.9.4 to 4.9.5
Bumps typescript from 4.9.4 to 4.9.5.
updated-dependencies:
Signed-off-by: dependabot[bot] support@github.com
Merge pull request #12976 from Automattic/dependabot/npm_and_yarn/master/typescript-4.9.5
chore(deps-dev): bump typescript from 4.9.4 to 4.9.5
Merge pull request #12979 from Automattic/dependabot/npm_and_yarn/master/eslint-8.33.0
chore(deps-dev): bump eslint from 8.31.0 to 8.33.0
Merge pull request #12975 from Automattic/dependabot/npm_and_yarn/master/mkdirp-2.1.3
chore(deps-dev): bump mkdirp from 1.0.4 to 2.1.3
meta: lock file maintenance (#15626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
meta: update dependency typescript to v4.9.5 (#15628)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
meta: pin actions/stale to release (#15631)
meta: reduce expectsql typing complexity (#15595)
meta: update dependency eslint-plugin-jsdoc to v39.7.5 (#15632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
meta: update dependency snowflake-sdk to v1.6.18 (#15633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
removed build message
Implement numPassingAsserts
of testCaseResult (#13795)
fix(runtime): handle missing replaceProperty
(#13823)
fix(@jest/types): add partial support for done
callbacks in typings of each
(#13756)
Add new default reporter for github actions (#13626)
chore: update changelog for release
v29.4.1
chore: make sure to exclude .eslintcache from published module (#13832)
chore: bump docusaurus (#13835)
chore: use link:
protocol instead of eslint-plugin-local
(#13836)
chore: add some missing dev dependencies (#13837)
Remove unused dependency 'progress' (#13843)
fixed error message, extracted method call, and changed test expected message
merged main branch
updated changelog entry
added changelog entry
fix #13844
If a test fails because done()
is not called it's now specified in the error message.
Example of new message:Exceeded timeout of 5000 ms for a test while waiting for done to be called
.