8000 zeta/CHANGELOG.md at main · aklinker1/zeta · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
655 lines (354 loc) · 21.4 KB

CHANGELOG.md

File metadata and controls

655 lines (354 loc) · 21.4 KB

Changelog

v2.2.3

compare changes

🔥 Performance

  • Visualize benchmarks (bef6189)
  • Optimizations with AI (#17)

🩹 Fixes

  • Make simple-git-hooks a dev dependency (7e122b8)
  • Short-circuit when new Response(undefined) is returned from hooks/handler (1e0b1a4)

📖 Documentation

  • Remove summary from example (5f5a87a)
  • Add benchmark results (2ba483d)

🏡 Chore

🤖 CI

  • Upgrade zero-changelog to v0.2.2 (be2ec89)
  • Update tool-versions file (ae1291b)

❤️ Contributors

v2.2.2

compare changes

🩹 Fixes

  • client: Throw RequestError directly instead of putting it in the cause (3448ed0)

📖 Documentation

  • Update README header to match my other repos (70c0e24)

🏡 Chore

  • Move bun version to .tool-versions (f39cc62)

🤖 CI

  • Switch publish script to use zero-changelog (943bd65)

❤️ Contributors

v2.2.1

compare changes

🩹 Fixes

  • Automatically decode query/path params (4e60a6f)

🏡 Chore

  • Use oxfmt instead of prettier (20d3a47)
  • Add format on commit (dfa67b1)

❤️ Contributors

v2.2.0

compare changes

🚀 Enhancements

  • Expose transport parameters (like server object) in request handlers (#11)

🩹 Fixes

  • Replace module augmentation with helper functions (#14)

📖 Documentation

🏡 Chore

  • Fix benchmark scripts (e10b8f7)
  • Add explicit types to transport helpers (b5b56ab)

❤️ Contributors

v2.1.3

compare changes

🏡 Chore

🤖 CI

❤️ Contributors

v2.1.2

compare changes

🩹 Fixes

  • Fix type error in shipped TS code (84232be)

❤️ Contributors

v2.1.1

compare changes

🩹 Fixes

  • Remove elysia import in production code (8dd73c6)
  • Properly store parsed query and path params in context (2576b77)

📖 Documentation

  • Update netlify deploy commands (b29c358)
  • Use correct zola version (6e8f7ba)
  • Fix zola download URLs (982dc8f)

❤️ Contributors

v2.1.0

compare changes

🚀 Enhancements

  • Support app-level tags and security apply to all app routes (1de696e)

🩹 Fixes

  • Fix NotImplementedHttpError name typo (5e00476)
  • Include set.headers on response when an error is thrown (6ac7be8)
  • Properly set ctx.response to a Response when returning a value from handlers. (2f47650)
  • Only call onGlobalAfterResponse once (8572374)
  • types: Allow returning Response ([ void for onGlobalRequest, onTransform, and onBeforeHandle hooks](https://github.com/aklinker1/zeta/commit/ voidforonGlobalRequest, onTransform, and onBeforeHandle` hooks))

📖 Documentation

  • Fix typos (3931a2e)
  • Add examples for auth, open-telemetry, and request logging (4e55f4d)

🏡 Chore

  • Sort imports (21f9859)
  • Add integration test example (a746d13)
  • Use dedent in examples (3c7c90a)
  • Ignore CHANGELOG.md from prettier formatting (4bf825f)
  • Add CORS example (727f4e2)
  • Add file upload example (93cf160)
  • Cleanup tsconfig (e76f43f)
  • Move benchm 10000 ark to benchmarks directory (e0e942b)
  • Fix formatting (c5c9978)

❤️ Contributors

v2.0.0

compare changes

🚀 Enhancements

  • ⚠️ Compile optimized fetch and route handler functions (#5)
  • Build path/query/header OpenAPI parameters without SchemaAdapter.parseParamsRecord (4b011cd)
  • open-api: Automatically generate summary based on operationId (f54af7d)

🔥 Performance

  • Reduce internal overhead to increase request throughput by ~1.5-3x (#3)

🩹 Fixes

  • openapi: Correctly handle generating spec with a "/" endpoint (4bd258f)
  • Properly detect Response short-circuit (edfe3d4)
  • jsr: Make zod an optional dependency, not a dynamic import (5c55921)

📖 Documentation

🏡 Chore

⚠️ Breaking Changes

  • ⚠️ Compile optimized fetch and route handler functions (#5)

❤️ Contributors

v1.3.3

compare changes

🩹 Fixes

  • Fix incorrect input type for UploadFilesBody schema (5e74f08)

📖 Documentation

  • Document file upload and form data body types usage (7f11fe5)

🏡 Chore

❤️ Contributors

v1.3.2

compare changes

🩹 Fixes

  • When uploading a FileList, get the correct property from the FormData (cf76b14)

❤️ Contributors

v1.3.1

compare changes

🩹 Fixes

  • Check if FileList class exists before accessing it (0abf094)

❤️ Contributors

v1.3.0

compare changes

🚀 Enhancements

  • FormData, File, and FileList body types (f3bdffa)

🏡 Chore

❤️ Contributors

v1.2.5

compare changes

🩹 Fixes

  • client: Allow browser to set content type of FormData requests (8812a29)

🏡 Chore

❤️ Contributors

v1.2.4

compare changes

🩹 Fixes

  • Remove trailing slashes from openapi docs (f821372)
  • OpenAPI: Don't extract entire parameter object to #components/schema, just the schema (0cdb0e3)

❤️ Contributors

v1.2.3

compare changes

🩹 Fixes

  • npm: Include transports folder in package (e65aaa6)

❤️ Contributors

v1.2.2

compare changes

🩹 Fixes

  • Fix bun type resolution (3e80808)

❤️ Contributors

v1.2.1

compare changes

🩹 Fixes

  • Add export paths for Bun and Deno transports (2a83a20)

❤️ Contributors

v1.2.0

compare changes

🚀 Enhancements

  • Abstract transport layer and allow passing custom options (52c01ec)

🩹 Fixes

  • open-api: Sort models alphabetically (a412c77)

🏡 Chore

❤️ Contributors

v1.1.3

compare changes

🩹 Fixes

  • Properly type handler return to infer the input type (2556738)
  • Automatically decode path params (122bf92)

🏡 Chore

❤️ Contributors

v1.1.2

compare changes

🩹 Fixes

  • Add openapi-types as a dependency to fix NPM (894e7aa)

❤️ Contributors

v1.1.1

compare changes

🩹 Fixes

  • Get meta from ZetaSchema when building responses (c596cd0)

❤️ Contributors

v1.1.0

compare changes

🚀 Enhancements

  • Automatically set response Content-Type header based on the contentType meta (8884f54)

🩹 Fixes

  • zod: Target openapi-3.0 when generating the JSON schema (f3a36a9)

📖 Documentation

❤️ Contributors

v1.0.3

compare changes

🤖 CI

  • Remove old publish script (821d215)

❤️ Contributors

v1.0.2

compare changes

v1.0.1

compare changes

📖 Documentation

🏡 Chore

🤖 CI

  • Add publish workflow and publish to NPM (c236660)

❤️ Contributors

v1.0.0

v1 is out! No breaking changes, everything I want to implement is implemented, so I'm updating the version to 1.0.0.

compare changes

🚀 Enhancements

  • Support model references via a ref metadata entry (e309d7a)
  • Add app.getOpenApiSpec so you can get the spec without starting the app (693477c)

🏡 Chore

🤖 CI

  • Update publish script to optionally accept a new verison (e44ab7b)

❤️ Contributors

compare changes

🏡 Chore

  • deps: ⚠️ Upgrade zod from v3 to v4 (53961f4)

⚠️ Breaking Changes

  • deps: ⚠️ Upgrade zod from v3 to v4 (53961f4)

❤️ Contributors

compare changes

🩹 Fixes

  • client: Return a union of success types when multiple are defined (e5bdddc)

🏡 Chore

  • Add test for client input types (83a4059)

❤️ Contributors

compare changes

🩹 Fixes

  • Omit open API keys when generating client input params (97665aa)

❤️ Contributors

compare changes

🚀 Enhancements

❤️ Contributors

compare changes

🩹 Fixes

  • types: Properly build request context type (c4922f0)

❤️ Contributors

compare changes

🩹 Fixes

  • types: Make ErrorResponse type a StandardSchema so input params are parsed correctly (2b412d8)

📖 Documentation

❤️ Contributors

compare changes

🩹 Fixes

❤️ Contributors

compare changes

🚀 Enhancements

  • ⚠️ Multiple responses (69ba98a)

🏡 Chore

  • ⚠️ Rename Status and XyzError to HttpStatus and XyzHttpError (8c50436)

⚠️ Breaking Changes

  • When defining an endpoint, response was renamed to responses
  • onGlobalError no longer supports a return type. Zeta converts all errors into responses automatically
  • Fix typo in type name: OnGlobalErrorHoos → OnGlobalErrorHooks
  • @aklinker1/zeta/status is merged into @aklinker1/zeta
  • Rename Status and XyzError to HttpStatus and XyzHttpError (8c50436)

❤️ Contributors

compare changes

🏡 Chore

  • ⚠️ Generalize the getResponseContentType adapter method to getMeta (246519b)

⚠️ Breaking Changes

  • ⚠️ Generalize the getResponseContentType adapter method to getMeta (246519b)

❤️ Contributors

compare changes

🚀 Enhancements

  • ⚠️ Allow customizing the response content type on OpenAPI docs (2721e7f)

📖 Documentation

  • Add changelog badge to README (471232d)

🏡 Chore

  • Remove log from publish script (4b300d6)

⚠️ Breaking Changes

  • ⚠️ Allow customizing the response content type on OpenAPI docs (2721e7f)

❤️ Contributors

compare changes

🏡 Chore

  • Use changelogen to generate changelog (ec4c987)
  • Add CHANGELOG (ee57526)

❤️ Contributors

0