Commit 588b015e authored by JC Brand's avatar JC Brand

Release v4.0.5

parent 084b8e93
# Changelog
## 4.0.5 (Unreleased)
## 4.0.5 (2018-11-15)
- Error `FATAL: TypeError: Cannot read property 'extend' of undefined` when using `embedded` view mode.
- Default paths in converse-notifications.js are now relative
......
......@@ -2,7 +2,7 @@
*
* An XMPP chat client that runs in the browser.
*
* Version: 4.0.4
* Version: 4.0.5
*
* Copyright: JC Brand 2013-2018
* Except for 3rd party dependencies.
......
......@@ -65,7 +65,7 @@ serve_bg: dev
########################################################################
## Translation machinery
GETTEXT = xgettext --language="JavaScript" --keyword=__ --keyword=___ --from-code=UTF-8 --output=locale/converse.pot dist/converse-no-dependencies.js --package-name=Converse.js --copyright-holder="Jan-Carel Brand" --package-version=4.0.4 -c
GETTEXT = xgettext --language="JavaScript" --keyword=__ --keyword=___ --from-code=UTF-8 --output=locale/converse.pot dist/converse-no-dependencies.js --package-name=Converse.js --copyright-holder="Jan-Carel Brand" --package-version=4.0.5 -c
.PHONY: pot
pot: dist/converse-no-dependencies-es2015.js
......@@ -84,6 +84,8 @@ po2json:
.PHONY: release
release:
$(SED) -ri s/_converse.VERSION_NAME = "v[0-9]\+\.[0-9]\+\.[0-9]\+";/ _converse.VERSION_NAME = "$(VERSION)";/ src/headless/converse-core.js
$(SED) -ri s/Version:\ [0-9]\+\.[0-9]\+\.[0-9]\+/Version:\ $(VERSION)/ COPYRIGHT
$(SED) -ri s/Project-Id-Version:\ Converse\.js\ [0-9]\+\.[0-9]\+\.[0-9]\+/Project-Id-Version:\ Converse.js\ $(VERSION)/ locale/converse.pot
$(SED) -ri s/\"version\":\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/\"version\":\ \"$(VERSION)\"/ package.json
......
# Release checklist
1. Run `make check` to check that all tests pass.
2. Decide on a version number, e.g. 4.0.2
3. Run `make release VERSION=4.0.2`
2. Decide on a version number, e.g. 4.0.6
3. Run `make release VERSION=4.0.6`
4. Do a `git diff` to check if things look sane.
5. Do a quick manual test with the `dist` files (via `index.html`)
6. `git commit -am "New release 4.0.2"`
7. `git tag -s v4.0.2
6. `git commit -am "New release 4.0.6"`
7. `git tag -s v4.0.6
8. Run `git push && git push --tags`
9. Update http://conversejs.org
10. Create `4.0.2` directory for the CDN.
10. Create `4.0.6` directory for the CDN.
* Create a new version for the CDN by copying
* Check out the correct tag
* Update `index.html` to point to that version of the CDN
......
......@@ -48,9 +48,9 @@ copyright = u'2018, JC Brand'
# built documents.
#
# The short X.Y version.
version = '4.0.4'
version = '4.0.5'
# The full version, including alpha/beta/rc tags.
release = '4.0.4'
release = '4.0.5'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
......@@ -26,16 +26,16 @@ might break when a new backwards-incompatible version of Converse is released.
To load a specific version of Converse you can put the version in the URL:
* https://cdn.conversejs.org/4.0.4/dist/converse.min.js
* https://cdn.conversejs.org/4.0.4/css/converse.min.css
* https://cdn.conversejs.org/4.0.5/dist/converse.min.js
* https://cdn.conversejs.org/4.0.5/css/converse.min.css
You can include these two URLs inside the *<head>* element of your website
via the *script* and *link* tags:
.. code-block:: html
<link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/4.0.4/css/converse.min.css">
<script src="https://cdn.conversejs.org/4.0.4/dist/converse.min.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/4.0.5/css/converse.min.css">
<script src="https://cdn.conversejs.org/4.0.5/dist/converse.min.js" charset="utf-8"></script>
Option 2: Building the files yourself
......
{
"name": "converse.js",
"version": "4.0.4",
"version": "4.0.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "converse.js",
"version": "4.0.4",
"version": "4.0.5",
"description": "Browser based XMPP chat client",
"main": "dist/converse.js",
"directories": {
......
{
"name": "@converse/headless",
"version": "4.0.4",
"version": "4.0.5",
"description": "Converse.js Headless build",
"author": "cmrd Senya <senya@riseup.net>",
"homepage": "https://github.com/conversejs/converse.js",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment