1 | # 3.1.3 (2017-04-13)
|
2 |
|
3 | ### Fix
|
4 |
|
5 | * **typescript** Fix TypeScript issues
|
6 |
|
7 | # 3.1.2 (2017-04-13)
|
8 |
|
9 | ### Features
|
10 |
|
11 | * **typescript** Add TypeScript support
|
12 |
|
13 | # 3.1.1 (2017-04-10)
|
14 |
|
15 | ### Features
|
16 |
|
17 | * **client** Normalize apiUrl
|
18 |
|
19 | # 3.1.0 (2017-02-21)
|
20 |
|
21 | ### Features
|
22 |
|
23 | * **client** Add new connection callback onNoServerUrlAvailable
|
24 | * **client** Add new connection callback onConnectionToServerFail
|
25 | * **client** Add getServers method to expose server urls
|
26 | * **client** Add createAsyncMacroService method to provide promise based macro services instance
|
27 | * **internal** Improve code separation to support tree shaking
|
28 |
|
29 | ### Fixes
|
30 |
|
31 | * **persistence** Catch SessionPersistenceStrategy error in private navigation mode
|
32 |
|
33 | # 3.1.0-alpha.9 (2017-01-18)
|
34 |
|
35 | * **persistence** Catch SessionPersistenceStrategy error in private navigation mode
|
36 |
|
37 | # 3.0.1 (2017-01-18)
|
38 |
|
39 | ### Fixes
|
40 |
|
41 | * **persistence** Catch SessionPersistenceStrategy error in private navigation mode
|
42 |
|
43 | # 3.1.0-alpha.8 (2017-01-09)
|
44 |
|
45 | * **chore** Upgrade eslint dependency to 3.13.0
|
46 |
|
47 | # 3.1.0-alpha.7 (2017-01-09)
|
48 |
|
49 | * **env** Update engines directive to "node": ">=6"
|
50 |
|
51 | # 3.1.0-alpha.6 (2017-01-02)
|
52 |
|
53 | * **client** Add new connection callback onNoServerUrlAvailable
|
54 |
|
55 | # 3.1.0-alpha.5 (2017-01-02)
|
56 |
|
57 | * **client** Add new connection callback onConnectionToServerFail
|
58 |
|
59 | # 3.1.0-alpha.4 (2017-01-02)
|
60 |
|
61 | * **npm** Bump to alpha.4 to avoid npm conflict
|
62 |
|
63 | # 3.1.0-alpha.3 (2017-01-02)
|
64 |
|
65 | * **client** Add getServers method to expose server urls
|
66 |
|
67 | # 3.1.0-alpha.2 (2016-11-14)
|
68 |
|
69 | * **internal** Improve code separation to support tree shaking
|
70 |
|
71 | # 3.1.0-alpha.1 (2016-11-04)
|
72 |
|
73 | * **client** Add createAsyncMacroService method to provide promise based macro services instance
|
74 |
|
75 | ### Features
|
76 |
|
77 | # 3.0.0 (2016-10-24)
|
78 |
|
79 | ### Changes
|
80 |
|
81 | * **client** Rename createService parameter from type to Type
|
82 | * **core:** Update lib/client, rename credentials to authentication
|
83 |
|
84 | ### Fixes
|
85 |
|
86 | * **smart-client** Fix sessions persistence key generation
|
87 |
|
88 | ### Features
|
89 |
|
90 | * **core** Add lib/smart-client
|
91 | * **test** ZetaPush core functionalities are now tested with Karma/Jasmine
|
92 |
|
93 | # 3.0.0-alpha.3 (2016-09-16)
|
94 |
|
95 | Major API modification
|
96 |
|
97 | ### BREAKING CHANGES
|
98 |
|
99 | * **client** Rename createService parameter from type to Type
|
100 |
|
101 | **Before**
|
102 |
|
103 | ```js
|
104 | // Create new service
|
105 | const service = new client.createService({
|
106 | type: ZetaPush.services.Stack,
|
107 | listener: {
|
108 | list(message) {
|
109 | console.log('on list', message)
|
110 | }
|
111 | }
|
112 | })
|
113 | ```
|
114 |
|
115 | **After**
|
116 |
|
117 | ```js
|
118 | // Create new service
|
119 | const service = new client.createService({
|
120 | Type: ZetaPush.services.Stack,
|
121 | listener: {
|
122 | list(message) {
|
123 | console.log('on list', message)
|
124 | }
|
125 | }
|
126 | })
|
127 | ```
|
128 |
|
129 | # 3.0.0-alpha.2 (2016-09-06)
|
130 |
|
131 | ### Fix
|
132 |
|
133 | * **smart-client** Fix sessions persistence key generation
|
134 |
|
135 | # 3.0.0-alpha.1 (2016-08-19)
|
136 |
|
137 | Major API modification
|
138 |
|
139 | ### BREAKING CHANGES
|
140 |
|
141 | * **core:** Update lib/client, rename credentials to authentication
|
142 |
|
143 | **Before**
|
144 |
|
145 | ```js
|
146 | // Create new ZetaPush Client
|
147 | const client = new ZetaPush.Client({
|
148 | sandboxId: '<YOUR-SANDBOX-ID>',
|
149 | credentials() {
|
150 | return ZetaPush.AuthentFactory.createWeakHandshake({
|
151 | token: null
|
152 | })
|
153 | }
|
154 | })
|
155 | ```
|
156 |
|
157 | **After**
|
158 |
|
159 | ```js
|
160 | // Create new ZetaPush Client
|
161 | const client = new ZetaPush.Client({
|
162 | sandboxId: '<YOUR-SANDBOX-ID>',
|
163 | authentication() {
|
164 | return ZetaPush.Authentication.weak({
|
165 | token: null
|
166 | })
|
167 | }
|
168 | })
|
169 | ```
|
170 |
|
171 | ### Features
|
172 |
|
173 | * **core** Add lib/smart-client
|
174 | * **test** ZetaPush core functionalities are now tested with Karma/Jasmine
|
175 |
|
176 | # 2.0.1 (2016-07-26)
|
177 |
|
178 | ### Fixes
|
179 |
|
180 | * **cometd** Update cometd to 3.0.13 to fix network overflow on handshake failure with reconnect advice
|
181 |
|
182 | # 2.0.0 (2016-07-25)
|
183 |
|
184 | :tada: After a complete refactoring, ZetaPush 2.0 is production ready
|
185 |
|
186 | # 2.0.0-rc.3 (2016-07-15)
|
187 |
|
188 | ### Fixes
|
189 |
|
190 | * **build** Improve build support with babel-plugin-transform-runtime
|
191 |
|
192 | # 2.0.0-rc.2 (2016-07-13)
|
193 |
|
194 | ### Features
|
195 |
|
196 | * **core:** Update lib/client, add new transports option
|
197 | * **core:** Update lib/weak-client, add new transports option
|
198 |
|
199 | ```js
|
200 | const client = new ZetaPush.WeakClient({
|
201 | sandboxId: 'Y1k3xBDc',
|
202 | transports: [ZetaPush.TransportTypes.LONG_POLLING]
|
203 | })
|
204 | ```
|
205 |
|
206 | # 2.0.0-rc.1 (2016-07-12)
|
207 |
|
208 | Major API modification
|
209 |
|
210 | ### BREAKING CHANGES
|
211 |
|
212 | * **core:** Update lib/authentication/handshake
|
213 |
|
214 | **Before**
|
215 |
|
216 | ```js
|
217 | // Create new ZetaPush Client
|
218 | const client = new ZetaPush.Client({
|
219 | sandboxId: '<YOUR-SANDBOX-ID>',
|
220 | credentials() {
|
221 | return ZetaPush.AuthentFactory.createWeakHandshake({
|
222 | token: null
|
223 | })
|
224 | }
|
225 | })
|
226 | ```
|
227 |
|
228 | **After**
|
229 |
|
230 | ```js
|
231 | // Create new ZetaPush Client
|
232 | const client = new ZetaPush.Client({
|
233 | sandboxId: '<YOUR-SANDBOX-ID>',
|
234 | credentials() {
|
235 | return ZetaPush.Authentication.weak({
|
236 | token: null
|
237 | })
|
238 | }
|
239 | })
|
240 | ```
|
241 |
|
242 | # 2.0.0-beta.23 (2016-07-08)
|
243 |
|
244 | ### Fixes
|
245 |
|
246 | * **client** Expose user Id
|
247 |
|
248 | # 2.0.0-beta.22 (2016-07-07)
|
249 |
|
250 | ### Changes
|
251 |
|
252 | * **tools** Build file is now generated via webpack instead of gulp
|
253 |
|
254 | # 2.0.0-beta.21 (2016-07-05)
|
255 |
|
256 | ### Fixes
|
257 |
|
258 | * **stand by** Update cometd version version to fix stand by bug
|
259 |
|
260 | # 2.0.0-beta.20 (2016-07-05)
|
261 |
|
262 | ### Changes
|
263 |
|
264 | * **log** Replace console.log in source code by cometd log layer
|
265 | * **examples** Update examples with new **zetapush.min.js** file name
|
266 |
|
267 | # 2.0.0-beta.19 (2016-07-04)
|
268 |
|
269 | ### Changes
|
270 |
|
271 | * **dist** Add suffix min to build file
|
272 |
|
273 | # 2.0.0-beta.18 (2016-06-21)
|
274 |
|
275 | Major API modification
|
276 |
|
277 | ### BREAKING CHANGES
|
278 |
|
279 | * **core:** Update lib/client.constructor()
|
280 |
|
281 | **Before**
|
282 |
|
283 | ```js
|
284 | // Create new ZetaPush Client
|
285 | const client = new ZetaPush.Client({
|
286 | sandboxId: '<YOUR-SANDBOX-ID>',
|
287 | handshakeStrategy() {
|
288 | return ZetaPush.AuthentFactory.createWeakHandshake({
|
289 | token: null
|
290 | })
|
291 | }
|
292 | })
|
293 | ```
|
294 |
|
295 | **After**
|
296 |
|
297 | ```js
|
298 | // Create new ZetaPush Client
|
299 | const client = new ZetaPush.Client({
|
300 | sandboxId: '<YOUR-SANDBOX-ID>',
|
301 | credentials() {
|
302 | return ZetaPush.AuthentFactory.createWeakHandshake({
|
303 | token: null
|
304 | })
|
305 | }
|
306 | })
|
307 | ```
|
308 |
|
309 | # 2.0.0-beta.17 (2016-06-20)
|
310 |
|
311 | Major API simplification
|
312 |
|
313 | ### BREAKING CHANGES
|
314 |
|
315 | * **core:** Update lib/client.createService()
|
316 | * **core:** Update lib/client.unsubscribe()
|
317 |
|
318 | **Before**
|
319 |
|
320 | ```js
|
321 | const service = client.createService({
|
322 | type: ZetaPush.services.Stack,
|
323 | listener: {
|
324 | list(message) {
|
325 | console.log('on list stack', message.data)
|
326 | }
|
327 | }
|
328 | })
|
329 | service.publisher.list({
|
330 | stack: '<STACK-ID>'
|
331 | })
|
332 | ```
|
333 |
|
334 | **After**
|
335 |
|
336 | ```js
|
337 | const service = client.createService({
|
338 | type: ZetaPush.services.Stack,
|
339 | listener: {
|
340 | list(message) {
|
341 | console.log('on list stack', message.data)
|
342 | }
|
343 | }
|
344 | })
|
345 | service.list({
|
346 | stack: '<STACK-ID>'
|
347 | })
|
348 | ```
|
349 |
|
350 | # 2.0.0-beta.16 (2016-06-06)
|
351 |
|
352 | Major API simplification
|
353 |
|
354 | ### BREAKING CHANGES
|
355 |
|
356 | * **core:** Add lib/client.createService()
|
357 | * **core:** Remove lib/client.createMacroPublisher()
|
358 | * **core:** Remove lib/client.createServicePublisher()
|
359 | * **core:** Remove lib/client.getSessionId()
|
360 | * **core:** Remove lib/client.subscribe()
|
361 | * **core:** Remove lib/client.createMacroPublisherSubscriber()
|
362 | * **core:** Remove lib/client.createServicePublisherSubscriber()
|
363 | * **core:** Remove lib/client.handshake()
|
364 | * **core:** Rename lib/definitions to lib/services
|
365 |
|
366 | **Before**
|
367 |
|
368 | ```js
|
369 | var service = client.createServicePublisherSubscriber({
|
370 | definition: ZetaPush.definitions.StackPublisherDefinition,
|
371 | list: function (message) {
|
372 | console.log('on list stack', message.data)
|
373 | }
|
374 | }
|
375 | })
|
376 | service.publisher.list({
|
377 | stack: '<STACK-ID>'
|
378 | })
|
379 | ```
|
380 |
|
381 | **After**
|
382 |
|
383 | ```js
|
384 | const service = client.createService({
|
385 | type: ZetaPush.services.Stack,
|
386 | listener: {
|
387 | list(message) {
|
388 | console.log('on list stack', message.data)
|
389 | }
|
390 | }
|
391 | })
|
392 | service.publisher.list({
|
393 | stack: '<STACK-ID>'
|
394 | })
|
395 | ```
|
396 |
|
397 | # 2.0.0-beta.15 (2016-06-03)
|
398 |
|
399 | ### Changes
|
400 |
|
401 | * **misc:** Update internal default deployment id
|
402 |
|
403 | # 2.0.0-beta.14 (2016-06-01)
|
404 |
|
405 | ### Fix
|
406 |
|
407 | * **security:** Update forceHttps implementation
|
408 |
|
409 | # 2.0.0-beta.13 (2016-06-01)
|
410 |
|
411 | ### Fix
|
412 |
|
413 | * **security:** Dont override forceHttps for WeakClient
|
414 |
|
415 | # 2.0.0-beta.12 (2016-06-01)
|
416 |
|
417 | ### Changes
|
418 |
|
419 | * **security:** Force HTTPS when location.protocol is HTTPS
|
420 |
|
421 | # 2.0.0-beta.11 (2016-06-01)
|
422 |
|
423 | ### Changes
|
424 |
|
425 | * **core:** Add shorthand methods to handle lifecycle connection events
|
426 |
|
427 | # 2.0.0-beta.10 (2016-06-01)
|
428 |
|
429 | ### Changes
|
430 |
|
431 | * **core:** Use default deploymentId for all services and authentication
|
432 |
|
433 | # 2.0.0-beta.9
|
434 |
|
435 | ### Changes
|
436 |
|
437 | * **core:** Add new API setLogLevel
|
438 |
|
439 | ### Fix
|
440 |
|
441 | * **doc:** Update bower install path
|
442 |
|
443 | # 2.0.0-beta.8 (2016-05-23)
|
444 |
|
445 | ### Changes
|
446 |
|
447 | * **core:** Use subscription queue to automatically reconnect subscription
|
448 |
|
449 | # 2.0.0-beta.7 (2016-05-23)
|
450 |
|
451 | ### Fix
|
452 |
|
453 | * **core:** Fix connection status listener index
|
454 |
|
455 | # 2.0.0-beta.6 (2016-05-20)
|
456 |
|
457 | ### Changes
|
458 |
|
459 | * **core:** Rename SmartClient to WeakClient
|
460 |
|
461 | # 2.0.0-beta.4 (2016-05-20)
|
462 |
|
463 | ### Changes
|
464 |
|
465 | * **core:** Add new API isConnected
|
466 |
|
467 | # 2.0.0-beta.3 (2016-05-17)
|
468 |
|
469 | ### Changes
|
470 |
|
471 | * **macro:** Allow hardFail and debug option for macro publisher
|
472 |
|
473 | # 2.0.0-beta.2 (2016-05-09)
|
474 |
|
475 | ### Fix
|
476 |
|
477 | * **dependencies:** Update npm dependencies
|
478 |
|
479 | # 2.0.0-beta.1 (2016-05-09)
|
480 |
|
481 | ### Fix
|
482 |
|
483 | * **dependencies:** Add zetapush-cometd as a dependency
|
484 |
|
485 | # 2.0.0-beta.0 (2016-05-09)
|
486 |
|
487 | ### Changes
|
488 |
|
489 | * **core:** Add new API unsubscribe
|
490 |
|
491 | # 2.0.0-alpha.6 (2016-05-02)
|
492 |
|
493 | ### Changes
|
494 |
|
495 | * **core:** Add new VERSION parameter
|
496 | * **core:** Add new API removeConnectionStatusListener
|
497 |
|
498 | # 2.0.0-alpha.5 (2016-04-29)
|
499 |
|
500 | ### Changes
|
501 |
|
502 | * **connection:** Add new connection lifecycle onConnectionWillClose
|
503 |
|
504 | # 2.0.0-alpha.4 (2016-04-28)
|
505 |
|
506 | ### Fixes
|
507 |
|
508 | * **npm:** Clean npm files
|
509 |
|
510 | # 2.0.0-alpha.3 (2016-04-28)
|
511 |
|
512 | ### Features
|
513 |
|
514 | * **core:** Add createMacroPublisherSubscriber() API
|
515 | * **core:** Rename createServicePublisherSubscriber() API
|
516 | * **examples:** Add new examples
|
517 |
|
518 | # 2.0.0-alpha.2 (2016-04-25)
|
519 |
|
520 | ### Features
|
521 |
|
522 | * **core:** Expose SmartClient API
|
523 | * **examples:** Add new api and app examples
|
524 |
|
525 | # 2.0.0-alpha.1 (2016-04-05)
|
526 |
|
527 | ### Features
|
528 |
|
529 | * **core:** Complete API rewrite
|
530 |
|
531 | ### BREAKING CHANGES
|
532 |
|
533 | * 2.x API is no longer compatible with 1.X
|