From 708b7111919bf18b0c9d01b8be90b11a9e535e02 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 30 Dec 2023 12:36:48 +0100 Subject: [PATCH 1/4] Update zodern:types & support Meteor 3.0-beta.0 --- package.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.js b/package.js index 1e123ee..eae69f1 100644 --- a/package.js +++ b/package.js @@ -3,12 +3,12 @@ Package.describe({ name: 'matb33:collection-hooks', summary: 'Extends Mongo.Collection with before/after hooks for insert/update/upsert/remove/find/findOne', - version: '1.3.0', + version: '1.3.1', git: 'https://github.com/Meteor-Community-Packages/meteor-collection-hooks' }) Package.onUse(function (api) { - api.versionsFrom(['2.3', '2.8.1', '3.0-alpha.15']) + api.versionsFrom(['2.3', '2.8.1', '3.0-beta.0']) api.use([ 'mongo', @@ -18,7 +18,7 @@ Package.onUse(function (api) { 'ecmascript' ]) - api.use('zodern:types@1.0.9', 'server') + api.use('zodern:types@1.0.11', 'server') api.use(['accounts-base'], ['client', 'server'], { weak: true }) @@ -31,7 +31,7 @@ Package.onUse(function (api) { Package.onTest(function (api) { // var isTravisCI = process && process.env && process.env.TRAVIS - api.versionsFrom(['1.12', '2.3']) + api.versionsFrom(['1.12', '2.3', '3.0-beta.0']) api.use([ 'matb33:collection-hooks', From 8dad72ad5af51b11dc027ad50ae7406a2c6f9528 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 30 Dec 2023 12:39:04 +0100 Subject: [PATCH 2/4] Try adding Meteor 3.0-beta.0 to test suite --- .github/workflows/testsuite.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index e713851..a8abe25 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -14,7 +14,8 @@ jobs: meteorRelease: - '--release 2.3' - '--release 2.8.1' - - '--release 2.13.3' + - '--release 2.14' + - '--release 3.0-beta.0' # Latest version steps: - name: Checkout code @@ -23,7 +24,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' - name: Install Dependencies run: | From b40911840572db71badce66afcb2cb39bda32dd4 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 30 Dec 2023 12:46:34 +0100 Subject: [PATCH 3/4] Revert adding Meteor 3.0-beta.0 to tests --- .github/workflows/testsuite.yml | 1 - History.md | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index a8abe25..cc8bb5e 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -15,7 +15,6 @@ jobs: - '--release 2.3' - '--release 2.8.1' - '--release 2.14' - - '--release 3.0-beta.0' # Latest version steps: - name: Checkout code diff --git a/History.md b/History.md index 32328f9..5f67a0a 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,7 @@ +## v1.3.1 +* Updated zodern:types to v1.0.10 +* Meteor `3.0-beta.0` is now a supported version, but not functionality wise (need to upgrade `count` functions in code) + ## v1.3.0 * Add direct async methods [PR](https://github.com/Meteor-Community-Packages/meteor-collection-hooks/pull/300) [@alisnic](https://github.com/alisnic) * Add support for async collection methods [PR](https://github.com/Meteor-Community-Packages/meteor-collection-hooks/pull/299) [@jdgjsag67251](https://github.com/jdgjsag67251) From 2c11fa1c8d279f95562150c9dc1a07fcedfe96f0 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 30 Dec 2023 12:49:41 +0100 Subject: [PATCH 4/4] Published matb33:collection-hooks@1.3.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1775bc6..3eeb063 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "meteor-collection-hooks", - "version": "1.2.1", + "version": "1.3.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a5ead1c..b6b2dce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meteor-collection-hooks", - "version": "1.2.1", + "version": "1.3.1", "private": true, "scripts": { "start": "meteor test-packages ./",