Repository navigation
v7.0.0
What's Changed
7.0 is a major release: the queue's, and the foundation every 7.x builds on. Every
edge runs one execution contract with its layers, HTTP speaks the http crate's
types on a server of nestrs's own, the lifecycle is ordered and open, a resource
opens once per named instance, and a driver, a port or a package has a seam of its
own. A 6.1 project upgrades in one pass: the ordered checklist is
Upgrading from 6.x to 7.0, and a queue on Redis
also moves its keys, as Upgrading queues from 6.x
lays out. Below are the headlines of each group; the changelog holds every entry a 6.1
caller, driver author or deployment can see, what breaks and why.
- Security first
- rustls 0.23.45 — a TLS 1.3 handshake message across a key change is refused
- A security header set under its 6.x key fails the boot naming its 7.0 key
- A refusal never quotes what the client sent
- …and 61 more
- The execution contract and its layers
- A handler's
Resultis known by its type at every edge, never by its name - WebSockets, GraphQL and MCP each dispatch one key to one method
- The kernel knows the unit a layer runs around:
UnitContext,Edge,Handler,Reflector,Posture,Peer - …and 32 more
- A handler's
- HTTP on the
httpcrate's types- The OpenAPI document types what a generated client reads, and its page loads nothing from elsewhere
- A route's document lists what its guards answer, read off the guards themselves
- A route's document says what it answers: the edge's statuses, and
2XXfor a status only the handler knows - …and 29 more
- The container, its boot and an ordered, open lifecycle
- Shutdown ends within a bound, and every backend call the framework awaits has one of its own
- Long-lived connections end at the shutdown signal, the standard way
- A contested declaration names both imports that made it
- …and 24 more
- Named instances
- A resource can be opened once per instance, each instance a type of its own
- A second Valkey is a named instance of the Redis connection
- Two values of one type are two types: string-keyed injection is removed
- Configuration and the driver recipe
- Every variable can be given as a file, and a family's variables carry the family as a level
- A variable nothing reads is reported at boot
- A
.envkey a config pinned in code shadows is named at boot - …and 19 more
- Real ports: the queue, Redis, scheduling, rate limiting, storage
- The queue port: a push names its job, a retry backs off, and a backend says what it honours
- The Redis queue runs on Redis Streams, every transition one fenced script
- The Redis connection is the connection, and a command Redis never answers fails within the budget
- …and 13 more
- Data and effects
- A unique violation is a 409, read once for every edge
- A savepoint is one call:
nest_rs::database::atomic - Every edge runs its unit of work through one port,
nest_rs::database::UnitOfWork - …and 22 more
- Authentication, authorization and OAuth
- An HMAC secret is held to its hash's size, a key is judged once, and the config is
AuthnConfig - An identity store or provider that does not answer is a 503, with its Retry-After
- A resource server verifies an external issuer's tokens against its JWK Set
- …and 32 more
- An HMAC secret is held to its hash's size, a key is judged once, and the config is
- Observability
- Every edge files a unit cancelled and a unit that panicked
- A unit's span says how it ended, and a request cut before it answers keeps its route
- A failure its caller earned sets no error on the server's span
- …and 35 more
- Seams and semver hygiene
- Every impl-half decorator reads a method with one grammar
- Every value refusal opens with the decorator and the key
- Tier 1 holds what a developer writes, each item at one path
- …and 18 more
- The CLI, the testing kit, the demo and the docs
- The demo follows 7.0
- The demo's password hash never prints
- A new project's committed
.envnames no plaintext URL - …and 21 more
- Manifests, CI and the rules
- 7.0 builds on Rust 1.100
- Each capability builds alone, and the crates kept past the freshness bar are on the record
- The rules are held by types, lints and behaviour tests
- …and 3 more
Every entry, with what breaks and why, is in changelog/7.0.md.
Full Changelog: v6.1.0...v7.0.0