Skip to content

Releases: JorgenVatle/meteor-type-validation

meteor-type-validation@2.4.0-beta.16

Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 May 21:59
0b4e119

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

Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 May 00:26
2d961aa

Patch Changes

  • 69f1cba: Unmark internal types to avoid issues where core types are missing

meteor-type-validation@2.4.0-beta.14

Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 May 23:57
b099fe1

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

Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 May 16:42
51bf41a

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

Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Mar 15:21
fc378d2

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

Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Mar 16:47
2f225ec

Patch Changes

  • 6550f57: Include Meteor core module augmentation types in type validation server index module
  • 5092b80: Correct package.json module paths for /types exports

meteor-type-validation@2.4.0-beta.11

Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Mar 16:20
e69f2ee

Patch Changes

  • ad626f6: Fix namespacing for resource types export

meteor-type-validation@2.4.0-beta.10

Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Mar 16:03
7b587b7

Minor Changes

  • 84a4f93: Use namespaced export for resource definition type helpers.

meteor-type-validation@2.4.0-beta.8

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Mar 04:48
b41d2cc

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

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Mar 01:03
ff923df

Minor Changes

  • 6eb95b7: Rename UserAuthenticated guard class to UserLoggedInGuard to more explicitly indicate its purpose.

    • Add support for both Meteor v3 and v2 to UserGuard
    • Require writeToParams, paramSchema and contextSchema to be explicitly defined within Guard classes.

Patch Changes

  • 4ab352b: Add missing generic properties to built-in guard classes