Skip to content

Commit

Permalink
Merge pull request meteor#12983 from meteor/release-2.14.1
Browse files Browse the repository at this point in the history
Release 2.15.0
  • Loading branch information
denihs authored Feb 5, 2024
2 parents e15ffe7 + e103700 commit 5bf83f0
Show file tree
Hide file tree
Showing 29 changed files with 309 additions and 130 deletions.
6 changes: 5 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[submodule "packages/non-core/blaze"]
path = packages/non-core/blaze
url = https://github.com/meteor/blaze.git
url = https://github.com/meteor/blaze.git
[submodule "npm-packages/cordova-plugin-meteor-webapp/src/ios/GCDWebServer"]
path = npm-packages/cordova-plugin-meteor-webapp/src/ios/GCDWebServer
url = https://github.com/meteor/GCDWebServer.git
branch = master
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
os: linux
dist: xenial
dist: jammy
node_js:
- "14.17.6"
cache:
Expand All @@ -11,7 +11,7 @@ script:
- travis_retry ./packages/test-in-console/run.sh
env:
global:
- CXX=g++-4.8
- CXX=g++11
- phantom=false
- PUPPETEER_DOWNLOAD_PATH=~/.npm/chromium
jobs:
Expand All @@ -24,4 +24,4 @@ addons:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- g++-11
3 changes: 1 addition & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
| Version | Support Status
| ------- | --------------
| 2.x.y | ✅ all security issues
| 1.12.x | 🚧 only critical security issues
| <= 1.11.x | ❌ no longer supportted
| <= 1.12.x | ❌ no longer supported

## Reporting a Vulnerability

Expand Down
57 changes: 57 additions & 0 deletions docs/generators/changelog/versions/2.15.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
## v2.15.0, 2024-02-05

### Highlights

* Bumps embedded MongoDB to 7.0.5.

#### Breaking Changes

N/A

#### Internal API changes

N/A

#### Migration Steps

In development, if you're using Linux, you might get an error like `version GLIBCXX_3.4.26 not found` or something related to g++.

This is related to your g++ version. With MongoDB 7, you need to have g++ 11 or higher. So make sure to have this updated.

This will happen only if you are trying to run your Meteor application with a MongoDB 7 version. If you run your app with a MONGO_URL pointing to a different MongoDB version, you won't have this issue.

```bash

meteor update --release 2.15

```


#### Meteor Version Release


