A self-hosted server needs no key, but all three SDKs threw before the first request. The key is now optional: without one no Authorization header is sent. A key that is present is validated as before. Release prep: openjev-client 0.7.2, @openjev/sdk 0.6.1, @openjev/lite 0.2.1.
64 lines
1.6 KiB
Markdown
64 lines
1.6 KiB
Markdown
---
|
|
title: Changelog
|
|
icon: lucide/history
|
|
---
|
|
|
|
# Changelog
|
|
|
|
## v0.7.2 (2026-11-11)
|
|
|
|
### Bug fixes
|
|
|
|
- the API key is now optional: a client created without `api_key` and without `OPENJEV_API_KEY` /
|
|
`TYPESAFE_API_KEY` no longer raises, and sends requests without an `Authorization` header, which
|
|
is what a self-hosted server without keys expects. A key that is present is validated as before,
|
|
and an explicitly passed blank `api_key` is still rejected.
|
|
|
|
## v0.7.1 (2026-09-21)
|
|
|
|
### Bug fixes
|
|
|
|
- validate the API key early and exclude the value from logged exceptions
|
|
|
|
### Documentation
|
|
|
|
- add examples for usage with AI gateways
|
|
|
|
## v0.7.0 (2026-09-18)
|
|
|
|
### Breaking Changes
|
|
|
|
- ser/de library has been changed from `msgspec` to `pydantic`
|
|
|
|
### Bug fixes
|
|
|
|
- `str` subclasses are now correctly serialized as strings instead of lists of characters
|
|
|
|
### Features
|
|
|
|
- the `system_one` method now accepts a new `response_model` argument that can be set to a desired `pydantic` model for additional _type-safety_
|
|
|
|
## v0.6.0 (2026-09-15)
|
|
|
|
### Breaking Changes
|
|
|
|
- accept `Score.criteria` as an ordered sequence instead of a dictionary keyed by integers
|
|
|
|
### Features
|
|
|
|
- improve type annotations on SDK inputs to accept abstract types like `Mapping` and `Sequence`
|
|
- improve error messages to include http details and metadata
|
|
|
|
### Bug fixes
|
|
|
|
- handle invalid values in `RetryPolicy`
|
|
- make exceptions and responses picklable
|
|
|
|
### Documentation
|
|
|
|
- link more concepts from main docs
|
|
|
|
## v0.5.7 (2026-09-14)
|
|
|
|
This is the initial public release of the OpenJev Python SDK, a wire-compatible fork of the official TypeSafe AI Python SDK.
|