v0.9.1 #372
diego-aquino
announced in
Announcements
v0.9.1
#372
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v0.9.1 is here! 🎉
Fixes
🔧 Improved support to interfaces in HTTP schemas:
Up to v0.9.0, interfaces were not supported in HTTP schema declarations because they have no implicit index signatures by default. This provided a sub-optimal developer experience due to the cryptic type error messages and the requirement to declare all of your types inline or as type aliases (
type
).v0.9.1 finally solves this issue and adds full support to interfaces when declaring your headers, search params and body schemas!
Refactoring
⚙️ Improved HTTP schema types (Move
HttpSchema.Paths<{ ... }>
toHttpSchema<{ ... }>
#354):The type
HttpSchema.Paths
was renamed to justHttpSchema
without behavior changes.HttpSchema.Paths<Type>
is still available, but it is now deprecated and will be removed in v0.10. Consider migrating toHttpSchema
as a drop-in replacement.Documentation
📚 Improved starting guide and snippets:
The Getting Started guide and many snippets and descriptions were improved to make it easier to start with Zimic.
Check out the documentation!
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog:
v0.9.0...v0.9.1
HttpSchema.Paths<Schema>
toHttpSchema<Schema>
(MoveHttpSchema.Paths<{ ... }>
toHttpSchema<{ ... }>
#354) by @diego-aquino in refactor(#zimic): migrateHttpSchema.Paths<Schema>
toHttpSchema<Schema>
(#354) #362with
) #344, Add test hooks to getting started snippets (beforeAll
,afterEach
, andafterAll
) #345) by @diego-aquino in docs(wiki): improve introductory snippets (#344, #345) #366This discussion was created from the release v0.9.1.
Beta Was this translation helpful? Give feedback.
All reactions