@osdk/client 0.20.0-beta.3 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/CHANGELOG.md +90 -5
  2. package/build/{esm/chunk-JRG5V55N.js → browser/chunk-T5DZREKX.js} +557 -112
  3. package/build/browser/chunk-T5DZREKX.js.map +1 -0
  4. package/build/browser/index.js +4 -8
  5. package/build/browser/index.js.map +1 -1
  6. package/build/browser/public/unstable-do-not-use.js +2 -2
  7. package/build/browser/public/unstable-do-not-use.js.map +1 -1
  8. package/build/cjs/{chunk-EP4KLU3N.cjs → chunk-VW7XYOFL.cjs} +556 -110
  9. package/build/cjs/chunk-VW7XYOFL.cjs.map +1 -0
  10. package/build/cjs/index.cjs +14 -11
  11. package/build/cjs/index.cjs.map +1 -1
  12. package/build/cjs/public/unstable-do-not-use.cjs +8 -8
  13. package/build/cjs/public/unstable-do-not-use.cjs.map +1 -1
  14. package/build/esm/Client.d.ts +3 -2
  15. package/build/esm/Client.d.ts.map +1 -1
  16. package/build/esm/MinimalClientContext.d.ts +4 -0
  17. package/build/esm/MinimalClientContext.d.ts.map +1 -1
  18. package/build/esm/__unstable/UnstableClient.d.ts +1 -1
  19. package/build/esm/__unstable/UnstableClient.d.ts.map +1 -1
  20. package/build/esm/actions/applyAction.d.ts.map +1 -1
  21. package/build/{browser/chunk-M3BF5ESV.js → esm/chunk-T5DZREKX.js} +557 -109
  22. package/build/esm/chunk-T5DZREKX.js.map +1 -0
  23. package/build/esm/createClient.d.ts.map +1 -1
  24. package/build/esm/createMinimalClient.d.ts.map +1 -1
  25. package/build/esm/createPlatformClient.d.ts +4 -1
  26. package/build/esm/createPlatformClient.d.ts.map +1 -1
  27. package/build/esm/createTimeseriesProperty.d.ts +4 -0
  28. package/build/esm/createTimeseriesProperty.d.ts.map +1 -0
  29. package/build/esm/index.d.ts +6 -4
  30. package/build/esm/index.d.ts.map +1 -1
  31. package/build/esm/index.js +4 -8
  32. package/build/esm/index.js.map +1 -1
  33. package/build/esm/object/Cache.d.ts +1 -1
  34. package/build/esm/object/SimpleCache.d.ts +1 -1
  35. package/build/esm/object/convertWireToOsdkObjects/createOsdkInterface.d.ts.map +1 -1
  36. package/build/esm/object/convertWireToOsdkObjects/createOsdkObject.d.ts.map +1 -1
  37. package/build/esm/object/convertWireToOsdkObjects.d.ts.map +1 -1
  38. package/build/esm/object/fetchPage.d.ts.map +1 -1
  39. package/build/esm/object/timeseries.test.d.ts +2 -0
  40. package/build/esm/object/timeseries.test.d.ts.map +1 -0
  41. package/build/esm/objectSet/createObjectSet.d.ts.map +1 -1
  42. package/build/esm/ontology/OntologyProvider.d.ts +1 -1
  43. package/build/esm/ontology/OntologyProvider.d.ts.map +1 -1
  44. package/build/esm/ontology/loadFullObjectMetadata.d.ts +1 -1
  45. package/build/esm/ontology/loadFullObjectMetadata.d.ts.map +1 -1
  46. package/build/esm/ontology/loadInterfaceDefinition.d.ts +1 -1
  47. package/build/esm/ontology/loadInterfaceDefinition.d.ts.map +1 -1
  48. package/build/esm/public/unstable-do-not-use.js +2 -2
  49. package/build/esm/public/unstable-do-not-use.js.map +1 -1
  50. package/build/esm/queries/applyQuery.d.ts +6 -0
  51. package/build/esm/queries/applyQuery.d.ts.map +1 -0
  52. package/build/esm/queries/createQueryInvoker.d.ts +5 -0
  53. package/build/esm/queries/createQueryInvoker.d.ts.map +1 -0
  54. package/build/esm/queries/queries.test.d.ts +2 -0
  55. package/build/esm/queries/queries.test.d.ts.map +1 -0
  56. package/build/esm/util/addUserAgentAndRequestContextHeaders.d.ts +4 -0
  57. package/build/esm/util/addUserAgentAndRequestContextHeaders.d.ts.map +1 -0
  58. package/build/esm/util/augmentRequestContext.d.ts +32 -0
  59. package/build/esm/util/augmentRequestContext.d.ts.map +1 -0
  60. package/build/esm/util/isOsdkBaseObject.d.ts +3 -0
  61. package/build/esm/util/isOsdkBaseObject.d.ts.map +1 -0
  62. package/build/esm/util/isOsdkObject.d.ts +3 -0
  63. package/build/esm/util/isOsdkObject.d.ts.map +1 -0
  64. package/build/esm/util/streamutils.d.ts +3 -0
  65. package/build/esm/util/streamutils.d.ts.map +1 -0
  66. package/build/esm/util/toDataValue.d.ts.map +1 -1
  67. package/build/esm/util/toDataValueQueries.d.ts +10 -0
  68. package/build/esm/util/toDataValueQueries.d.ts.map +1 -0
  69. package/package.json +22 -15
  70. package/build/browser/chunk-M3BF5ESV.js.map +0 -1
  71. package/build/cjs/chunk-EP4KLU3N.cjs.map +0 -1
  72. package/build/esm/chunk-JRG5V55N.js.map +0 -1
  73. package/build/esm/util/addUserAgent.d.ts +0 -4
  74. package/build/esm/util/addUserAgent.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,90 @@
