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: ByteBardOrg/AsyncAPI.NET
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3dc1870
Choose a base ref
...
head repository: ByteBardOrg/AsyncAPI.NET
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 43b49ef
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Nov 4, 2026

  1. fix: align identifier validation with spec constraints

    Use URL-safe ASCII identifier keys (letters, digits, dots, underscores,
    and hyphens) as the library baseline, with stricter rules wherever the
    specification requires them.
    
    - Reject dots in server keys.
    - Restrict component keys to ASCII.
    - Preserve the existing channel-key restriction.
    - Correct channel-address expression detection to include 0 and require
      nonempty names.
    - Add regression coverage for validation and parameter serialization.
    
    Compatibility: dotted server keys and Unicode component keys now produce
    validation errors, while their values remain preserved in the model.
    VisualBean committed Nov 4, 2026
    Configuration menu
    Copy the full SHA
    9ebf225 View commit details
    Browse the repository at this point in the history
  2. fix(validation): reject server keys containing newlines

    Use the strict \z end-of-string anchor for server key validation so keys
    with a trailing newline cannot pass through the $ anchor.
    
    Add regression cases for trailing LF, CRLF, and embedded newlines in
    AsyncAPI 2.6.0 and 3.0.0. Escape carriage returns and newlines in
    double-quoted YAML keys so the tests preserve these characters for
    validation.
    VisualBean committed Nov 4, 2026
    Configuration menu
    Copy the full SHA
    43b49ef View commit details
    Browse the repository at this point in the history
Loading