Releases: JorgenVatle/meteor-type-validation
Releases · JorgenVatle/meteor-type-validation
Release list
meteor-type-validation@2.4.0-beta.16
Patch Changes
- 21eb08c: Optimize guard and schema param merging. Fixes an issue where TS performance would degrade very quickly with every new schema used.
meteor-type-validation@2.4.0-beta.15
meteor-type-validation@2.4.0-beta.14
Minor Changes
-
159acbe: Refactor approach to type inference for Guard classes
- Addresses issue where guard param schemas would leak into all parameter indexes regardless of position.
- Guard context schemas are now merged into the main context schema.
meteor-type-validation@2.4.0-beta.13
Minor Changes
-
dbad17e: Upgrade and include type-fest as part of the package's dependencies
-
Improve consistency of expected input schema types.
-
Clean up some repetition in resource definition generics
-
Fixed issue where input params for methods and publications would always be validated synchronously instead of asynchronously.
-
meteor-type-validation@2.4.0-beta.9
Minor Changes
- 00321dc: Export method/publication definition types as interfaces instead of types to allow for easier extension of the base types by peer projects.
- 09bef99: - Extend Meteor core Meteor.subscribe() method type with untyped subscribe callbacks parameter
- Refactor Meteor type declarations to utilize helper types instead of directly accessing resource definition maps for inferring types.
- Simplify file structure for package dist. Fixes an issue where some types would only be available in a type chunk file.
- Improve error formatting for Valibot error messages.
- Add helper function for programmatically composing guard classes.
- d1ed589: - Improve default error message formatting for validation errors.
- Export MeteorValiError class and ValiErrorDetails types for easier error checks in peer projects
meteor-type-validation@2.4.0-beta.12
meteor-type-validation@2.4.0-beta.11
meteor-type-validation@2.4.0-beta.10
meteor-type-validation@2.4.0-beta.8
Patch Changes
- cfab321: Prevent internal Promise.await declaration for Meteor V2 from being exported into peer projects.
meteor-type-validation@2.4.0-beta.7
Minor Changes
-
6eb95b7: Rename
UserAuthenticatedguard class toUserLoggedInGuardto more explicitly indicate its purpose.- Add support for both Meteor v3 and v2 to
UserGuard - Require
writeToParams,paramSchemaandcontextSchemato be explicitly defined within Guard classes.
- Add support for both Meteor v3 and v2 to
Patch Changes
- 4ab352b: Add missing generic properties to built-in guard classes