1
1
  # @osdk/client
2
2
 
3
+ ## 0.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 7505880: Fix exports from client
8
+ - 02c65c5: Rework $select syntax in aggregations to add support for ordering by metrics
9
+ - 564adbf: Fixing attachment creation when converting objects from the wire
10
+ - 141953f: Expose $title property in OsdkBase
11
+ - 505b993: Experimental subscription no longer fires outOfDate when first subscribing
12
+ - a6119bd: Attachments reworked so that you can now fetch directly from object properties. Also added a helper to create an attachment object directly from a rid.
13
+ - bfdb123: WARNING: Breaking: change action invocation to require `.applyAction`
14
+ - 62bae76: Upgrades 'ws' to avoid false flag CVE
15
+ - 034f7ea: Add support for no query time series pulls.
16
+ - f6d8850: Removed get, which is now replaced by fetchOne(). This has the exact same functionality and is essentially just a rename.
17
+ - 388dba9: Change all internal dependencies to be tilde not caret
18
+ - 527e8ab: Objects that are $as are now linked directly to changes from source object
19
+ - a519655: Fixed issue accessing $rid when requested on an object.
20
+ - 7afa226: Fix action params that take objects to correctly parse out primary key.
21
+ - 57b68db: It is possible to pass a Promise<string> for ontologyRid on client creation
22
+ - 5378312: Added batch action support for 2.0 client
23
+ - 3ec7c38: Add support for queries in 2.0
24
+ - b3563e0: OSDK learns \_\_EXPERIMENTAL_strictNonNull to throw, drop objects, or return `| undefined` for properties, allowing for correct typesafety.
25
+ - 7adf5c7: Refactoring packages
26
+ - 4824449: Fix asyncIter to fetch subsequent pages
27
+ - dd6033a: Adds a createPlatformClient if you only need platform apis
28
+ - bc89b62: Spelling fixes and spell check in CI
29
+ - 4dbac7e: Fixes link direction for experimental bulk loads
30
+ - 489d13f: Add support for timeseries in 2.0 syntax.
31
+ - 8cff4f0: Adding more package exports
32
+ - dec005b: Add final method call to request context header
33
+ - 5e9d7d2: Refactored packages to move types over to client.api
34
+ - 413e511: Added attachment uploading, reading, and metadata fetching support to 2.0.
35
+ - 44add10: Standardize the use of dollar signs as prefixes for object properties that are specific to the OSDK.
36
+ - a92e032: ClientCache now uses a key field as the cache key instead of the entire client
37
+
38
+ ### Patch Changes
39
+
40
+ - Updated dependencies [b5ac8a8]
41
+ - Updated dependencies [141953f]
42
+ - Updated dependencies [a6119bd]
43
+ - Updated dependencies [034f7ea]
44
+ - Updated dependencies [388dba9]
45
+ - Updated dependencies [d8edf10]
46
+ - Updated dependencies [3ec7c38]
47
+ - Updated dependencies [7adf5c7]
48
+ - Updated dependencies [700c894]
49
+ - Updated dependencies [bc89b62]
50
+ - Updated dependencies [3615522]
51
+ - Updated dependencies [489d13f]
52
+ - Updated dependencies [dec005b]
53
+ - Updated dependencies [5e9d7d2]
54
+ - Updated dependencies [413e511]
55
+ - Updated dependencies [67c1fd6]
56
+ - @osdk/client.api@0.20.0
57
+ - @osdk/generator-converters@0.7.0
58
+ - @osdk/shared.client.impl@0.1.0
59
+ - @osdk/shared.net.fetch@0.1.0
60
+ - @osdk/api@1.9.0
61
+ - @osdk/client.unstable.osw@0.1.0
62
+ - @osdk/shared.net.errors@1.1.0
63
+ - @osdk/client.unstable@0.1.0
64
+
65
+ ## 0.20.0-beta.4
66
+
67
+ ### Minor Changes
68
+
69
+ - 7afa226: Fix action params that take objects to correctly parse out primary key.
70
+ - 3ec7c38: Add support for queries in 2.0
71
+ - 4824449: Fix asyncIter to fetch subsequent pages
72
+ - bc89b62: Spelling fixes and spell check in CI
73
+ - a92e032: ClientCache now uses a key field as the cache key instead of the entire client
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [3ec7c38]
78
+ - Updated dependencies [bc89b62]
79
+ - @osdk/client.api@0.20.0-beta.4
80
+ - @osdk/api@1.9.0-beta.1
81
+ - @osdk/generator-converters@0.7.0-beta.1
82
+ - @osdk/client.unstable.osw@0.1.0-beta.0
83
+ - @osdk/shared.client.impl@0.1.0-beta.1
84
+ - @osdk/shared.net.errors@1.1.0-beta.0
85
+ - @osdk/shared.net.fetch@0.1.0-beta.1
86
+ - @osdk/client.unstable@0.1.0-beta.0
87
+
3
88
  ## 0.20.0-beta.3
