Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stephenh/ts-proto
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.167.9
Choose a base ref
...
head repository: stephenh/ts-proto
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.168.0
Choose a head ref
  • 2 commits
  • 9 files changed
  • 2 contributors

Commits on Mar 8, 2024

  1. feat: allow $type to be optional (#1013)

    ### Description
    
    Add another possible value to the `outputTypeAnnotations` option:
    `optional`. This makes type definitions on interfaces optional, which
    may be useful if you want to use the `$type` field for runtime type
    checking on responses from a server but don't want to have to set the
    $type on each request message you create.
    
    ### Testing
    
    Ensured this causes no regressions for existing integration tests. Also
    added new integration tests to prevent future regressions.
    lukealvoeiro authored Mar 8, 2024
    Configuration menu
    Copy the full SHA
    f285557 View commit details
    Browse the repository at this point in the history
  2. chore(release): 1.168.0 [skip ci]

    # [1.168.0](v1.167.9...v1.168.0) (2024-03-08)
    
    ### Features
    
    * allow `$type` to be optional ([#1013](#1013)) ([f285557](f285557))
    semantic-release-bot committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    51c3d0c View commit details
    Browse the repository at this point in the history
Loading