Skip to content

chore(deps): bump github.com/sakib412/ekman from 0.1.0 to 0.2.0 in /apps/api in the go-modules group - #2

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/apps/api/go-modules-90641da9e8
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/apps/api/go-modules-90641da9e8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026 •

Copy link
Copy Markdown

Bumps the go-modules group in /apps/api with 1 update: github.com/sakib412/ekman.

Updates github.com/sakib412/ekman from 0.1.0 to 0.2.0

Release notes

Sourced from github.com/sakib412/ekman's releases.

v0.2.0

Three gaps found by the first production consumer, closed without new dependencies.

Added

  • ekman.Enum (EnumValues() []string): named string types become components.schemas entries with enum, so openapi-typescript emits unions. Handle rejects other values: 400 invalid_param for path/query/header parameters, 422 invalid_input for JSON body fields at any depth (keys like items[0].kind), merged with Validate. "" passes. Enum types with no or duplicate values fail at boot.
  • Typed handlers can take the request: an exported In field of type *http.Request receives it and leaves the body unread (multipart uploads with storage.Receive). Such an In may not have JSON body fields; that, a second request field or a tagged one fail at boot.
  • ekman.Accepts[T](https://github.com/sakib412/ekman/blob/HEAD/mediaType) and ekman.Produces[T](https://github.com/sakib412/ekman/blob/HEAD/mediaType) route options document bodies the handler reads or writes itself (Raw routes; Accepts also on request-taking Handle routes). ekman.File stands for binary data (format: binary), string for text. RouteInfo.Accepts/RouteInfo.Produces ([]ekman.Content) expose them to middleware.
  • Options.OpenAPIHook func(doc map[string]any) error edits the generated document once at boot; /openapi.json and App.OpenAPI both carry the result.
  • ekmantest.Client.WithHeader(key, value) for requests that need extra headers, such as a multipart Content-Type.
  • examples/todo exercises all of the above: a Priority enum, PUT /todos/{id}/attachment upload, GET /todos.csv export, and a servers entry added by the hook.

Changed

  • Operations whose JSON body contains an Enum list a 422 response even when In has no Validate method.
  • storage.Receive may now be called from a Handle route (through the *http.Request field) as well as from Router.Raw.

Full changelog: sakib412/ekman@v0.1.0...v0.2.0

Changelog

Sourced from github.com/sakib412/ekman's changelog.

[0.2.0] - 2026-11-02

Three gaps found by the first production consumer, closed without new dependencies.

Added

  • ekman.Enum (EnumValues() []string): named string types become components.schemas entries with enum, so openapi-typescript emits unions. Handle rejects other values: 400 invalid_param for path/query/header parameters, 422 invalid_input for JSON body fields at any depth (keys like items[0].kind), merged with Validate. "" passes. Enum types with no or duplicate values fail at boot.
  • Typed handlers can take the request: an exported In field of type *http.Request receives it and leaves the body unread (multipart uploads with storage.Receive). Such an In may not have JSON body fields; that, a second request field or a tagged one fail at boot.
  • ekman.Accepts[T](https://github.com/sakib412/ekman/blob/main/mediaType) and ekman.Produces[T](https://github.com/sakib412/ekman/blob/main/mediaType) route options document bodies the handler reads or writes itself (Raw routes; Accepts also on request-taking Handle routes). ekman.File stands for binary data (format: binary), string for text. RouteInfo.Accepts/RouteInfo.Produces ([]ekman.Content) expose them to middleware.
  • Options.OpenAPIHook func(doc map[string]any) error edits the generated document once at boot; /openapi.json and App.OpenAPI both carry the result.
  • ekmantest.Client.WithHeader(key, value) for requests that need extra headers, such as a multipart Content-Type.
  • examples/todo exercises all of the above: a Priority enum, PUT /todos/{id}/attachment upload, GET /todos.csv export, and a servers entry added by the hook.

Changed

  • Operations whose JSON body contains an Enum list a 422 response even when In has no Validate method.
  • storage.Receive may now be called from a Handle route (through the *http.Request field) as well as from Router.Raw.
Commits
  • 14b74f8 test: silence staticcheck U1000 on the deliberately unused schema field
  • baecb1a docs: describe v0.2 in the contract, README and a new CHANGELOG
  • d43df02 docs(examples): exercise enums, uploads, CSV export and the OpenAPI hook in todo
  • 99d7150 feat(ekmantest): add Client.WithHeader for non-JSON request bodies
  • 836e993 feat(openapi): add Options.OpenAPIHook to post-process the document
  • 2d289f6 feat(openapi): document Raw and request-taking bodies with Accepts and Produces
  • 61796d1 feat(handle): let typed handlers take the *http.Request through an In field
  • 26b6c67 feat(openapi): Enum types as named string schemas, checked on input
  • See full diff in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-modules group in /apps/api with 1 update: [github.com/sakib412/ekman](https://github.com/sakib412/ekman).


Updates `github.com/sakib412/ekman` from 0.1.0 to 0.2.0
- [Release notes](https://github.com/sakib412/ekman/releases)
- [Changelog](https://github.com/sakib412/ekman/blob/main/CHANGELOG.md)
- [Commits](sakib412/ekman@v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: github.com/sakib412/ekman
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from sakib412 as a code owner November 9, 2026 02:18
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 9, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Author

Looks like github.com/sakib412/ekman is updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 16, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/apps/api/go-modules-90641da9e8 branch November 16, 2026 02:19
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants