- feat: add LOG_LEVEL_V2 with
getLogLevel()method for dynamic log level control - feat: add Pino logger integration (
createPinoLogger(),createPinoHook()) - feat: add Winston logger integration (
createWinstonLogger(),createWinstonFormat()) - feat: add
loggerKeyoption to Reforge constructor (defaults to 'log-levels.default') - feat: add ConfigType.LogLevelV2 enum value
- feat: support context-aware log level evaluation with
reforge-sdk-logging.logger-path
- fix: add @types/node to devDependencies to satisfy ts-node peer dependency
- fix: replace @ts-ignore with @ts-expect-error for better type safety in integrations
- docs: add INTEGRATIONS.md with complete logger integration examples
- docs: update README.md with getLogLevel() usage and loggerKey option
- fix: configs with duration would cause telemetry not to send
- docs: use
REFORGE_BACKEND_SDK_KEY, notREFORGE_SDK_KEYin docs
- fix: handle confidential values that are undefined
- fix: properly import/export none-types to ensure build is valid
- fix: export SchemaType as object, not type
- fix: correct string list in config value types
- feat: expose jsonStringifyWithBigInt in exports
- feat: expose SchemaType in exports
- Official patch release
- Properly type other key inputs to the reforge hooks
- Upgrade to v2 of the Reforge JSON API.
- Remove direct NodeJS crypto dependency in favor of custom decrypt implementation in NextJS serverless environments (https://nextjs.org/docs/messages/node-module-in-edge-runtime).
- apiKey -> sdkKey rename
- Remove protobuf dependencies and use JSON API directly
- Remove
longpeer dependency completely and use nativeBigInttype
- Simplify type definitions and expose as overridable interfaces
- Reforge rebrand
All releases below were released as part of the @prefab-cloud/prefab-cloud-node package.
- Implement virtual context
reforge.current-timefor all operators [#102] - fix: Declare Long as a peer dependency [#97]
- fix: Telemetry hanging after reforge.close() [#100]
- Add withContext to get a context-bound resolver [#98]
- Updated protos with schema types [#95]
- More efficient config downloads using conditional fetch [#93]
- Adds a close method for clean shutdowns [#92]
- Adds semantic version comparison operator support [#91]
- Adds regex matching operator support [#90]
- Adds numeric comparison operator support [#88]
- Adds date comparison operator support [#84] [#86]
- Fixes telemetry handling for json value type (#82)
- Implement startsWith/contains operators [#80]
- Allow telemetry when using api source directly [#78]
- Use stream subdomain for SSE [#76]
- Use belt and suspenders for reliability [#75]
- Support JSON configs [#74]
- Update deps for security [#73]
- Config deletion fix [#70]
- Add Duration support [#69]
- Fix: send context shapes by default [#68]
- Fix issue with default context introduced in 0.1.18
- Don't include deleted config in
keys()etc. [#66]
- Don't report empty contexts with empty keys. Throw if required environment variable is absent. Throw if we can't parse an environment variable correctly. [#63]
- Support timed loggers [#62]
updateIfStalerThan(someNumberofMs)updates if no update has happened in someNumberofMs ms [#60]logger()should inherit context [#59]- Return the result of
inContext()[#58] - Add `.logger() [#57]
- Add
.updateNow()[#56] - Fix polling bug [#54]
- Allow reforge.set [#53]
- Do not report secrets/confidential values in telemetry
- Warn when called multiple times
- Default context can only return Contexts objects
- Accept objects for context (in addition to Map)
- Support loading config from datafiles
- Adjust exports
- Support encrypted secrets
- Export more things
- Support values provided by ENV vars
- Update proto
- Update integration tests
- Expose default context
- add onUpdate and default context
- Add telemetry integration tests
- ESM compatibility
- Expose some internals and update docs
- Import package.json (rather than require)
- Default SSE to enabled
- Initial non-alpha release