4
89
 
5
90
  ### Minor Changes
@@ -60,7 +145,7 @@
60
145
  - 5378312: Added batch action support for 2.0 client
61
146
  - b3563e0: OSDK learns \_\_EXPERIMENTAL_strictNonNull to throw, drop objects, or return `| undefined` for properties, allowing for correct typesafety.
62
147
  - dd6033a: Adds a createPlatformClient if you only need platform apis
63
- - 4dbac7e: Fixes link direction for experiental bulk loads
148
+ - 4dbac7e: Fixes link direction for experimental bulk loads
64
149
  - 413e511: Added attachment uploading, reading, and metadata fetching support to 2.0.
65
150
  - 44add10: Standardize the use of dollar signs as prefixes for object properties that are specific to the OSDK.
66
151
 
@@ -76,7 +161,7 @@
76
161
 
77
162
  - 0a64def: Adds experimental batch link support
78
163
  - f9b3c72: Support importing the unstable-do-not-use from moduleResolution: node
79
- - 978ecd5: Rexport PalantirApiError
164
+ - 978ecd5: Reexport PalantirApiError
80
165
  - 978ecd5: Client is now usable for calling Platform SDK
81
166
  - c9f3214: Interfaces are now mapped as views
82
167
 
@@ -111,7 +196,7 @@
111
196
 
112
197
  - Introduced an optional pino logger to the client
113
198
  - Fixes issues with where clauses for equality in subscriptions
114
- - Fixes issues with inconsistent idname and apiName's in the mapping data
199
+ - Fixes issues with inconsistent id name and apiName's in the mapping data
115
200
 
116
201
  - 9906a41: Foundry Platform API support
117
202
  - 9906a41: Compatible version checks now use versions that are both embedded in the code and updated automatically as part of the release process.
@@ -197,7 +282,7 @@
197
282
 
198
283
  ### Minor Changes
199
284
 
200
- - 6d81f7f: Add priliminary action support to v2
285
+ - 6d81f7f: Add preliminary action support to v2
201
286
 
202
287
  ## 0.0.11
203
288
 
@@ -267,7 +352,7 @@
267
352
 
268
353
  ### Patch Changes
269
354
 
270
- - f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatability in @osdk/api"
355
+ - f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatibility in @osdk/api"
271
356
  - 848404c: Handle conflicts between object, action, and query names
272
357
  - Updated dependencies [f3120fb]
273
358
  - Updated dependencies [848404c]