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: achingbrain/it-pb-stream
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.4
Choose a base ref
...
head repository: achingbrain/it-pb-stream
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.2.0
Choose a head ref
  • 8 commits
  • 6 files changed
  • 2 contributors

Commits on Feb 23, 2023

  1. fix!: derive unwrapped stream type from input (#39)

    The passed stream is wrapped in `it-handshake` which can derive the
    unwrapped type from the input.  This module assumes `TSink` will be
    `Uint8Array` which may not be the case.
    
    Instead, derive the unwrapped stream type from the input, though it's
    meant needing to make the `ProtobufStream` type generic which may
    trip up certain use cases (declaring a `ProtobufStream` variable, for
    example) so this is a breaking change.
    
    BREAKING CHANGE: The ProtobufStream type is now generic - it can be inferred from the return type of `pbStream` but may need to be specified where it it accepted as an argument
    achingbrain authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    e85d75e View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.0.0 [skip ci]

    ## [3.0.0](v2.0.4...v3.0.0) (2023-02-23)
    
    ### ⚠ BREAKING CHANGES
    
    * The ProtobufStream type is now generic - it can be inferred from the return type of `pbStream` but may need to be specified where it it accepted as an argument
    
    ### Bug Fixes
    
    * derive unwrapped stream type from input ([#39](#39)) ([e85d75e](e85d75e))
    semantic-release-bot committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    76bf41c View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. fix: make pbStream function polymorphic (#40)

    What we want to say is that the type returned from `unwrap` will be
    the original duplex passed in, but it's source will have changed to
    return `Uint8ArrayList`s.  We can still pass duplexes that source
    `Uint8Array`s though, so make the exported function polymorphic.
    achingbrain authored Mar 1, 2023
    Configuration menu
    Copy the full SHA
    ccb2065 View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.0.1 [skip ci]

    ## [3.0.1](v3.0.0...v3.0.1) (2023-03-01)
    
    ### Bug Fixes
    
    * make pbStream function polymorphic ([#40](#40)) ([ccb2065](ccb2065))
    semantic-release-bot committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    1cc9bc7 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2023

  1. feat: add MessageStream type to make dealing with message streams eas…

    …ier (#41)
    
    Exports a type for the return value of `stream.pb`
    achingbrain authored Mar 4, 2023
    Configuration menu
    Copy the full SHA
    c1fa76a View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.1.0 [skip ci]

    ## [3.1.0](v3.0.1...v3.1.0) (2023-03-04)
    
    ### Features
    
    * add MessageStream type to make dealing with message streams easier ([#41](#41)) ([c1fa76a](c1fa76a))
    semantic-release-bot committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    c8a5ad1 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. feat: allow unwrapping message stream (#42)

    Adds an unwrap method to messages streams to access the underlying protobuf stream
    achingbrain authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    f2169fe View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.2.0 [skip ci]

    ## [3.2.0](v3.1.0...v3.2.0) (2023-03-06)
    
    ### Features
    
    * allow unwrapping message stream ([#42](#42)) ([f2169fe](f2169fe))
    semantic-release-bot committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    3983abe View commit details
    Browse the repository at this point in the history
Loading