Skip to content

Commit 5e44d17

Browse files
committed
Merge branch 'master' into develop
2 parents 7168bdd + a5d5e28 commit 5e44d17

5 files changed

Lines changed: 119 additions & 19 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
Changes in [1.5.9](https://github.com/vector-im/riot-web/releases/tag/v1.5.9) (2020-02-17)
2+
==========================================================================================
3+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.9-rc.1...v1.5.9)
4+
5+
* Automate SDK dep upgrades for release
6+
[\#12374](https://github.com/vector-im/riot-web/pull/12374)
7+
8+
Changes in [1.5.9-rc.1](https://github.com/vector-im/riot-web/releases/tag/v1.5.9-rc.1) (2020-02-13)
9+
====================================================================================================
10+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.8...v1.5.9-rc.1)
11+
12+
* Upgrade JS SDK to 5.0.0-rc.1 and React SDK 2.1.0-rc.2
13+
* Update from Weblate
14+
[\#12354](https://github.com/vector-im/riot-web/pull/12354)
15+
* Add top left menu shortcut
16+
[\#12310](https://github.com/vector-im/riot-web/pull/12310)
17+
* Remove modernizr rules for features on which we only soft depend
18+
[\#12272](https://github.com/vector-im/riot-web/pull/12272)
19+
* Embed CSP meta tag and stop using script-src unsafe-inline
20+
[\#12258](https://github.com/vector-im/riot-web/pull/12258)
21+
* Add contribute.json
22+
[\#12251](https://github.com/vector-im/riot-web/pull/12251)
23+
* Improve Browser checks
24+
[\#12232](https://github.com/vector-im/riot-web/pull/12232)
25+
* Document padlock flag
26+
[\#12173](https://github.com/vector-im/riot-web/pull/12173)
27+
* Enable cross-signing on /develop
28+
[\#12126](https://github.com/vector-im/riot-web/pull/12126)
29+
* Switch back to legacy decorators
30+
[\#12110](https://github.com/vector-im/riot-web/pull/12110)
31+
* Update babel targets
32+
[\#12102](https://github.com/vector-im/riot-web/pull/12102)
33+
* Install deps for linting
34+
[\#12076](https://github.com/vector-im/riot-web/pull/12076)
35+
* Update from Weblate
36+
[\#12062](https://github.com/vector-im/riot-web/pull/12062)
37+
* Change to minimal Webpack output
38+
[\#12049](https://github.com/vector-im/riot-web/pull/12049)
39+
* Remove docs for new invite dialog labs feature
40+
[\#12015](https://github.com/vector-im/riot-web/pull/12015)
41+
* ElectronPlatform: Add the indexSize method.
42+
[\#11529](https://github.com/vector-im/riot-web/pull/11529)
43+
* ElectronPlatform: Add the ability to load file events from the event index
44+
[\#11907](https://github.com/vector-im/riot-web/pull/11907)
45+
* Fix the remainder of the cookie links
46+
[\#12008](https://github.com/vector-im/riot-web/pull/12008)
47+
* Use bash in Docker scripts
48+
[\#12001](https://github.com/vector-im/riot-web/pull/12001)
49+
* Use debian to build the Docker image
50+
[\#11999](https://github.com/vector-im/riot-web/pull/11999)
51+
* Update cookie policy urls on /app and /develop config.json
52+
[\#11998](https://github.com/vector-im/riot-web/pull/11998)
53+
* BuildKite: Only deploy to /develop if everything else passed
54+
[\#11996](https://github.com/vector-im/riot-web/pull/11996)
55+
* Add docs for admin report content message
56+
[\#11995](https://github.com/vector-im/riot-web/pull/11995)
57+
* Load as little as possible in index.js for the skinner
58+
[\#11959](https://github.com/vector-im/riot-web/pull/11959)
59+
* Fix webpack config (by stealing Dave's config)
60+
[\#11956](https://github.com/vector-im/riot-web/pull/11956)
61+
* Force Jest to resolve the js-sdk and react-sdk to src directories
62+
[\#11954](https://github.com/vector-im/riot-web/pull/11954)
63+
* Fix build to not babel modules inside js/react sdk
64+
[\#11949](https://github.com/vector-im/riot-web/pull/11949)
65+
* Fix webpack to babel js-sdk & react-sdk but no other deps
66+
[\#11944](https://github.com/vector-im/riot-web/pull/11944)
67+
168
Changes in [1.5.8](https://github.com/vector-im/riot-web/releases/tag/v1.5.8) (2020-01-27)
269
==========================================================================================
370
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.8-rc.2...v1.5.8)

‎electron_app/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "riot-web",
33
"productName": "Riot",
44
"main": "src/electron-main.js",
5-
"version": "1.5.8",
5+
"version": "1.5.9",
66
"description": "A feature-rich client for Matrix.org",
77
"author": "New Vector Ltd.",
88
"dependencies": {

‎package.json‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "riot-web",
33
"productName": "Riot",
44
"main": "electron_app/src/electron-main.js",
5-
"version": "1.5.8",
5+
"version": "1.5.9",
66
"description": "A feature-rich client for Matrix.org",
77
"author": "New Vector Ltd.",
88
"repository": {
@@ -66,8 +66,8 @@
6666
"gemini-scrollbar": "github:matrix-org/gemini-scrollbar#91e1e566",
6767
"gfm.css": "^1.1.2",
6868
"highlight.js": "^9.13.1",
69-
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop",
70-
"matrix-react-sdk": "github:matrix-org/matrix-react-sdk#develop",
69+
"matrix-js-sdk": "5.0.0",
70+
"matrix-react-sdk": "2.1.0",
7171
"olm": "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz",
7272
"postcss-easings": "^2.0.0",
7373
"prop-types": "^15.7.2",
@@ -191,7 +191,9 @@
191191
"afterSign": "scripts/electron_afterSign.js"
192192
},
193193
"jest": {
194-
"modulePathIgnorePatterns": ["<rootDir>/electron_app"],
194+
"modulePathIgnorePatterns": [
195+
"<rootDir>/electron_app"
196+
],
195197
"testEnvironment": "jest-environment-jsdom-fourteen",
196198
"testMatch": [
197199
"<rootDir>/test/**/*-test.js"

‎release.sh‎

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,57 @@ cd `dirname $0`
2121
for i in matrix-js-sdk matrix-react-sdk
2222
do
2323
depver=`cat package.json | jq -r .dependencies[\"$i\"]`
24-
latestver=`yarn info -s $i version`
24+
latestver=`yarn info -s $i dist-tags.next`
2525
if [ "$depver" != "$latestver" ]
2626
then
27-
echo "The latest version of $i is $latestver but package.json depends on $depver"
28-
echo -n "Type 'Yes' to continue anyway: "
27+
echo "The latest version of $i is $latestver but package.json depends on $depver."
28+
echo -n "Type 'u' to auto-upgrade, 'c' to continue anyway, or 'a' to abort:"
2929
read resp
30-
if [ "$resp" != "Yes" ]
30+
if [ "$resp" != "u" ] && [ "$resp" != "c" ]
3131
then
32-
echo "OK, never mind."
32+
echo "Aborting."
3333
exit 1
3434
fi
35+
if [ "$resp" == "u" ]
36+
then
37+
echo "Upgrading $i to $latestver..."
38+
yarn add -E $i@$latestver
39+
git add -u
40+
# The `-e` flag opens the editor and gives you a chance to check
41+
# the upgrade for correctness.
42+
git commit -m "Upgrade $i to $latestver" -e
43+
fi
3544
fi
3645
done
3746

38-
# bump Electron's package.json first
3947
release="${1#v}"
4048
tag="v${release}"
41-
echo "electron yarn version"
49+
prerelease=0
50+
# We check if this build is a prerelease by looking to
51+
# see if the version has a hyphen in it. Crude,
52+
# but semver doesn't support postreleases so anything
53+
# with a hyphen is a prerelease.
54+
echo $release | grep -q '-' && prerelease=1
4255

56+
# bump Electron's package.json first
57+
echo "electron yarn version"
4358
cd electron_app
4459
yarn version --no-git-tag-version --new-version "$release"
4560
git commit package.json -m "$tag"
4661

4762
cd ..
4863

4964
exec ./node_modules/matrix-js-sdk/release.sh -u vector-im -z "$orig_args"
65+
66+
if [ $prerelease -eq 0 ]
67+
then
68+
# For a release, reset SDK deps back to the `develop` branch.
69+
for i in matrix-js-sdk matrix-react-sdk
70+
do
71+
echo "Resetting $i to develop branch..."
72+
yarn add github:matrix-org/$i#develop
73+
git add -u
74+
git commit -m "Reset $i back to develop branch"
75+
done
76+
git push origin develop
77+
fi

‎yarn.lock‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7595,9 +7595,10 @@ mathml-tag-names@^2.1.1:
75957595
resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.1.tgz#6dff66c99d55ecf739ca53c492e626f1d12a33cc"
75967596
integrity sha512-pWB896KPGSGkp1XtyzRBftpTzwSOL0Gfk0wLvxt4f2mgzjY19o0LxJ3U25vNWTzsh7da+KTbuXQoQ3lOJZ8WHw==
75977597

7598-
"matrix-js-sdk@github:matrix-org/matrix-js-sdk#develop":
7599-
version "4.0.0"
7600-
resolved "https://codeload.github.com/matrix-org/matrix-js-sdk/tar.gz/21e4c597d9633aef606871cf9ffffaf039142be3"
7598+
matrix-js-sdk@5.0.0:
7599+
version "5.0.0"
7600+
resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-5.0.0.tgz#dcbab35f1afdb35ef0364eb232e78e0fb7dc2a5b"
7601+
integrity sha512-A/aeE2Zn2OHq1n/9wIHCszrQZ7oXfThUHWi5Kz7illVCPUJ3JrZ31XVvx02k6vBasDcUtjAfZblHdTVN62cWLw==
76017602
dependencies:
76027603
"@babel/runtime" "^7.8.3"
76037604
another-json "^0.2.0"
@@ -7617,9 +7618,10 @@ matrix-mock-request@^1.2.3:
76177618
bluebird "^3.5.0"
76187619
expect "^1.20.2"
76197620

7620-
"matrix-react-sdk@github:matrix-org/matrix-react-sdk#develop":
7621-
version "2.0.0"
7622-
resolved "https://codeload.github.com/matrix-org/matrix-react-sdk/tar.gz/805e9abb3981584cd941e59c5c10edc3595c38b9"
7621+
matrix-react-sdk@2.1.0:
7622+
version "2.1.0"
7623+
resolved "https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-2.1.0.tgz#60c79b98acfcf5e18534d0fc3ff52ebacb045cfd"
7624+
integrity sha512-KloXDVtZ1Hy0H1+zVFoZ9+BQlUTYCBVNlxzz2ZQ6T6rZpYOGu7XTLV/i6vaKRvFh+OqVtnF7RS3Z3j0OUqjmzQ==
76237625
dependencies:
76247626
"@babel/runtime" "^7.8.3"
76257627
blueimp-canvas-to-blob "^3.5.0"
@@ -7647,7 +7649,8 @@ matrix-mock-request@^1.2.3:
76477649
is-ip "^2.0.0"
76487650
linkifyjs "^2.1.6"
76497651
lodash "^4.17.14"
7650-
matrix-js-sdk "github:matrix-org/matrix-js-sdk#develop"
7652+
matrix-js-sdk "5.0.0"
7653+
minimist "^1.2.0"
76517654
pako "^1.0.5"
76527655
png-chunks-extract "^1.0.0"
76537656
prop-types "^15.5.8"

0 commit comments

Comments
 (0)