Tags: gemini-oss/rego
Tags
Change datatype for SnipeIT EOL hardware field
Fix `DoStream()` to preserve TLS configuration from original client
{Requests}
- Preserve `Transport` configuration in `DoStream()` method to maintain TLS settings like `InsecureSkipVerify`
(No dependency updates.)
Add TLS verification control to LenelS2 client
{LenelS2}
- Add functional options pattern with `WithInsecureSkipVerify()` for TLS control
- Add `S2_INSECURE_SKIP_VERIFY` environment variable support with warning log
- Add `clientConfig` struct for managing HTTP client configuration
- Update `NewClient()` to accept variadic options and apply TLS settings to all requests
- Update `Login()` to accept and use configured HTTP client
- Update `baseURL` parameter handling to fall back to `S2_URL` environment variable when empty
- Replace `interface{}` with `any` type alias for better readability
{Docs}
- Add comprehensive TLS certificate handling section to `CLAUDE.md`
- Document three configuration methods: environment variable, functional option, and custom HTTP client
- Add security warnings and use case guidance for disabling TLS verification
- Add backwards compatibility examples
(No dependency updates.)
Fix `LenelS2` BaseURL to use HTTPS scheme
{LenelS2}
- Change BaseURL format string from `http://` to `https://` for secure connections
(No dependency updates.)
`LenelS2` `StreamEvents()` enhancements; Go 1.25 upgrade & dependency…
… updates
{LenelS2}
- Add `AccessDenied` event type with full field definitions in `EventTypes`
- Enhance `StreamEvents()` with `WithHeartbeat()` option for heartbeat callbacks
- Fix goroutine cleanup with proper done channel and `signal.Stop()` in `doStream`
- Update `doStream()` signature to accept heartbeat function and constrain `T` to `Event` type
- Improve signal handling to prevent goroutine leaks on function exit
- Pass heartbeat callback through `parseStreamEvent()` for proper event processing
- Fix doc comment typo referencing Lenel S2 API instead of generic NetBox
{Go}
- Upgrade to Go `1.25`
{Dependencies}
- cloud.google.com/go/compute/metadata → v0.9.0
- golang.org/x/crypto → v0.42.0
- golang.org/x/net → v0.44.0
- golang.org/x/oauth2 → v0.31.0
- golang.org/x/text → v0.29.0
- golang.org/x/sys → v0.36.0
Merge pull request #26 from gemini-oss/anthony-dardano Log Package Enhancements & LenelS2 StreamEvents Improvements
Merge pull request #24 from gemini-oss/pin-github-action-versions Github Actions: Pin versions
Merge pull request #24 from gemini-oss/pin-github-action-versions Github Actions: Pin versions
PreviousNext