Skip to content

Commit 0021ddb

Browse files
authored
Add a changelog (#33)
1 parent ba07b1e commit 0021ddb

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Zulip GitHub Action Changelog
2+
3+
## Unreleased
4+
5+
**Breaking changes**
6+
7+
⚠️ Please use `zulip/github-actions-zulip/send-message@v1` instead of `yuzutech/zulip-send-message-action@v0.1.2`.
8+
If you were using `password` as authentification method, please get an API key through Zulip's web interface and use `api-key` instead.
9+
Finally, `username` field was renamed to `email` to be consistent with Zulip API naming.
10+
11+
_Before_
12+
13+
```yml
14+
- name: Send a stream message
15+
uses: yuzutech/zulip-send-message-action@v0.1.0
16+
with:
17+
username: 'username@example.com'
18+
api-key: 'abcd1234'
19+
organization-url: 'https://org.zulipchat.com'
20+
to: 'social'
21+
type: 'stream'
22+
topic: 'Castle'
23+
content: 'I come not, friends, to steal away your hearts.'
24+
```
25+
26+
_After_
27+
28+
```yml
29+
- name: Send a stream message
30+
uses: zulip/github-actions-zulip/send-message@v1
31+
with:
32+
email: 'username@example.com'
33+
api-key: 'abcd1234'
34+
organization-url: 'https://org.zulipchat.com'
35+
to: 'social'
36+
type: 'stream'
37+
topic: 'Castle'
38+
content: 'I come not, friends, to steal away your hearts.'
39+
```
40+
41+
- Align naming with Zulip API
42+
* Remove `password` as this authentification method is not recommended (the preferred auth method is via `api-key`)
43+
* Rename `username` to `email` for consistency
44+
- Transfer the repository to the `@zulip` organization
45+
- Move the "send message action" to a subdirectory
46+
47+
**Improvements**
48+
49+
- Catch unexpected errors to provide better error messages
50+
51+
**Infrastructure**
52+
53+
- Bump `@actions/core` from 1.2.6 to 1.4.0
54+
- Bump `@actions/github` from 4.0.0 to 5.0.0
55+
- Bump `eslint` from 7.21.0 to 7.30.0
56+
- Use a bot account for integration tests
57+
58+
**Documentation**
59+
60+
- Mention that you can format messages using [Zulip Markdown](https://zulip.com/help/format-your-message-using-markdown)

0 commit comments

Comments
 (0)