Skip to content

Commit a915056

Browse files
committed
Release 3.0.0
1 parent 88e7ac6 commit a915056

File tree

5 files changed

+25
-10
lines changed

5 files changed

+25
-10
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Strophe.js Change Log
22

3+
## Version 3.0.0 - (2024-05-07)
4+
5+
* #704 Cannot use with NodeJS
6+
* #706 TypeError when receiving a `stream:error` IQ message
7+
8+
Out of an abundance of caution, making a major version bump, since there was
9+
some internal refactoring of the Strophe files to remove circular
10+
dependencies. So certain deep imports used by integrators might no longer work.
11+
Instead of deep imports, everything should be imported from `strophe.js`.
12+
13+
For example:
14+
```
15+
import { Strophe, $build, stx } from strophe.js;
16+
```
17+
318
## Version 2.0.0 - (2024-02-21)
419

520
* Type checking via TypeScript and JSDoc typing annotations

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ doc:
3939
.PHONY: release
4040
release:
4141
$(SED) -i 's/\"version\":\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/\"version\":\ \"$(VERSION)\"/' package.json
42-
$(SED) -i 's/VERSION:\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/VERSION:\ \"$(VERSION)\"/' src/core.js
42+
$(SED) -i 's/VERSION:\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/VERSION:\ \"$(VERSION)\"/' src/index.js
4343
$(SED) -i "s/Unreleased/`date +%Y-%m-%d`/" CHANGELOG.md
4444
make dist
4545

RELEASE_CHECKLIST.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
1. Make sure all tests pass (run 'make check')
66
2. Update CHANGELOG.md
7-
3. Run `make release VERSION=2.0.0` (on Mac, prefix with "SED=gsed" so that GNU-sed is used).
7+
3. Run `make release VERSION=3.0.1` (on Mac, prefix with "SED=gsed" so that GNU-sed is used).
88
4. Run `make doc`
9-
5. Run `cp -r doc ../strophe.im/strophejs/doc/2.0.0`
9+
5. Run `cp -r doc ../strophe.im/strophejs/doc/3.0.1`
1010
5. Update links in `../strophe.im/strophejs/index.markdown` in Strophe.im
11-
6. `git commit -am "Docs for Strophe.js 2.0.0" && git push`
11+
6. `cd ../strophe.im && git commit -am "Docs for Strophe.js 3.0.1" && git push`
1212
7. Update link to documentation in README (of strophe.js)
13-
8. `cd ../strophe.js && git commit -am "Release 2.0.0"`
14-
9. `git tag -s v2.0.0 -m "Release 2.0.0"`
15-
10. Run `git push && git push origin v2.0.0`
13+
8. `cd ../strophe.js && git commit -am "Release 3.0.1"`
14+
9. `git tag -s v3.0.1 -m "Release 3.0.1"`
15+
10. Run `git push && git push origin v3.0.1`
1616
11. Publish on NPM: `npm publish`
1717
12. Update the release notes on https://github.com/strophe/strophejs/releases
1818
13. Run `npm pack` and upload the tgz file to the releases page.

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "strophe.js",
33
"description": "Strophe.js is an XMPP library for JavaScript",
4-
"version": "2.0.0",
4+
"version": "3.0.0",
55
"homepage": "http://strophe.im/strophejs",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)