Merge branch 'release/4.2.0' into develop

This commit is contained in:
Chocobozzz 2022-06-07 09:59:10 +02:00
commit 6d9ed0b6cb
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
6 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Changelog # Changelog
## v4.2.0-rc.1 ## v4.2.0
### IMPORTANT NOTES ### IMPORTANT NOTES

View File

@ -1,6 +1,6 @@
{ {
"name": "peertube-client", "name": "peertube-client",
"version": "4.2.0-rc.1", "version": "4.2.0",
"private": true, "private": true,
"license": "AGPL-3.0", "license": "AGPL-3.0",
"author": { "author": {

View File

@ -1,7 +1,7 @@
{ {
"name": "peertube", "name": "peertube",
"description": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.", "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, "private": true,
"licence": "AGPL-3.0", "licence": "AGPL-3.0",
"engines": { "engines": {

View File

@ -122,7 +122,7 @@ rm -f "./client/dist/embed-stats.json"
# Release types package # Release types package
npm run generate-types-package "$version" npm run generate-types-package "$version"
cd types/dist cd packages/types/dist
npm publish --access public npm publish --access public
fi fi
) )

View File

@ -179,7 +179,7 @@ function buildContext (contextValue?: ContextValue) {
{ {
pt: 'https://joinpeertube.org/ns#', pt: 'https://joinpeertube.org/ns#',
sc: 'http://schema.org#', sc: 'http://schema.org/',
...contextValue ...contextValue
} }

View File

@ -9,6 +9,7 @@ import { buildAbsoluteFixturePath } from '@shared/core-utils'
import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto' import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto'
describe('Test activity pub helpers', function () { describe('Test activity pub helpers', function () {
describe('When checking the Linked Signature', function () { describe('When checking the Linked Signature', function () {
it('Should fail with an invalid Mastodon signature', async function () { it('Should fail with an invalid Mastodon signature', async function () {