@memberjunction/auth-providers 5.41.0 → 5.43.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/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @memberjunction/auth-providers
|
|
2
2
|
|
|
3
|
+
## 5.43.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [40eb4e0]
|
|
8
|
+
- Updated dependencies [9f6aa87]
|
|
9
|
+
- Updated dependencies [ad8d8f1]
|
|
10
|
+
- Updated dependencies [a4cdfb0]
|
|
11
|
+
- @memberjunction/core@5.43.0
|
|
12
|
+
- @memberjunction/global@5.43.0
|
|
13
|
+
|
|
14
|
+
## 5.42.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 9b9b484: Field active-status enforcement relocation, plus the "Meet" app rename, quieter operational logging, and a telemetry suppression refinement.
|
|
19
|
+
|
|
20
|
+
**Field active-status enforcement (`@memberjunction/core`, `@memberjunction/generic-database-provider`)**
|
|
21
|
+
- Deprecated-field warnings and disabled-field exceptions are now enforced at the field-access boundary genuine code flows through — `BaseEntity.Get()`, `Set()`, and `SetMany()` (what the generated strongly-typed accessors call) — instead of on the low-level `EntityField.Value` accessor. This flips a leaky blocklist (assert on every `.Value` touch, then suppress at each internal call site) into a precise allowlist, and fixes false deprecation warnings emitted on every load/save of a record that merely _contains_ a deprecated column (e.g. `"MJ: AI Agent Runs".AgentState`) even when no code uses it.
|
|
22
|
+
- New memoized `EntityInfo.HasInactiveFields` fast-path gate: entities whose fields are all `Active` (the vast majority) pay only a single cached boolean check in the hot read/write paths.
|
|
23
|
+
- `EntityField.ActiveStatusAssertions` is retained as a `@deprecated` no-op for backward compatibility; the six now-redundant internal suppression toggles were removed. Warning caller strings are now accurate (`BaseEntity.Get`/`Set`) instead of the misleading `"EntityField.Value setter"`.
|
|
24
|
+
|
|
25
|
+
**Telemetry (`@memberjunction/core`)**
|
|
26
|
+
- Suppress "load this into a dedicated engine cache" telemetry suggestions for entities that have explicitly opted out of caching (`EntityInfo.AllowCaching = false`), reusing the existing flag as the single source of truth.
|
|
27
|
+
|
|
28
|
+
**Quieter operational logging (`@memberjunction/scheduling-engine`, `@memberjunction/ai-agents`, `@memberjunction/server`, `@memberjunction/server-bootstrap`, `@memberjunction/server-bootstrap-lite`)**
|
|
29
|
+
- Scheduled-job no-op runs (e.g. the Agent Memory Manager finding no new activity) now collapse to the engine's `Starting`/`Completed` heartbeat; the per-agent and memory-manager internal traces are verbose-only.
|
|
30
|
+
- Cleaner server startup logging: transient boot spinner, true total timing, less redundant output, and the `CustomColumnPromoter` registration log demoted to verbose-only.
|
|
31
|
+
|
|
32
|
+
**"Meet" app + local LiveKit dev (`@memberjunction/ng-explorer-core`, `@memberjunction/livekit-room-server`, `@memberjunction/auth-providers`, `@memberjunction/server`)**
|
|
33
|
+
- Renamed the Realtime app to "Meet", with the Live Room now defaulting to the Realtime co-agent instead of starting with no agent, plus a local LiveKit dev server and supporting docs.
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [9b9b484]
|
|
38
|
+
- Updated dependencies [2f225e4]
|
|
39
|
+
- Updated dependencies [0fa3cbc]
|
|
40
|
+
- @memberjunction/core@5.42.0
|
|
41
|
+
- @memberjunction/global@5.42.0
|
|
42
|
+
|
|
3
43
|
## 5.41.0
|
|
4
44
|
|
|
5
45
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProviderFactory.d.ts","sourceRoot":"","sources":["../src/AuthProviderFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"AuthProviderFactory.d.ts","sourceRoot":"","sources":["../src/AuthProviderFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAA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ction/core';
|
|
1
2
|
import { BaseAuthProvider } from './BaseAuthProvider.js';
|
|
2
3
|
import { MJGlobal, BaseSingleton, MJLruCache } from '@memberjunction/global';
|
|
3
4
|
// Import providers to ensure they're registered
|
|
@@ -65,7 +66,10 @@ export class AuthProviderFactory extends BaseSingleton {
|
|
|
65
66
|
// Clear issuer caches when registering new provider
|
|
66
67
|
this.issuerCache.Clear();
|
|
67
68
|
this.issuerMultiCache.Clear();
|
|
68
|
-
|
|
69
|
+
// Verbose-only: provider NAMES are surfaced compactly in the server startup summary
|
|
70
|
+
// `Auth` line at standard level. Routes through the global verbose gate (set from the
|
|
71
|
+
// server's telemetry.level) so it's reusable by any consumer of this generic package.
|
|
72
|
+
LogStatusEx({ message: `Registered auth provider: ${provider.name} with issuer: ${provider.issuer}`, verboseOnly: true });
|
|
69
73
|
}
|
|
70
74
|
/**
|
|
71
75
|
* Gets a provider by its issuer URL
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProviderFactory.js","sourceRoot":"","sources":["../src/AuthProviderFactory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthProviderFactory.js","sourceRoot":"","sources":["../src/AuthProviderFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAE7E,gDAAgD;AAChD,OAAO,8BAA8B,CAAC;AACtC,OAAO,6BAA6B,CAAC;AACrC,OAAO,6BAA6B,CAAC;AACrC,OAAO,gCAAgC,CAAC;AACxC,OAAO,+BAA+B,CAAC;AACvC,OAAO,kCAAkC,CAAC;AAE1C;;;GAGG;AACH,MAAM,OAAO,mBAAoB,SAAQ,aAAkC;IAezE;QACE,KAAK,EAAE,CAAC;QAfF,cAAS,GAA+B,IAAI,GA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C,CAAC,CAAC;IAC5C,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,wBAAwB,CAAC,IAAY;QAC1C,IAAI,CAAC;YACH,qDAAqD;YACrD,MAAM,YAAY,GAAG,QAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,eAAe,CAAC,gBAAgB,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;YAC1G,OAAO,YAAY,KAAK,IAAI,IAAI,YAAY,KAAK,SAAS,CAAC;QAC7D,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/auth-providers",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.43.0",
|
|
4
4
|
"description": "Authentication provider interfaces, base classes, and implementations for MemberJunction",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"test:watch": "vitest"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@memberjunction/core": "5.
|
|
15
|
-
"@memberjunction/global": "5.
|
|
14
|
+
"@memberjunction/core": "5.43.0",
|
|
15
|
+
"@memberjunction/global": "5.43.0",
|
|
16
16
|
"graphql": "^16.12.0",
|
|
17
17
|
"jsonwebtoken": "9.0.3",
|
|
18
18
|
"jwks-rsa": "^3.2.2"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AuthProviderConfig } from '@memberjunction/core';
|
|
1
|
+
import { AuthProviderConfig, LogStatusEx } from '@memberjunction/core';
|
|
2
2
|
import { IAuthProvider } from './IAuthProvider.js';
|
|
3
3
|
import { BaseAuthProvider } from './BaseAuthProvider.js';
|
|
4
4
|
import { MJGlobal, BaseSingleton, MJLruCache } from '@memberjunction/global';
|
|
@@ -81,7 +81,10 @@ export class AuthProviderFactory extends BaseSingleton<AuthProviderFactory> {
|
|
|
81
81
|
this.issuerCache.Clear();
|
|
82
82
|
this.issuerMultiCache.Clear();
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
// Verbose-only: provider NAMES are surfaced compactly in the server startup summary
|
|
85
|
+
// `Auth` line at standard level. Routes through the global verbose gate (set from the
|
|
86
|
+
// server's telemetry.level) so it's reusable by any consumer of this generic package.
|
|
87
|
+
LogStatusEx({ message: `Registered auth provider: ${provider.name} with issuer: ${provider.issuer}`, verboseOnly: true });
|
|
85
88
|
}
|
|
86
89
|
|
|
87
90
|
/**
|