Skip to content

Bump kaitai-struct-compiler from 0.9.0 to 0.11.0#172

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/kaitai-struct-compiler-0.11.0
Open

Bump kaitai-struct-compiler from 0.9.0 to 0.11.0#172
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/kaitai-struct-compiler-0.11.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 6, 2026

Bumps kaitai-struct-compiler from 0.9.0 to 0.11.0.

Release notes

Sourced from kaitai-struct-compiler's releases.

0.11

0.10


SHA-256 checksums:

8d207d5423dbce46508babf2a51f762875e87cadbdbf35d7d71133d38d6a3fd9 *kaitai-struct-compiler-0.10.msi
3d11d6cc46d058afb4680fda2e7195f645ca03b2843501d652a529646e55d16b *kaitai-struct-compiler-0.10.zip
2d8d9a4f72fa348bfff6f85a1b01802485bf20003f03e254ae37ffa362fdd398 *kaitai-struct-compiler_0.10_all.deb

Verify with sha256sum <filename>.

Changelog

Sourced from kaitai-struct-compiler's changelog.

0.11 (2025-09-07)

This is the last version of Kaitai Struct that supports Python 2.7, Python 3.4 - 3.7 and Ruby 1.9.3 - 2.3. Future versions will require at least Python 3.8 (see #821) and Ruby 2.4 (unblocks ruby#8).

  • New target languages:
    • Rust
  • New compilation options:
    • -w/--read-write: serialization support, currently only for Java and Python (see Serialization guide)
      • implies --no-auto-read, so _read() must always be called manually to parse from a stream
      • new method _check() performs consistency checks - must be called on each object after the last change to its seq fields or instances, otherwise _write() will throw a ConsistencyNotCheckedError
      • new method _write()
      • new methods _invalidate{Inst}() (Java) / _invalidate_{inst}() (Python) for each value instance inst allow invalidating (forgetting) the cached value so that the instance can obtain a new value
    • --zero-copy-substream {true|false} (default is true): zero-copy substreams, currently only for Java and Ruby (#44)
      • this removes _raw_* fields from the generated code - if you need them, use --zero-copy-substream false
  • New KSY language features:
    • valid/in-enum: true validates that the parsed value is defined in the enum specified by the enum key
    • type: strz in combination with encoding: UTF-16{BE,LE} or encoding: UTF-32{BE,LE} now properly terminates the string on a 2-byte or 4-byte null character (#187)
    • to-string in a type definition can be used to provide a concise human-readable string representation of the object (#732)
      • it will be used to override the standard method for converting an object to a string, which is typically called toString() (or similar), __str__() in Python, to_s in Ruby, Display trait in Rust
      • displayed in the console visualizer (ksv), but not yet in the Web IDE, which still uses the -webide-representation key for this purpose
  • KSY language changes:
    • valid now applies to each individual element, not to the whole array as before; this also fixes a 0.9 regression, which prevented the use of contents with repetition (#1117)
    • bytes.to_s(encoding) now requires the encoding argument to be a string literal (#1051)
  • Expression language:
    • Add initial support for f-strings f"foo={foo}": only strings and integers can be interpolated, formatting options are not yet supported (#1073)
    • Improve error messages when the number or types of method arguments don't match (compiler#269)
  • General compilation improvements:
    • Add warnings about the use of aliases and non-canonical spellings of popular encodings in the encoding key, warn against using unknown encodings (#393)
      • a known issue is that reported YAML paths are incorrect in some situations, see #1227
    • Sort instances, types, enums, enum entries and switch cases in the generated code (5f561e1)
    • Pass _root and _parent in recursive invocations of the top-level type in the same .ksy spec (#1089)
    • Fix _root and _parent incorrectly passed to imported nested types (compiler#283)
    • Fix that unused nested types (i.e. unreachable from the top-level type) were not taken into account when deriving the _parent type (#961)
    • Fix missing runtime validation of parse instances with contents (#1011)
    • Fix missing compile-time checks of top-level parameters (#1086)
    • Fix sporadic import failures caused by race conditions in the compiler, which typically manifested as error: unable to find type ... for one of the imported types (#951)
    • Fix meta/ks-opaque-types: true when using imports (#295)
    • Fix duplicate warnings when using imports (compiler#267)
    • --ksc-json-output: preserve input .ksy paths in output JSON keys exactly without slash normalization (#507)
  • Runtime API changes:
    • Add ValidationNotInEnumError exception, which is thrown if the valid/in-enum: true validation fails
    • Add bytesTerminateMulti and readBytesTermMulti methods needed for type: strz + encoding: UTF-16/UTF-32 support to all runtime libraries (#187)
    • C++ runtime library: add Win32 API-based encoding option (cpp_stl#61)
    • C++ runtime library: fix syntax error in C++20 mode (cpp_stl#68)
    • C++ runtime library: fix violations of strict aliasing rules (cpp_stl#73)
    • C#: target netstandard2.0 (csharp@7b1ac6d) - fixes KaitaiStruct.Runtime.CSharp v0.10.0 contains indirect vulnerable references (csharp#20)
    • Go: require Go 1.23 or higher (61b70ac)
    • Java, Python: new method _fetchInstances() (Java) / _fetch_instances() can be used to recursively fetch all parse instances so that the input stream can be closed; this is especially useful with serialization when reading from one file and writing to another
    • Java, Python: all runtime library methods that deal with byte-aligned types now include a call to align_to_byte() / alignToByte(), which ensures proper alignment to a byte boundary after using bit-sized integers (type: bX), instead of the compiler often inserting them incorrectly (#1070)
    • Java: declare all arrays as List instead of ArrayList - this is a potentially breaking change (#1116)

... (truncated)

Commits
  • 60ef87a Update build.sbt version to 0.11
  • eb039a0 0.11 release notes: fix PR refs not following convention
  • 33a50d2 Bump sbt-native-packager to 1.11.3
  • 4233e4e Bump sbt version to 1.11.6
  • 38c3f7e Add 0.11 release notes
  • dec610f Java: adapt to the new param order of ConsistencyError
  • 8465e8f Python: adapt to the new param order of ConsistencyError
  • 8f8bb0f Refuse to write objects with unchecked modifications
  • 5dae584 Rename instance{ToWrite => Enabled}Setter
  • 99f20c2 _fetchInstances(): stop invoking disabled instances
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [kaitai-struct-compiler](https://github.com/kaitai-io/kaitai_struct_compiler) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/kaitai-io/kaitai_struct_compiler/releases)
- [Changelog](https://github.com/kaitai-io/kaitai_struct_compiler/blob/master/RELEASE_NOTES.md)
- [Commits](kaitai-io/kaitai_struct_compiler@0.9...0.11)

---
updated-dependencies:
- dependency-name: kaitai-struct-compiler
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants