@getstrata/core 2.2.37 → 2.2.39

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @getstrata/core changelog
2
2
 
3
+ ## 2.2.39
4
+
5
+ Fix published HTTP metrics registry identity: share root/subpath Prometheus state and preserve registry, class and bucket exports. Keep generated middleware/exporter observations consistent and extend installed Postgres/SQLite/MySQL HTTP regressions; no app bridge, schema change or collector-policy change.
6
+
7
+ ## 2.2.38
8
+
9
+ Qualify packed OIDC and SAML callbacks across Postgres, SQLite and MySQL. Fix explicitly non-migrating local bootstrap provisioning, dialect-safe transactional SAML replay, verified bearer ACS recipient binding, and independent SAML Response Destination validation through a maintained parser. Fix owned listener/client address mismatches with typed generated native options and optional CLI HOST, retaining default production binding. Preserve existing generated auth, production guards, compiler/runtime assertions and coverage gates; live provider and deployment qualification remain separate.
10
+
3
11
  ## 2.2.37
4
12
 
5
13
  Fix MySQL repository entity-returning mutations with transaction-pinned readback, persisted keys/defaults, honest null and deletion outcomes, complete model event payloads and injected connection ownership. Preserve native Postgres/SQLite RETURNING and conditional affected-row metadata. Close owned generated OpenAPI and failed-job command applications on success and failure before exit; retain both command and cleanup errors. Add mandatory packaged MySQL production column-tenancy CLI and HTTP auth/SCIM acceptance with an owned DML-only account, unchanged route/spec/SDK contracts, native ORM regressions and cleanup tests. Records dogfood issues #232 and #233 without application SQL workarounds.
@@ -10,6 +10,27 @@ interface SamlServiceProviderOptions {
10
10
  wantAuthnResponseSigned?: boolean;
11
11
  disableRequestedAuthnContext?: boolean;
12
12
  }
13
+ interface VerifiedSamlAssertion {
14
+ Assertion?: {
15
+ $?: {
16
+ ID?: string;
17
+ };
18
+ Subject?: Array<{
19
+ SubjectConfirmation?: Array<{
20
+ $?: {
21
+ Method?: string;
22
+ };
23
+ SubjectConfirmationData?: Array<{
24
+ $?: {
25
+ Recipient?: string;
26
+ NotBefore?: string;
27
+ NotOnOrAfter?: string;
28
+ };
29
+ }>;
30
+ }>;
31
+ }>;
32
+ };
33
+ }
13
34
  interface NodeSamlProfile {
14
35
  ID?: string;
15
36
  nameID?: string;
@@ -17,13 +38,8 @@ interface NodeSamlProfile {
17
38
  name?: string;
18
39
  issuer?: string;
19
40
  sessionIndex?: string | string[];
20
- getAssertion?: () => {
21
- Assertion?: {
22
- $?: {
23
- ID?: string;
24
- };
25
- };
26
- };
41
+ getAssertion?: () => VerifiedSamlAssertion;
42
+ getSamlResponseXml?: () => string;
27
43
  [key: string]: unknown;
28
44
  }
29
45
  type NodeSamlClient = {