-
Notifications
You must be signed in to change notification settings - Fork 9
/
.pubnub.yml
626 lines (626 loc) · 22.3 KB
/
.pubnub.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
name: kotlin
version: 10.3.2
schema: 1
scm: github.com/pubnub/kotlin
files:
- build/libs/pubnub-kotlin-10.3.2-all.jar
sdks:
-
type: library
full-name: Kotlin SDK
short-name: Kotlin
artifacts:
-
language: kotlin
tags:
- Server
- Mobile
source-repository: https://github.com/pubnub/kotlin
documentation: https://www.pubnub.com/docs/sdks/kotlin/
tier: 2
artifact-type: library
distributions:
-
distribution-type: library
distribution-repository: maven
package-name: pubnub-kotlin-10.3.2
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/10.3.2/pubnub-kotlin-10.3.2.jar
supported-platforms:
supported-operating-systems:
Android:
runtime-version:
- ART
target-api-level:
- 23
minimum-api-level:
- 23
maximum-api-level:
- 30
target-architecture:
- armeabi-v7a
- atom
- armeabi
- arm64-v8a
Linux:
runtime-version:
- JVM 8
minimum-os-version:
- Ubuntu 12.04
maximum-os-version:
- Ubuntu 24.04 LTS
target-architecture:
- x86
- x86-64
macOS:
runtime-version:
- JVM 8
minimum-os-version:
- macOS 10.12
maximum-os-version:
- macOS 15.0.1
target-architecture:
- x86-64
Windows:
runtime-version:
- JVM 8
minimum-os-version:
- Windows Vista Ultimate
maximum-os-version:
- Windows 11 Home
target-architecture:
- x86
- x86-64
requires:
-
name: kotlin-stdlib
min-version: 1.8.0
location: https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/2.0.21/kotlin-stdlib-2.0.21.jar
license: Apache License, Version 2.0
license-url: https://www.apache.org/licenses/LICENSE-2.0.txt
is-required: Required
-
name: retrofit
min-version: 2.11.0
location: https://repo.maven.apache.org/maven2/com/squareup/retrofit2/retrofit/2.11.0/retrofit-2.11.0.jar
license: Apache License, Version 2.0
license-url: https://github.com/square/retrofit/blob/2.11.0/LICENSE.txt
is-required: Required
-
name: okhttp
min-version: 4.12.0
location: https://repo.maven.apache.org/maven2/com/squareup/okhttp3/okhttp/4.12.0/okhttp-4.12.0.jar
license: Apache License, Version 2.0
license-url: https://github.com/square/okhttp/blob/parent-4.12.0/LICENSE.txt
is-required: Required
-
name: converter-gson
min-version: 2.11.0
location: https://repo.maven.apache.org/maven2/com/squareup/retrofit2/converter-gson/2.11.0/converter-gson-2.11.0.jar
license: Apache License, Version 2.0
license-url: https://github.com/square/retrofit/blob/2.11.0/LICENSE.txt
is-required: Required
-
name: gson
min-version: 2.11.0
location: https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.11.0/gson-2.11.0.jar
license: Apache License, Version 2.0
license-url: https://github.com/google/gson/blob/gson-parent-2.11.0/LICENSE
is-required: Required
-
name: json
min-version: "20240303"
location: https://repo.maven.apache.org/maven2/org/json/json/20240303/json-20240303.jar
license: Public Domain
license-url: https://github.com/stleary/JSON-java/blob/20240303/LICENSE
is-required: Required
-
name: cbor
min-version: "0.9"
location: https://repo.maven.apache.org/maven2/co/nstant/in/cbor/0.9
license: The Apache Software License, Version 2.0
license-url: https://www.apache.org/licenses/LICENSE-2.0.txt
is-required: Required
changelog:
- date: 2024-12-16
version: v10.3.2
changes:
- type: improvement
text: "Internal fixes."
- date: 2024-12-12
version: v10.3.1
changes:
- type: improvement
text: "Internal changes for Chat SDK."
- date: 2024-12-05
version: v10.3.0
changes:
- type: feature
text: "Added type aka. membershipType to Memberships and ChannelMembers APIs. Added also a way to specify optional data being added to the response for Membership and ChannelMembers APIs."
- date: 2024-12-03
version: v10.2.1
changes:
- type: improvement
text: "Internal changes in preparation for other releases."
- date: 2024-11-18
version: v10.2.0
changes:
- type: feature
text: "Added custom messageType for publish, signal, file, subscribe and history."
- date: 2024-11-06
version: v10.1.0
changes:
- type: feature
text: "Add extension selection and support for single file in migration_tool."
- type: feature
text: "Move shared java/kotlin APIs to a shared module."
- type: feature
text: "Added timetoken utils methods."
- type: feature
text: "Added getToken to Kotlin SDK."
- type: feature
text: "Added authToken (PAM v3) to Kotlin SDK PNConfiguration."
- type: bug
text: "Fix for NullPointerException in `pubnub-gson` when grant() is called without authKeys."
- date: 2024-09-24
version: v10.0.0
changes:
- type: feature
text: "`PatchValue` is now used in objects returning optional data from the server, such as `PNChannelMetadata`, `PNUUIDMetadata` for example."
- type: feature
text: "Removed mutable `PNConfiguration` classes which were deprecated in previous releases."
- type: feature
text: "PNConfiguration.retryConfiguration is now enabled by default only for Subscribe requests and set to Exponential."
- type: bug
text: "A migration script is provided with this release to help with package name changes."
- type: improvement
text: "Please consult the migration guide for JVM SDKs version 10.0.0 for required changes to your code."
- date: 2024-08-19
version: v9.2.4
changes:
- type: bug
text: "Fixes a crash on Android after `PubNub.destroy` is called and there are requests running."
- date: 2024-07-29
version: v9.2.3
changes:
- type: bug
text: "Fixed incorrect multiple callbacks (with exception) when sending files."
- date: 2024-07-04
version: v9.2.2
changes:
- type: bug
text: "SetState via Heartbeat fix."
- date: 2024-07-02
version: v9.2.1
changes:
- type: feature
text: "Add missing `auth_method` to APNS2 configuration."
- date: 2024-06-11
version: v9.2.0
changes:
- type: feature
text: "Add new FCMPayloadV2 for required new FCM push message format."
- type: bug
text: "Disallow DTD in XML parser and enable SecureRandom."
- date: 2024-04-15
version: v9.1.1
changes:
- type: bug
text: "The parameter names were not saved in compiled class files and were shown as `o`, `s1` etc. in the IDE. This change fixes the SDK to correctly show parameter names."
- date: 2024-04-09
version: v9.1.0
changes:
- type: feature
text: "Added methods for publishing messages and signals on the `Channel` class. Also added new builder factories on `PubNub` with required parameters provided upfront, e.g. `PubNub.publish(message,channel)`. ."
- type: feature
text: "Allow overriding certain PubNub configuration options per API call through `Endpoint.overrideConfiguration`."
- type: improvement
text: "Remaining classes from `com.pubnub.internal` package were hidden from compilation classpath. Users should only use classes in `com.pubnub.api` package."
- date: 2024-03-28
version: v9.0.0
changes:
- type: improvement
text: "From now on, Java and Kotlin SDKs will be versioned and released together, and clients using both SDKs will get new features and bug fixes simultaneously."
- type: improvement
text: "`RemoteAction.async()` now provides a single `Result` parameter to the callback. Please see the documentation for details."
- type: improvement
text: "PubNub initialization must be done through `PubNub.create()`. Constructor initialization is disallowed."
- type: improvement
text: "There is a new immutable `PNConfiguration` class with builder. The old `PNConfiguration` class is marked deprecated, but functional for now."
- type: improvement
text: "Internal classes and interfaces have been moved to the `com.pubnub.internal` classes or removed from the compile classpath. You should not use them in your app. All user-facing classes are in the `com.pubnub.api` package."
- date: 2024-02-22
version: v8.0.0
changes:
- type: feature
text: "A new version of subscriptions and presence handling is enabled by default (`enableEventEngine` flag is set to `true`). Please consult the documentation for new PNStatus values that are emitted for subscriptions, as code changes might be required to support this change."
- type: feature
text: "Added support for scoped event listeners using new entity objects: Channels, ChannelGroups, ChannelMetadata and UserMetadata."
- date: 2024-02-06
version: v7.8.1
changes:
- type: bug
text: "Fixed transitions so that SubscribeEvenEngine can handle multiple subscribe calls executed one by one."
- type: bug
text: "Add missing Leave events with EE enabled and heartbeat = 0."
- date: 2024-01-17
version: v7.8.0
changes:
- type: feature
text: "Added `enableEventEngine`, `retryConfiguration` and `maintainPresenceState` configuration flags."
- date: 2023-11-28
version: v7.7.4
changes:
- type: feature
text: "Add `error` field to `PNFileEventResult` and set it in case of decryption failure."
- date: 2023-11-23
version: v7.7.3
changes:
- type: bug
text: "Handle unencrypted message in subscribe and history when crypto configured (error flag is set on message result)."
- date: 2023-11-08
version: v7.7.2
changes:
- type: bug
text: "Fixed reading unencrypted history message when crypto is configured."
- date: 2023-10-30
version: v7.7.1
changes:
- type: bug
text: "Updated the JSON lib to version 20231013."
- type: bug
text: "Changed license type from MIT to PubNub Software Development Kit License."
- date: 2023-10-16
version: v7.7.0
changes:
- type: feature
text: "Add crypto module that allows configure SDK to encrypt and decrypt messages."
- type: bug
text: "Improved security of crypto implementation by adding enhanced AES-CBC cryptor."
- date: 2023-08-14
version: v7.6.0
changes:
- type: feature
text: "Kotlin SDK doesn't depend on Jackson library anymore. This reduces the size of required dependencies which should result in size reduction of applications that use Kotlin SDK."
- date: 2023-04-19
version: v7.5.0
changes:
- type: feature
text: "It's now possible to return messageType in PNFetchMessageItem from fetchMessages method. Possible values are either Message or File ."
- date: 2023-04-11
version: v7.4.3
changes:
- type: bug
text: "Do not cancel subscribe call on set state."
- date: 2023-03-07
version: v7.4.2
changes:
- type: bug
text: "Remove deprecation for Grant Token methods."
- type: bug
text: "Update Jackson and Json libraries to avoid vulnerabilities."
- date: 2023-02-02
version: v7.4.1
changes:
- type: bug
text: "Uploading an encrypted file correctly sets the content size in the multipart body."
- date: 2022-09-20
version: v7.4.0
changes:
- type: feature
text: "PNFileEventResult has messageJson field with the same JsonElement type as in other events."
- date: 2022-07-21
version: v7.3.2
changes:
- type: bug
text: "Gson, logback."
- type: bug
text: "Removed CREATE for space as a valid permission that can be assigned to token."
- date: 2022-06-28
version: v7.3.1
changes:
- type: bug
text: "Renamed name to id in SpacePermissions."
- date: 2022-06-28
version: v7.3.0
changes:
- type: feature
text: "Introduced new GrantToken method with no channel groups."
- date: 2022-06-14
version: v7.2.0
changes:
- type: feature
text: "PNChannelMetadata and PNUUIDMetadata has status and type now."
- type: feature
text: "PNChannelMembership and PNMember has status now."
- type: bug
text: "It's possible to sort memberships and members by nested fields."
- date: 2022-05-23
version: v7.1.0
changes:
- type: feature
text: "Upgrade okhttp library ."
- date: 2022-04-19
version: v7.0.1
changes:
- type: bug
text: "Update Jackson library with fixes for CVE-2020-36518."
- date: 2022-01-12
version: v7.0.0
changes:
- type: improvement
text: "BREAKING CHANGES: uuid is required parameter in PNConfiguration constructor."
- date: 2021-12-16
version: v6.3.0
changes:
- type: feature
text: "Add revoke token feature."
-
version: v6.2.0
date: 2021-10-06
changes:
-
type: feature
text: "Acceptance tests plugged into CI pipeline."
-
type: feature
text: "Internal telemetry enhancement."
-
type: bug
text: "Meta field exposed correctly in PNToken class."
-
version: v6.1.0
date: 2021-09-08
changes:
-
type: feature
text: "Method grantToken has beed added. It allows generation of signed token with permissions for channels and channel groups."
-
version: v6.0.3
date: 2021-07-26
changes:
-
type: bug
text: "Using random initialization vector according to 'useRandomInitializationVector' flag setting."
-
version: v6.0.2
date: 2021-07-06
changes:
-
type: bug
text: "Handle socket exception causing crash while canceling the call."
-
version: v6.0.1
date: 2021-05-25
changes:
-
type: bug
text: "There was missing PNAcknowledgmentCategory status callback after unsubscribe operation. Problem was caused by ungaught SSLException. This release provides a fix for the issue."
-
version: v6.0.0
date: 2021-05-12
changes:
-
type: feature
text: "Random initialisation vector used when encryption enabled is now default behaviour."
-
type: feature
text: "Bumping versions of used dependencies."
-
type: bug
text: "There were some non daemon threads running in background preventing VM from exiting. Now they are daemon threads."
-
version: v5.1.3
date: 2021-03-24
changes:
-
type: bug
text: "Properly canceling HTTP requests when OkHttp client 3.14.9 used."
-
version: v5.1.2
date: 2021-03-09
changes:
-
type: bug
text: "In some specific timing conditions subscriptions loop could loose reference to one of the retrofit call and we would loose posibility to control it. In the meantime we'd start yet another subscriptions call. One of them is obviously not necessary Synchronization has been improved so it's no longer possible."
-
type: bug
text: "It was not possible to properly cancel the OkHttp connection when Google Security Provider (ProviderInstaller) is being used."
-
version: v5.1.1
date: 2021-01-20
changes:
-
type: bug
text: "File upload encryption fix."
-
type: bug
text: "Asynchronous file upload encryption fix."
-
type: bug
text: "Telemetry fix - removal of `putIfAbsent`."
-
version: v5.1.0
date: 2020-12-16
changes:
-
type: feature
text: "Files support includes sending, downloading, listing, deleting together with notifications about file events."
-
type: feature
text: "New methods can set and remove memberships/channelMembers in one call."
-
type: feature
text: "New field `page` can be returned from the backend in case there's more data to fetch for the original query. This new field can be used directly in new `fetchMessages` and `getMessagesActions` method versions. The old versions in which paging information was in separate arguments has been deprecated."
-
type: feature
text: "FetchMessages has a default limit of 100 for single-channel call."
-
type: bug
text: "Make PNMessageActionResultevent accessible (no longer internal)."
-
type: bug
text: "Method `addMemberships` has been deprecated and shouldn't be used in the future."
-
version: v5.0.2
date: 2020-10-20
changes:
-
type: bug
text: "Remove Instant to improve Android version compatibility."
-
version: 5.1.0
date: 2020-09-28
changes:
-
type: feature
text: "Add simplified Objects API support with UUID and Channel metadata / membership management."
-
type: bug
text: "Fix crashing Telemetry Manager."
-
version: v5.0.0
date: 2020-08-12
changes:
-
type: improvement
text: "PubNub methods will no longer support builder style calls and will use named arguments instead."
- version: v4.0.1
date: 2020-07-28
changes:
- type: feature
text: kdoc (javadoc)
- version: v4.0.0
date: 2020-06-11
changes:
- type: feature
text: Initial release
features:
access:
- ACCESS-GRANT
- ACCESS-GRANT-MANAGE
- ACCESS-GRANT-DELETE
- ACCESS-SECRET-KEY-ALL-ACCESS
- ACCESS-GRANT-TOKEN
- ACCESS-PARSE-TOKEN
- ACCESS-SET-TOKEN
- ACCESS-REVOKE-TOKEN
channel-groups:
- CHANNEL-GROUPS-ADD-CHANNELS
- CHANNEL-GROUPS-REMOVE-CHANNELS
- CHANNEL-GROUPS-REMOVE-GROUPS
- CHANNEL-GROUPS-LIST-CHANNELS-IN-GROUP
notify:
- REQUEST-MESSAGE-COUNT-EXCEEDED
push:
- PUSH-ADD-DEVICE-TO-CHANNELS
- PUSH-REMOVE-DEVICE-FROM-CHANNELS
- PUSH-LIST-CHANNELS-FROM-DEVICE
- PUSH-REMOVE-DEVICE
- PUSH-TYPE-APNS
- PUSH-TYPE-APNS2
- PUSH-TYPE-FCM
presence:
- PRESENCE-HERE-NOW
- PRESENCE-WHERE-NOW
- PRESENCE-SET-STATE
- PRESENCE-GET-STATE
- PRESENCE-HEARTBEAT
publish:
- PUBLISH-STORE-FLAG
- PUBLISH-RAW-JSON
- PUBLISH-WITH-METADATA
- PUBLISH-GET
- PUBLISH-POST
- PUBLISH-ASYNC
- PUBLISH-FIRE
- PUBLISH-REPLICATION-FLAG
- PUBLISH-MESSAGE-TTL
storage:
- STORAGE-REVERSE
- STORAGE-INCLUDE-TIMETOKEN
- STORAGE-START-END
- STORAGE-COUNT
- STORAGE-FETCH-MESSAGES
- STORAGE-DELETE-MESSAGES
- STORAGE-MESSAGE-COUNT
- STORAGE-HISTORY-WITH-META
- STORAGE-FETCH-WITH-META
- STORAGE-FETCH-WITH-MESSAGE-ACTIONS
time:
- TIME-TIME
subscribe:
- SUBSCRIBE-CHANNELS
- SUBSCRIBE-CHANNEL-GROUPS
- SUBSCRIBE-PRESENCE-CHANNELS
- SUBSCRIBE-PRESENCE-CHANNELS-GROUPS
- SUBSCRIBE-WITH-TIMETOKEN
- SUBSCRIBE-WILDCARD
- SUBSCRIBE-FILTER-EXPRESSION
- SUBSCRIBE-PUBLISHER-UUID
- SUBSCRIBE-PUBSUB-V2
- SUBSCRIBE-MESSAGE-ACTIONS-LISTENER
signal:
- SIGNAL-SEND
objects:
- OBJECTS-FILTERING
- OBJECTS-SORTING
- OBJECTS-GET-ALL-UUID-METADATA
- OBJECTS-GET-UUID-METADATA
- OBJECTS-SET-UUID-METADATA
- OBJECTS-REMOVE-UUID-METADATA
- OBJECTS-GET-ALL-CHANNEL-METADATA
- OBJECTS-GET-CHANNEL-METADATA
- OBJECTS-SET-CHANNEL-METADATA
- OBJECTS-REMOVE-CHANNEL-METADATA
- OBJECTS-GET-MEMBERSHIPS-V2
- OBJECTS-SET-MEMBERSHIPS-V2
- OBJECTS-REMOVE-MEMBERSHIPS-V2
- OBJECTS-GET-CHANNEL-MEMBERS-V2
- OBJECTS-SET-CHANNEL-MEMBERS-V2
- OBJECTS-REMOVE-CHANNEL-MEMBERS-V2
- OBJECTS-MANAGE-MEMBERSHIPS-V2
- OBJECTS-MANAGE-CHANNEL-MEMBERS-V2
files:
- FILES-DELETE-FILE
- FILES-DOWNLOAD-FILE
- FILES-GET-FILE-URL
- FILES-LIST-FILES
- FILES-SEND-FILE
unsubscribe:
- UNSUBSCRIBE-ALL
- UNSUBSCRIBE-SUPPRESS-LEAVE-EVENTS
message-actions:
- MESSAGE-ACTIONS-GET
- MESSAGE-ACTIONS-ADD
- MESSAGE-ACTIONS-REMOVE
others:
- TELEMETRY
- QUERY-PARAM
- PN-OTHER-PROCESSING
- CREATE-PUSH-PAYLOAD
supported-platforms:
- version: PubNub Kotlin SDK
platforms:
- Windows 10 (8u51 and above)
- Windows 8.x (Desktop)
- Windows 7 SP1
- Windows Vista SP2
- Windows Server 2008 R2 SP1 (64-bit)
- Windows Server 2012 and 2012 R2 (64-bit)
- Intel-based Mac running Mac OS X 10.8.3+, 10.9+
- Oracle Linux 5.5+
- Oracle Linux 6.x
- Oracle Linux 7.x (64-bit) (8u20 and above)
- Red Hat Enterprise Linux 5.5+, 6.x
- Red Hat Enterprise Linux 7.x (64-bit) (8u20 and above)
- Suse Linux Enterprise Server 10 SP2+, 11.x
- Suse Linux Enterprise Server 12.x (64-bit) (8u31 and above)
- Ubuntu Linux 12.04 LTS, 13.x
- Ubuntu Linux 14.x (8u25 and above)
- Ubuntu Linux 15.04 (8u45 and above)
- Ubuntu Linux 15.10 (8u65 and above)
editors:
- Java8+
- version: PubNub Android SDK
platforms:
- Android 2.3.1+