Skip to content

Commit

Permalink
Release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed May 7, 2024
1 parent 88e7ac6 commit a915056
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 10 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Strophe.js Change Log

## Version 3.0.0 - (2024-05-07)

* #704 Cannot use with NodeJS
* #706 TypeError when receiving a `stream:error` IQ message

Out of an abundance of caution, making a major version bump, since there was
some internal refactoring of the Strophe files to remove circular
dependencies. So certain deep imports used by integrators might no longer work.
Instead of deep imports, everything should be imported from `strophe.js`.

For example:
```
import { Strophe, $build, stx } from strophe.js;
```

## Version 2.0.0 - (2024-02-21)

* Type checking via TypeScript and JSDoc typing annotations
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ doc:
.PHONY: release
release:
$(SED) -i 's/\"version\":\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/\"version\":\ \"$(VERSION)\"/' package.json
$(SED) -i 's/VERSION:\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/VERSION:\ \"$(VERSION)\"/' src/core.js
$(SED) -i 's/VERSION:\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/VERSION:\ \"$(VERSION)\"/' src/index.js
$(SED) -i "s/Unreleased/`date +%Y-%m-%d`/" CHANGELOG.md
make dist

Expand Down
12 changes: 6 additions & 6 deletions RELEASE_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "strophe.js",
"description": "Strophe.js is an XMPP library for JavaScript",
"version": "2.0.0",
"version": "3.0.0",
"homepage": "http://strophe.im/strophejs",
"repository": {
"type": "git",
Expand Down

0 comments on commit a915056

Please sign in to comment.