@workos/oagen-emitters 0.10.0 → 0.12.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.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +28 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{plugin-H0KhxbN7.mjs → plugin-C408Wh-o.mjs} +2632 -717
- package/dist/plugin-C408Wh-o.mjs.map +1 -0
- package/dist/plugin.d.mts.map +1 -1
- package/dist/plugin.mjs +1 -1
- package/docs/sdk-architecture/rust.md +323 -0
- package/package.json +2 -2
- package/src/go/models.ts +48 -3
- package/src/index.ts +1 -0
- package/src/php/models.ts +27 -3
- package/src/php/resources.ts +16 -16
- package/src/plugin.ts +2 -1
- package/src/python/enums.ts +11 -54
- package/src/python/models.ts +204 -219
- package/src/python/path-expression.ts +75 -26
- package/src/python/resources.ts +19 -44
- package/src/python/shared-schemas.ts +488 -0
- package/src/python/tests.ts +9 -7
- package/src/ruby/resources.ts +13 -1
- package/src/rust/client.ts +62 -0
- package/src/rust/enums.ts +201 -0
- package/src/rust/fixtures.ts +110 -0
- package/src/rust/index.ts +95 -0
- package/src/rust/manifest.ts +31 -0
- package/src/rust/models.ts +150 -0
- package/src/rust/naming.ts +131 -0
- package/src/rust/resources.ts +689 -0
- package/src/rust/secret.ts +59 -0
- package/src/rust/tests.ts +298 -0
- package/src/rust/type-map.ts +225 -0
- package/test/entrypoint.test.ts +1 -0
- package/test/go/models.test.ts +116 -1
- package/test/go/resources.test.ts +70 -0
- package/test/php/models.test.ts +77 -0
- package/test/php/resources.test.ts +95 -0
- package/test/plugin.test.ts +2 -1
- package/test/python/enums.test.ts +91 -0
- package/test/python/models.test.ts +225 -0
- package/test/python/resources.test.ts +47 -2
- package/test/ruby/resources.test.ts +58 -0
- package/test/rust/client.test.ts +62 -0
- package/test/rust/enums.test.ts +117 -0
- package/test/rust/manifest.test.ts +73 -0
- package/test/rust/models.test.ts +139 -0
- package/test/rust/resources.test.ts +245 -0
- package/test/rust/type-map.test.ts +83 -0
- package/dist/plugin-H0KhxbN7.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.0](https://github.com/workos/oagen-emitters/compare/v0.11.0...v0.12.0) (2026-05-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **rust:** add Rust emitter ([#97](https://github.com/workos/oagen-emitters/issues/97)) ([363942e](https://github.com/workos/oagen-emitters/commit/363942e977cf540538af266f8132495b02e18f22))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **python:** emit request path as tuple of segments ([#98](https://github.com/workos/oagen-emitters/issues/98)) ([64f4f6f](https://github.com/workos/oagen-emitters/commit/64f4f6fb5481bdcee328403d1cf7a31cab7126d8))
|
|
14
|
+
|
|
15
|
+
## [0.11.0](https://github.com/workos/oagen-emitters/compare/v0.10.0...v0.11.0) (2026-05-07)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### ⚠ BREAKING CHANGES
|
|
19
|
+
|
|
20
|
+
* code that previously caught a TypeError from a typed property assignment, or that read $data passthrough from an unmatched union variant, will instead need to handle \UnexpectedValueException at the fromArray() call site. Every generated PHP SDK with a discriminated union model is affected.
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* surface schema/SDK drift across PHP, Python, Go, Ruby emitters ([#94](https://github.com/workos/oagen-emitters/issues/94)) ([558c55c](https://github.com/workos/oagen-emitters/commit/558c55cc851e16f27a6a2e7eb577442557827be7))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Miscellaneous Chores
|
|
28
|
+
|
|
29
|
+
* release as 0.11.0 ([a448006](https://github.com/workos/oagen-emitters/commit/a448006a0a20674bd91971de1f4b56e81ffcb76d))
|
|
30
|
+
|
|
3
31
|
## [0.10.0](https://github.com/workos/oagen-emitters/compare/v0.9.1...v0.10.0) (2026-05-06)
|
|
4
32
|
|
|
5
33
|
|
package/dist/index.d.mts
CHANGED
|
@@ -23,5 +23,8 @@ declare const kotlinEmitter: Emitter;
|
|
|
23
23
|
//#region src/ruby/index.d.ts
|
|
24
24
|
declare const rubyEmitter: Emitter;
|
|
25
25
|
//#endregion
|
|
26
|
-
|
|
26
|
+
//#region src/rust/index.d.ts
|
|
27
|
+
declare const rustEmitter: Emitter;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { dotnetEmitter, dotnetExtractor, elixirExtractor, goEmitter, goExtractor, kotlinEmitter, kotlinExtractor, nodeEmitter, nodeExtractor, phpEmitter, phpExtractor, pythonEmitter, pythonExtractor, rubyEmitter, rubyExtractor, rustEmitter, rustExtractor, workosEmittersPlugin };
|
|
27
30
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/node/index.ts","../src/python/index.ts","../src/php/index.ts","../src/go/index.ts","../src/dotnet/index.ts","../src/kotlin/index.ts","../src/ruby/index.ts"],"mappings":";;;;;cAgCa,WAAA,EAAa,OAAA;;;cCOb,aAAA,EAAe,OAAA;;;cCHf,UAAA,EAAY,OAAA;;;cCPZ,SAAA,EAAW,OAAA;;;cCsCX,aAAA,EAAe,OAAA;;;cCpCf,aAAA,EAAe,OAAA;;;cCHf,WAAA,EAAa,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/node/index.ts","../src/python/index.ts","../src/php/index.ts","../src/go/index.ts","../src/dotnet/index.ts","../src/kotlin/index.ts","../src/ruby/index.ts","../src/rust/index.ts"],"mappings":";;;;;cAgCa,WAAA,EAAa,OAAA;;;cCOb,aAAA,EAAe,OAAA;;;cCHf,UAAA,EAAY,OAAA;;;cCPZ,SAAA,EAAW,OAAA;;;cCsCX,aAAA,EAAe,OAAA;;;cCpCf,aAAA,EAAe,OAAA;;;cCHf,WAAA,EAAa,OAAA;;;cCQb,WAAA,EAAa,OAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
export { dotnetEmitter, dotnetExtractor, elixirExtractor, goEmitter, goExtractor, kotlinEmitter, kotlinExtractor, nodeEmitter, nodeExtractor, phpEmitter, phpExtractor, pythonEmitter, pythonExtractor, rubyEmitter, rubyExtractor, rustExtractor, workosEmittersPlugin };
|
|
1
|
+
import { _ as pythonEmitter, a as rustExtractor, c as pythonExtractor, d as rustEmitter, f as rubyEmitter, g as phpEmitter, h as goEmitter, i as kotlinExtractor, l as rubyExtractor, m as dotnetEmitter, n as elixirExtractor, o as goExtractor, p as kotlinEmitter, r as dotnetExtractor, s as phpExtractor, t as workosEmittersPlugin, u as nodeExtractor, v as nodeEmitter } from "./plugin-C408Wh-o.mjs";
|
|
2
|
+
export { dotnetEmitter, dotnetExtractor, elixirExtractor, goEmitter, goExtractor, kotlinEmitter, kotlinExtractor, nodeEmitter, nodeExtractor, phpEmitter, phpExtractor, pythonEmitter, pythonExtractor, rubyEmitter, rubyExtractor, rustEmitter, rustExtractor, workosEmittersPlugin };
|