Skip to content

Commit f7e9bce

Browse files
update changelog
1 parent cad75d3 commit f7e9bce

File tree

1 file changed

+43
-51
lines changed

1 file changed

+43
-51
lines changed

CHANGELOG.md

Lines changed: 43 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## UNRELEASED
3+
## 6.0.4
44

55
- Fix failing functional/smoke tests
66
- Update to node v24
@@ -109,41 +109,38 @@
109109

110110
- Add `teardown` method for easy cleanup
111111

112-
_Breaking Changes_
113-
114-
- Instantiate new instances of framebus
115-
116-
```js
117-
// v4
118-
var bus = require("framebus");
119-
bus.on(/* args */);
120-
bus.emit(/* args */);
121-
122-
// v5
123-
var Framebus = require("framebus");
124-
var bus = new Framebus();
125-
bus.on(/* args */);
126-
bus.emit(/* args */);
127-
```
128-
129-
- Instantiating a framebus with `target` method with an `origin` param
130-
now requires an options object (same object that is used to
131-
instantiate the instance)
132-
133-
```js
134-
// v4
135-
var bus = require("framebus");
136-
var anotherBus = bus.target("example.com");
137-
138-
// v5
139-
var Framebus = require("framebus");
140-
var bus = Framebus.target({
141-
origin: "example.com",
142-
});
143-
var anotherBus = bus.target({
144-
origin: "example.com",
145-
});
146-
```
112+
- BREAKING CHANGES
113+
- Instantiate new instances of framebus
114+
115+
```js
116+
// v4
117+
var bus = require("framebus");
118+
bus.on(/* args */);
119+
bus.emit(/* args */);
120+
121+
// v5
122+
var Framebus = require("framebus");
123+
var bus = new Framebus();
124+
bus.on(/* args */);
125+
bus.emit(/* args */);
126+
```
127+
128+
- Instantiating a framebus with `target` method with an `origin` param now requires an options object (same object that is used to instantiate the instance)
129+
130+
```js
131+
// v4
132+
var bus = require("framebus");
133+
var anotherBus = bus.target("example.com");
134+
135+
// v5
136+
var Framebus = require("framebus");
137+
var bus = Framebus.target({
138+
origin: "example.com",
139+
});
140+
var anotherBus = bus.target({
141+
origin: "example.com",
142+
});
143+
```
147144

148145
## 4.0.5
149146

@@ -166,15 +163,13 @@ _Breaking Changes_
166163

167164
## v4.0.0
168165

169-
_Breaking Changes_
170-
171-
- Drop support for IE \< 9
172-
- Drop support for using methods standalone without using the bus
173-
- Drop `publish`, `pub`, and `trigger` methods. Use `emit`
174-
- Drop `subscribe` and `sub` methods. Use `on`
175-
- Drop `unsubscribe` and `unsub` methods. Use `off`
176-
- Drop support for passing multiple arguments to `emit`, not it only
177-
supports passing `data` and `reply`
166+
- BREAKING CHANGES
167+
- Drop support for IE \< 9
168+
- Drop support for using methods standalone without using the bus
169+
- Drop `publish`, `pub`, and `trigger` methods. Use `emit`
170+
- Drop `subscribe` and `sub` methods. Use `on`
171+
- Drop `unsubscribe` and `unsub` methods. Use `off`
172+
- Drop support for passing multiple arguments to `emit`, not it only supports passing `data` and `reply`
178173

179174
## 3.0.2
180175

@@ -188,12 +183,9 @@ _Breaking Changes_
188183

189184
## 3.0.0
190185

191-
_BREAKING CHANGES_
192-
193-
- Module is now CommonJS only, and must be used with npm with a build
194-
tool (Browserify, Webpack, etc)
195-
196-
- Bower support dropped
186+
- BREAKING CHANGES
187+
- Module is now CommonJS only, and must be used with npm with a build tool (Browserify, Webpack, etc)
188+
- Bower support dropped
197189

198190
## 2.0.8
199191

0 commit comments

Comments
 (0)