* `Command line`:
- The bundle version was changed to include embedded MongoDB to 7.0.5.
- Fix cordova launch screen warnings on 2.15 [PR #12971]
* `underscore@get-version`:
- A test related to [PR #12798] to see if the tests can manage the first update step. [PR #12912]
* `service-configuration@get-version`:
- added new types* [PR #12922]
* `meteor@get-version`:
- added new types [PR #12922]
* `accounts-base@get-version`:
- Added missing type for createUserVerifyingEmail [PR #12919]

#### Special thanks to

- [@Grubba27](https://github.com/Grubba27).
- [@denihs](https://github.com/denihs).
- [@mcorbelli](https://github.com/mcorbelli).
- [@matheusccastroo](https://github.com/matheusccastroo).
- [@StorytellerCZ](https://github.com/StorytellerCZ).
- [@ebroder](https://github.com/ebroder).
- [@nachocodoner](https://github.com/nachocodoner).

For making this great framework even better!


65 changes: 61 additions & 4 deletions docs/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,63 @@



## v2.15.0, 2024-02-05

### Highlights

* Bumps embedded MongoDB to 7.0.5.

#### Breaking Changes

N/A

#### Internal API changes

N/A

#### Migration Steps

In development, if you're using Linux, you might get an error like `version GLIBCXX_3.4.26 not found` or something related to g++.

This is related to your g++ version. With MongoDB 7, you need to have g++ 11 or higher. So make sure to have this updated.

This will happen only if you are trying to run your Meteor application with a MongoDB 7 version. If you run your app with a MONGO_URL pointing to a different MongoDB version, you won't have this issue.

```bash

meteor update --release 2.15

```


#### Meteor Version Release


* `Command line`:
- The bundle version was changed to include embedded MongoDB to 7.0.5.
- Fix cordova launch screen warnings on 2.15 [PR](https://github.com/meteor/meteor/pull/12971)
* `underscore@1.6.0`:
- A test related to [PR](https://github.com/meteor/meteor/pull/12798) to see if the tests can manage the first update step. [PR](https://github.com/meteor/meteor/pull/12912)
* `service-configuration@1.3.3`:
- added new types* [PR](https://github.com/meteor/meteor/pull/12922)
* `meteor@1.11.5`:
- added new types [PR](https://github.com/meteor/meteor/pull/12922)
* `accounts-base@2.2.10`:
- Added missing type for createUserVerifyingEmail [PR](https://github.com/meteor/meteor/pull/12919)

#### Special thanks to

- [@Grubba27](https://github.com/Grubba27).
- [@denihs](https://github.com/denihs).
- [@mcorbelli](https://github.com/mcorbelli).
- [@matheusccastroo](https://github.com/matheusccastroo).
- [@StorytellerCZ](https://github.com/StorytellerCZ).
- [@ebroder](https://github.com/ebroder).
- [@nachocodoner](https://github.com/nachocodoner).

For making this great framework even better!


## v2.14.0, 2023-12-12

### Highlights
Expand Down Expand Up @@ -74,7 +131,7 @@ For more information you can check our [Migration Guide](https://guide.meteor.co

## Meteor Version Release

* `accounts-base@2.2.9`
* `accounts-base@2.2.10`
- Ensure that `onLogin` callback fires properly
- Indexes are now created asynchronously

Expand Down Expand Up @@ -131,7 +188,7 @@ For more information you can check our [Migration Guide](https://guide.meteor.co
* `logic-solver@2.0.9`
- Removed Underscore dependency

* `meteor@1.11.4`:
* `meteor@1.11.5`:
- Improve TS types

* `mobile-experience@1.1.1`:
Expand Down Expand Up @@ -160,7 +217,7 @@ For more information you can check our [Migration Guide](https://guide.meteor.co
* `react-fast-refresh@0.2.8`:
- Updated `semver` to version 7.5.4

* `service-configuration@1.3.2`
* `service-configuration@1.3.3`
- Indexes are now created asynchronously
- Add types for ConfigError

Expand All @@ -186,7 +243,7 @@ For more information you can check our [Migration Guide](https://guide.meteor.co
* `typescript@4.9.5`:
- Updated to 4.9.5

* `webapp@1.13.6`
* `webapp@1.13.8`
- Updated `cordova-plugin-meteor-webapp` to v2.0.3
- Updated `cookie-parser` to v1.4.6
- Updated `send` to v0.18.0
Expand Down
4 changes: 2 additions & 2 deletions docs/source/api/tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ Tracker.autorun(async function example1(computation) {
// Code before the first await will stay reactive.
reactiveVar1.get(); // This will trigger a rerun.

let links = await LinksCollection.findAsync({}).fetch(); // First async call will stay reactive.
let links = await LinksCollection.find({}).fetchAsync(); // First async call will stay reactive.

// Code after the first await looses Tracker.currentComputation: no reactivity.
reactiveVar2.get(); // This won't trigger a rerun.

// You can bring back reactivity with the Tracker.withCompuation wrapper:
let users = await Tracker.withComputation(computation, () => Meteor.users.findAsync({}).fetch());
let users = await Tracker.withComputation(computation, () => Meteor.users.find({}).fetchAsync());

// Code below will again not be reactive, so you will need another Tracker.withComputation.
const value = Tracker.withComputation(computation, () => reactiveVar3.get()); // This will trigger a rerun.
Expand Down
2 changes: 1 addition & 1 deletion meteor
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

BUNDLE_VERSION=14.21.4.8
BUNDLE_VERSION=14.21.4.9


# OS Check. Put here because here is where we download the precompiled
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion npm-packages/cordova-plugin-meteor-webapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-meteor-webapp",
"version": "2.0.3",
"version": "2.0.4",
"description": "Cordova plugin that serves a Meteor web app through a local server and implements hot code push",
"cordova": {
"id": "cordova-plugin-meteor-webapp",
Expand Down
Submodule GCDWebServer added at 38e9bf
1 change: 1 addition & 0 deletions npm-packages/meteor-installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ npm install -g meteor

| NPM Package | Meteor Official Release |
|-------------|-------------------------|
| 2.15.0 | 2.15.0 |
| 2.14.0 | 2.14.0 |
| 2.13.3 | 2.13.3 |
| 2.13.1 | 2.13.1 |
Expand Down
2 changes: 1 addition & 1 deletion npm-packages/meteor-installer/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require('path');
const os = require('os');

const METEOR_LATEST_VERSION = '2.14';
const METEOR_LATEST_VERSION = '2.15';
const sudoUser = process.env.SUDO_USER || '';
function isRoot() {
return process.getuid && process.getuid() === 0;
Expand Down
2 changes: 1 addition & 1 deletion npm-packages/meteor-installer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meteor",
"version": "2.14.0",
"version": "2.15.0",
"description": "Install Meteor",
"main": "install.js",
"scripts": {
Expand Down
16 changes: 13 additions & 3 deletions packages/accounts-base/accounts-base.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ export namespace Accounts {
callback?: (error?: Error | Meteor.Error | Meteor.TypedError) => void
): Promise<string>;

function createUserVerifyingEmail(
options: {
username?: string | undefined;
email?: string | undefined;
password?: string | undefined;
profile?: Meteor.UserProfile | undefined;
},
callback?: (error?: Error | Meteor.Error | Meteor.TypedError) => void
): Promise<string>;

function config(options: {
sendVerificationEmail?: boolean | undefined;
forbidClientAccountCreation?: boolean | undefined;
Expand Down Expand Up @@ -324,9 +334,9 @@ export namespace Accounts {
type Password =
| string
| {
digest: string;
algorithm: 'sha-256';
};
digest: string;
algorithm: 'sha-256';
};

/**
*
Expand Down
2 changes: 1 addition & 1 deletion packages/accounts-base/package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
summary: 'A user account system',
version: '2.2.9',
version: '2.2.10',
});

Package.onUse(api => {
Expand Down
2 changes: 1 addition & 1 deletion packages/meteor-tool/package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
summary: 'The Meteor command-line tool',
version: '2.14.0',
version: '2.15.0',
});

Package.includeTool();
5 changes: 4 additions & 1 deletion packages/meteor/meteor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ export namespace Meteor {
function user(options?: {
fields?: Mongo.FieldSpecifier | undefined;
}): User | null;
function userAsync(options?: {
fields?: Mongo.FieldSpecifier | undefined;
}): Promise<Meteor.User | null>;

function userId(): string | null;
var users: Mongo.Collection<User>;
Expand Down Expand Up @@ -241,7 +244,7 @@ export namespace Meteor {
>(
name: string,
args: ReadonlyArray<EJSONable | EJSONableProperty>,
options?: MethodApplyOptions,
options?: MethodApplyOptions<Result>,
asyncCallback?: (
error: global_Error | Meteor.Error | undefined,
result?: Result
Expand Down
2 changes: 1 addition & 1 deletion packages/meteor/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Package.describe({
summary: "Core Meteor environment",
version: '1.11.4',
version: '1.11.5',
});

Package.registerBuildPlugin({
Expand Down
2 changes: 1 addition & 1 deletion packages/service-configuration/package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
summary: 'Manage the configuration for third-party services',
version: '1.3.2',
version: '1.3.3',
});

Package.onUse(function(api) {
Expand Down
2 changes: 1 addition & 1 deletion packages/service-configuration/service-configuration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ConfigError extends Error {
message: string;
}

export declare var ServiceConfiguration: {
export var ServiceConfiguration: {
configurations: Mongo.Collection<Configuration>;
ConfigError: typeof ConfigError
};
6 changes: 3 additions & 3 deletions packages/underscore/.npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/underscore/package.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

Package.describe({
summary: "Collection of small helpers: _.map, _.each, ...",
version: '1.0.13',
version: '1.6.0',
});

Npm.depends({
'@types/underscore': '1.11.4',
'@types/underscore': '1.11.9',
});
Package.onUse(function (api) {
// Like all packages, we have an implicit depedency on the 'meteor'
// Like all packages, we have an implicit dependency on the 'meteor'
// package, which provides such things as the *.js file handler. Use
// an undocumented API to allow 'meteor' to alter us even though we
// depend on it. This is necessary since 'meteor' depends on us. One
Expand Down
Loading

0 comments on commit 5bf83f0

Please sign in to comment.