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

v0.23 #375

Merged
merged 17 commits into from
Feb 14, 2025
Merged

v0.23 #375

merged 17 commits into from
Feb 14, 2025

Conversation

kanarus
Copy link
Member

@kanarus kanarus commented Feb 14, 2025

No description provided.

* openapi: add `Operation::response_description(self, status, description) -> Self` for manual operation metadata

* openapi: replace `Operation::override_*` to `(self, ...) -> Self` for usability in manual `#[operation]`

* add compile test

* restore removed by mistake
* introduce `IntoHandler::N_PARAMS` and check it in `ohkami::routing`

* update SAFETY comment of `IntoHandler` impls

* 2025-02-10 00:27+9:00

* store `HandlerMeta` in `HandlerSet` & check them in `finalize`

* change `const N_PARAMS` to `fn n_params(&self)` for `#[operation]`

* eliminate redundant info
* fix `type: string, enum` pattern

* fix `refize` of `properties`

* add untagged + newtype

* add openapi.json.sample & diff test
…_into` serde helper attributes (#366)

* openapi(#[derive(Schema)]): refactor & support intercepting #[serde(from, into, try_into)]

* add diff test for it

* add corresponded renaming test in samples/openapi-schema-enums
…t helper attribute (#367)

* openapi: Support `#[openapi(schema_with = "...")]` field/variant helper attribute

* add doc comment for `#[openapi_schema_with = "schema_fn"]` of `#[derive(Schema)]`
…rker(), lambda()}` (#368)

* rename: `req.{env(), context(), lambda()}` -> `req.context.{env(), worker(), lambda()}`

* add doc comment for `.env()`, `.worker()`, `.lambda()` of `req.context`

* fix comments
* skelton

* is a struct, not a module

* improve interface

* working skelton

* fix format & add CSP test

* add doc for src::* consts

* hide clone-ability

* add test for disabling header by setting `""`

* rename to `Enamel` & extend docs

* fix rename

* update README

* refactor around response headers

* fix tests & cfgs
* chore(CI): split CI to come jobs in Actions

* fix workflow syntax

* split `test` into `test:core` + `test:other`
…e to enable rust-analyzer's `async fn ...` completion (#371)
@kanarus kanarus merged commit 925df35 into main Feb 14, 2025
17 checks passed
@kanarus kanarus deleted the v0.23 branch February 14, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant