From 4d526901349b35bfac9811acc45854c65639cee3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Jun 2022 08:42:44 +0200 Subject: [PATCH 1/4] Fix schema.org context --- server/lib/activitypub/context.ts | 2 +- server/tests/api/activitypub/helpers.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/lib/activitypub/context.ts b/server/lib/activitypub/context.ts index b452cf9b3..5d6aee315 100644 --- a/server/lib/activitypub/context.ts +++ b/server/lib/activitypub/context.ts @@ -179,7 +179,7 @@ function buildContext (contextValue?: ContextValue) { { pt: 'https://joinpeertube.org/ns#', - sc: 'http://schema.org#', + sc: 'http://schema.org/', ...contextValue } diff --git a/server/tests/api/activitypub/helpers.ts b/server/tests/api/activitypub/helpers.ts index bc1de35d1..56de7a879 100644 --- a/server/tests/api/activitypub/helpers.ts +++ b/server/tests/api/activitypub/helpers.ts @@ -9,6 +9,7 @@ import { buildAbsoluteFixturePath } from '@shared/core-utils' import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto' describe('Test activity pub helpers', function () { + describe('When checking the Linked Signature', function () { it('Should fail with an invalid Mastodon signature', async function () { From cc4efef7058df23647108148f06709fbf829f48e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Jun 2022 09:52:37 +0200 Subject: [PATCH 2/4] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8aeeb7b7e..4c3e09f61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## v4.2.0-rc.1 +## v4.2.0 ### IMPORTANT NOTES From 8b126121da34dca2a83e2f198b82dfad9ab3a55e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Jun 2022 09:52:42 +0200 Subject: [PATCH 3/4] Bumped to version v4.2.0 --- client/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index bdc6c982a..b0d175b1a 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "peertube-client", - "version": "4.2.0-rc.1", + "version": "4.2.0", "private": true, "license": "AGPL-3.0", "author": { diff --git a/package.json b/package.json index 0dc2201a7..048fd405f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "peertube", "description": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.", - "version": "4.2.0-rc.1", + "version": "4.2.0", "private": true, "licence": "AGPL-3.0", "engines": { From 462a833e4c14b84224182adbe9e963535c165ad1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Jun 2022 09:58:59 +0200 Subject: [PATCH 4/4] Fix release script --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index ffe2e6b28..76970b79b 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -122,7 +122,7 @@ rm -f "./client/dist/embed-stats.json" # Release types package npm run generate-types-package "$version" - cd types/dist + cd packages/types/dist npm publish --access public fi )