Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump express-zod-api from 21.7.0-beta.1 to 21.7.0 #1970

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2024

Bumps express-zod-api from 21.7.0-beta.1 to 21.7.0.

Release notes

Sourced from express-zod-api's releases.

v21.7.0

Feature

Chores

Full Changelog: RobinTail/express-zod-api@v21.6.1...v21.7.0

Changelog

Sourced from express-zod-api's changelog.

v21.7.0

  • Feature: introducing EncodedResponse public interface in the code generated by Integration:
    • The new entity should enable making custom clients having response type awereness based on the status code;
    • The difference between Response and EndcodedResponse is the second hierarchical level.
import { EncodedResponse } from "./generated.ts";
type UsageExample = EncodedResponse["get /v1/user/retrieve"][200];

v21.6.1

  • node-mocks-http version is ^1.16.2;
  • Fixed possible duplicates in the Path type generated by Integration:
    • Duplicates used to be possible when using DependsOnMethod instance within specified routing.

v21.6.0

  • Supporting the following z.string() formats by the Documentation generator:
    • base64 (as byte), date, time, duration, nanoid;
    • And new formats introduced by Zod 3.24: jwt, base64url, cidr;
  • Fixed missing minLength and maxLength properties when depicting z.string().length() (fixed length strings).

v21.5.0

  • Feat: Introducing Server-Sent Events:
    • Basic implementation of the event streams feature is now available using EventStreamFactory class;
    • The new factory is similar to EndpointsFactory including the middlewares support;
    • Client application can subscribe to the event stream using EventSource class instance;
    • Documentation and Integration do not have yet a special depiction of such endpoints;
    • This feature is a lightweight alternative to Zod Sockets.
import { z } from "zod";
import { EventStreamFactory } from "express-zod-api";
import { setTimeout } from "node:timers/promises";
const subscriptionEndpoint = EventStreamFactory({
events: { time: z.number().int().positive() },
}).buildVoid({
input: z.object({}), // optional input schema
handler: async ({ options: { emit, isClosed } }) => {
while (!isClosed()) {
emit("time", Date.now());
await setTimeout(1000);
}
},
});
</tr></table>

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 16, 2024
Copy link

vercel bot commented Dec 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
incaseofmydeath ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 16, 2024 3:24pm

Bumps [express-zod-api](https://github.com/RobinTail/express-zod-api) from 21.7.0-beta.1 to 21.7.0.
- [Release notes](https://github.com/RobinTail/express-zod-api/releases)
- [Changelog](https://github.com/RobinTail/express-zod-api/blob/master/CHANGELOG.md)
- [Commits](RobinTail/express-zod-api@v21.7.0-beta.1...v21.7.0)

---
updated-dependencies:
- dependency-name: express-zod-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/express-zod-api-21.7.0 branch from 1a87179 to 9f8d4ec Compare December 16, 2024 15:23
@RobinTail
Copy link
Owner

@dependabot squash and merge

@dependabot dependabot bot merged commit 4f97bbe into master Dec 16, 2024
3 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/express-zod-api-21.7.0 branch December 16, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant