You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,46 +1,64 @@
1
1
# CHANGELOG
2
2
3
+
## v4.0.1 (2025-04-05)
4
+
5
+
- Modified README.md to update CDN links for the library.
6
+
- Updated LICENSE to reflect the current copyright year.
7
+
- Introduced a new .nvmrc file specifying Node.js version 20.
8
+
- Removed CI configuration file as part of repository cleanup.
9
+
3
10
## v4.0.0 (2021-24-01)
11
+
4
12
### Breaking changes
5
-
- Remove static method `noConflict()`.
13
+
14
+
- Remove static method `noConflict()`.
6
15
7
16
### New features
17
+
8
18
- Add a new static method `createInstance()` as alternative way to create a new `PubSub` instance.
9
19
- Export library in UMD, ESM and CommonJS formats.
10
20
11
21
### Internal changes
22
+
12
23
- Refactor source code to ES2015+.
13
24
- Use rollup.js to bundle the library.
14
25
- Replace Mocha with Jest as testing framework.
15
26
- Improve tests and coverage.
16
27
- Replace Travis with Github Actions for CI.
17
28
18
29
## v3.6.2
30
+
19
31
- Update `devDependencies`
20
32
- Update CI configuration
21
33
- Delete examples folder
22
34
23
35
## v3.6.0
36
+
24
37
- Fix issue #4
25
38
- Add `immediateExceptions` option when creating instance
26
39
27
40
28
41
## v3.5.0
42
+
29
43
- Update `devDependencies`
30
44
- Use `mocha` and `chai` for testing instead of `karma` and `jasmine`
31
45
- Drop support Bower support
32
46
- Exclude `dist` folder from source control
33
47
34
48
## v3.4.0
49
+
35
50
- Add static method `PubSub.noConflict()` to roll back the global `PubSub` identifier. Used in a normal browser global namespace environment to avoid conflicts, etc.
36
51
37
52
## v3.3.0
53
+
38
54
- If there is no subscriber for a topic, delete topic property when unsubscribing. Used to leave it as an empty array before.
39
55
- The result of `subscribers` and `subscribersByTopic` methods is just a copy of the original object or array accordingly.
40
56
- Keep devDependencies up to date.
41
57
42
58
## v3.2.7
59
+
43
60
Allow passing multiple data arguments to `publish` and `publishSync` methods.
0 commit comments