Releases: krzema12/snakeyaml-engine-kmp
Releases Β· krzema12/snakeyaml-engine-kmp
3.1.1
Corresponds to snakeyaml-engine 2.9.
What's Changed
Customer-facing
- Fix publishing for native targets by @krzema12 in #406
- Fix reading env vars for JS and WASM JS (only NodeJS) by @krzema12 in #335
- Fix CoreScalarResolver.INT regex to work with JS by @krzema12 in #403
- performance: avoid making codepoints window copy on prefix call by @OptimumCode in #331
- performance: avoid boxing when making array's copy by @OptimumCode in #333
- Implement partial source reading in StreamReader by @OptimumCode in #389
- fix(deps): update dependency com.squareup.okio:okio to v3.10.2 by @renovate in #345
- fix(deps): update dependency com.squareup.okio:okio-bom to v3.10.2 by @renovate in #341
Internal
- Publish build scans in case of failures by @krzema12 in #325
- Fix caching for generating test resources accessor by @krzema12 in #328
- Commonize DumpAnchorTest by @krzema12 in #326
- Handle non-existing common test resources gracefully by @krzema12 in #324
- Commonize EmitterWithCommentEnabledTest by @krzema12 in #329
- Commonize YamlUnicodeReaderTest by @krzema12 in #330
- Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.0 by @renovate in #334
- Re-enable WASM JS tests by @krzema12 in #336
- Kotlinize and commonize IndentWithIndicatorTest by @krzema12 in #338
- Kotlinize and partially commonize EnvVariableTest by @krzema12 in #332
- Renovate: ignore test resources by @krzema12 in #344
- Kotlinize and commonize EmitCommentAndSpacesTest by @krzema12 in #339
- Kotlinize and commonize LoadSequenceTest by @krzema12 in #346
- Kotlinize and commonize GlobalDirectivesTest by @krzema12 in #347
- Kotlinize and commonize LoadMappingTest by @krzema12 in #348
- Add leading slash in path to common test resources by @krzema12 in #350
- Kotlinize and commonize RecursiveSetTest by @krzema12 in #351
- Kotlinize and commonize StandardConstructorTest by @krzema12 in #352
- Kotlinize and commonize ListWithCommentTest by @krzema12 in #353
- Allow larger common test resources by @krzema12 in #355
- chore(deps): update dependency io.github.typesafegithub:github-workflows-kt to v3.1.0 by @renovate in #357
- Add assertion to DumpWithoutCommentsTest by @krzema12 in #359
- Kotlinize inherited tests by @krzema12 in #358
- fix(deps): update dependency org.snakeyaml:snakeyaml-engine to v2.9 by @renovate in #361
- Update latest analyzed commit in snakeyaml-engine by @krzema12 in #362
- Use Okio in inherited tests by @krzema12 in #360
- Move inherited YAML resources to common resources by @krzema12 in #356
- Increase captureTimeout in karma configuration by @OptimumCode in #364
- Implement file system based on common test resources and use it in stringFromResources by @krzema12 in #365
- Commonize inherited tests by @krzema12 in #363
- Increase browserSocketTimeout parameter for karma tests by @OptimumCode in #367
- Remove JVM-specific way of reading test resources by @krzema12 in #366
- Correct how config parameters for karma are set by @OptimumCode in #369
- Kotlinize and commonize OptionalMarksTest by @krzema12 in #371
- Remove Java-based YAML test suite by @krzema12 in #370
- Allow reusing common test resources code generation by @krzema12 in #373
- Reuse common resource access infra for YAML test suite by @krzema12 in #372
- Kotlinize and commonize ComposerWithCommentEnabledTest by @krzema12 in #374
- Move code for JVM from 'java' to 'kotlin' directory by @krzema12 in #375
- Move Java-based JVM tests back to 'java' directory by @krzema12 in #376
- fix(deps): update dependency org.jetbrains:annotations to v26.0.2 by @renovate in #377
- chore(deps): update dependency io.github.typesafegithub:github-workflows-kt to v3.2.0 by @renovate in #378
- Validate path to common test resources in IntelliJ by @krzema12 in #349
- chore(deps): update plugin com.gradle.develocity to v3.19.1 by @renovate in #380
- Kotlinize and commonize SerializerWithCommentEnabledTest by @krzema12 in #379
- Kotlinize and commonize ParserWithCommentEnabledTest by @krzema12 in #381
- chore(deps): update dependency gradle to v8.12.1 by @renovate in #382
- Fix StringStreamDataWriter.toString to not consume buffer by @krzema12 in #384
- chore(deps): update plugin org.jetbrains.kotlin.plugin.allopen to v2.1.10 by @renovate in #385
- Kotlinize and commonize EmitterTest by @krzema12 in #383
- fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.10 by @renovate in #386
- Kotlinize and commonize ScannerWithCommentEnabledTest by @krzema12 in #387
- fix(deps): update dependency io.kotest:kotest-runner-junit5 to v6.0.0.m2 by @renovate in #396
- fix(deps): update dependency io.kotest:kotest-framework-multiplatform-plugin-gradle to v6.0.0.m2 by @renovate in #393
- Synchronize kotest version to 6.0.0.M1 via version catalog by @krzema12 in #398
- Kotlinize and commonize JsonScalarResolverTest by @krzema12 in #399
- Kotlinize and commonize CoreScalarResolverTest by @krzema12 in #397
- Increase regex readability by @Vampire in #391
- Remove dependency on kotest-framework-api by @krzema12 in #404
- Verify emitted events also for error test suite tests by @Vampire in #392
Full Changelog: v3.1.0...v3.1.1
3.1.0
Corresponds to snakeyaml-engine 2.8, with a few extra changes not released there yet.
What's Changed
Customer-facing
- Update Kotlin to 2.1.0 and kotest to 6.0.0.M1 by @renovate in #231
- [Port from snakeyaml-engine] Remove extra indent after blank line comments. by @krzema12 in #265
- [Port from snakeyaml-engine] Update setEnvConfig Javadoc in LoadSettingsBuilder by @krzema12 in #267
- [Port from snakeyaml-engine] Refactor: comment changed by @krzema12 in #297
- [Port from snakeyaml-engine] Improve Javadoc for comments in the directives by @krzema12 in #298
- [Port from snakeyaml-engine] Refactor: improve Emitter as in SnakeYAML by @krzema12 in #299
- [Port from snakeyaml-engine] Try to keep the anchor name when available by @krzema12 in #301
- [Port from snakeyaml-engine] Scanner#checkToken(Token.ID) avoids varargs by @krzema12 in #302
- [Port from snakeyaml-engine] ScannerImpl scanFlow* append to existing StringBuilder by @krzema12 in #306
- [Port from snakeyaml-engine] Allow to avoid dumping anchors by @krzema12 in #272
- [Port from snakeyaml-engine] Dump as JSON by @krzema12 in #313
- [Port from snakeyaml-engine] Fix issue 53 by @krzema12 in #316
- [Port from snakeyaml-engine] Issue 54: Insert a trailing space when alias is a simple key by @krzema12 in #309
- [Port from snakeyaml-engine] Allow HighSurrogate to be the last char in the data window by @krzema12 and @OptimumCode in #314
- Fix identityHashCode for JS and WasmJS by @krzema12 and @OptimumCode in #273
- Remove irrelevant JavaDoc by @Vampire in #243
- ci: publish snapshot releases to Sonatype snapshots repo by @krzema12 in #308
Internal
- Add stub of workflow for checking the state of upstream project by @krzema12 in #261
- Document the release process by @krzema12 in #263
- Add self-updating badge with commits to snakeyaml-engine by @krzema12 in #262
- Link to log diff between repost in "To upstream" badge by @krzema12 in #264
- Convert EmitterWithCommentEnabledTest to Kotlin by @krzema12 in #268
- Update dependency org.jetbrains.kotlinx:kotlinx-benchmark-runtime to v0.4.13 by @renovate in #274
- Update plugin org.jetbrains.kotlinx.benchmark to v0.4.13 by @renovate in #275
- Update dependency io.github.java-diff-utils:java-diff-utils to v4.15 by @renovate in #276
- Update plugin org.gradle.toolchains.foojay-resolver-convention to v0.9.0 by @renovate in #277
- ci: change how upstream project is tracked by @krzema12 in #295
- docs: describe the badge in README by @krzema12 in #296
- test: migrate tests for representer package to common sources by @OptimumCode in #278
- Update dependency org.junit.jupiter:junit-jupiter-engine to v5.11.4 by @renovate in #300
- Update dependency gradle to v8.11.1 by @renovate in #270
- Update dependency com.google.guava:guava to v33.4.0-jre by @renovate in #303
- refactor: convert CanonicalScanner to Kotlin by @krzema12 in #305
- Update plugin org.jetbrains.kotlinx.binary-compatibility-validator to v0.17.0 by @renovate in #310
- Update dependency gradle to v8.12 by @renovate in #311
- Allow accessing test resources from common source set by @krzema12 in #312
- Update dependency io.github.typesafegithub:github-workflows-kt to v3.0.2 by @renovate in #319
- Temporarily disable Wasm tests by @krzema12 in #321
- Migrate renovate config by @renovate in #322
Full Changelog: v3.0.3...v3.1.0
3.0.3
What's Changed
Highlights
- Add Java 8 support by @rbraeunlich, @aSemy and @krzema12 in #255
- Switch JDK distribution to Temurin by @aSemy and @krzema12 in #259
- Fix replace hint for Compose.composeAllFromString by @Vampire in #246
Other
- Do not use custom inputs when calling benchmark action by @krzema12 in #236
- Comment on alert only if the PR is made from main repo by @OptimumCode in #250
Dependency updates
- Update dependency net.thauvin.erik.urlencoder:urlencoder-lib to v1.6.0 by @renovate in #257
- Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.3 by @renovate in #242
- Update dependency org.jetbrains.kotlinx:kotlinx-benchmark-runtime to v0.4.12 by @renovate in #232
- Update dependency com.squareup.okio:okio to v3.9.1 by @renovate in #239
- Update dependency com.squareup.okio:okio-bom to v3.9.1 by @renovate in #240
- Update dependency com.google.guava:guava to v33.3.1-jre by @renovate in #244
- Update dependency gradle to v8.10.2 by @renovate in #245
- Update dependency org.jetbrains:annotations to v26.0.1 by @renovate in #254
- Update dependency io.github.typesafegithub:github-workflows-kt to v3.0.1 by @renovate in #256
- Update dependency org.junit.jupiter:junit-jupiter-engine to v5.11.3 by @renovate in #258
- Update plugin org.jetbrains.kotlinx.benchmark to v0.4.12 by @renovate in #233
- Update dependency org.snakeyaml:snakeyaml-engine to v2.8 by @renovate in #241
- Update plugin dev.adamko.dokkatoo-html to v2.4.0 by @renovate in #237
New Contributors
- @Vampire made their first contribution in #246
- @rbraeunlich made their first contribution in #255
Full Changelog: v3.0.2...v3.0.3
3.0.2
What's Changed
Customer-facing
- Commonize Load by @aSemy in #210
- Update kotlin monorepo to v2.0.10 by @renovate in #224
- Update dependency com.google.guava:guava to v33.3.0-jre by @renovate in #227
Internal
- Update dependency gradle to v8.9 by @renovate in #211
- Add JVM API dump by @krzema12 in #213
- Add performance benchmarks to alert about performance issues by @OptimumCode in #215
- README: mention performance benchmarks by @krzema12 in #216
- Add performance comparison to snakeyaml-engine by @krzema12 in #217
- Update dependency io.github.typesafegithub:github-workflows-kt to v2.3.0 by @renovate in #220
- tidy benchmarks build script by @aSemy in #218
- Update plugin org.jetbrains.kotlinx.binary-compatibility-validator to v0.16.3 by @renovate in #222
- Update gradle/actions action to v4 by @renovate in #223
- Use Kotlin DSL for benchmark workflow by @krzema12 in #221
- Update dependency org.junit.jupiter:junit-jupiter-engine to v5.11.0 by @renovate in #225
- Update dependency gradle to v8.10 by @renovate in #226
- Add GitHub workflow to publish a release by @OptimumCode in #228
- Check consistency and compilability of all GitHub workflows by @krzema12 in #229
- Execute drop staging repo job in case of failure by @OptimumCode in #230
Full Changelog: v3.0.1...v3.0.2
3.0.1
What's Changed
- Use read-only wrapper for codepoints in Mark class instead of making a full array copy by @OptimumCode in #207
- fixes a performance regression reported in #204
New Contributors
- @OptimumCode made their first contribution in #207
Full Changelog: v3.0.0...v3.0.1
3.0.0
π£ Breaking changes
π Features
Other changes
- Emitter: Add message for Unexpected Event.ID error by @aSemy in #170
- Fix scanning for tabs in plain-spaces by @aSemy in #173
- Refactor StandardConstructor by @aSemy in #172
- Simplify
CharConstants.escapeChar()
by @aSemy in #171 - Refactor YamlUnicodeReader by @aSemy in #169
- refactor JsonSchema to avoid unnecessary expect/actual class by @aSemy in #168
- Add source-code link to Dokka docs by @aSemy in #174
- Refactor Parse by @aSemy in #175
- Update YamlIterator to implement Iterator, not MutableIterator by @aSemy in #180
- Refactor Compose by @aSemy in #176
- refactor YamlOutputStreamWriter by @aSemy in #178
- Remove BOM skip in ScannerImpl by @aSemy in #186
- Remove deprecated Tag constructor by @aSemy in #190
- Cherrypick test from upstream: Fix issue 51 - use the full buffer by @aSemy in #183
- Add StreamReader tests by @aSemy in #185
- Kotlin 2.0.0 by @aSemy in #187
- Refactor Mark by @aSemy in #182
- Refactor Load by @aSemy in #181
Full Changelog: v2.7.5...v3.0.0
2.7.5
2.7.4
Changes
- Enable more native targets by @krzema12 in #141
- Create API reference documentation site. by @aSemy in #144
- README: add Maven Central badge by @aSemy in #143
- add external link to Okio docs by @aSemy in #148
Dependency updates
- Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.23 by @renovate in #136
- Update dependency io.kotest:kotest-bom to v5.8.1 by @renovate in #137
- Update dependency io.kotest:kotest-framework-multiplatform-plugin-gradle to v5.8.1 by @renovate in #138
- Update dependency com.squareup.okio:okio to v3.9.0 by @renovate in #139
- Update dependency com.google.guava:guava to v33.1.0-jre by @renovate in #140
- Update dependency gradle to v8.7 by @renovate in #145
- Update plugin dev.adamko.dokkatoo-html to v2.3.0 by @renovate in #147
- Update actions/cache action to v4 by @renovate in #123
- Update dependency net.thauvin.erik.urlencoder:urlencoder-lib to v1.5.0 by @renovate in #149
- Update gradle/gradle-build-action action to v3 by @renovate in #146
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.13.0 by @renovate in #150
Full Changelog: v2.7.3...v2.7.4
2.7.3
This version reflects snakeyaml-engine's version 2.7.
What's Changed
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.1.0 by @renovate in #93
- Update actions/checkout action to v4 by @renovate in #83
- Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.10 by @renovate in #80
- Update dependency com.squareup.okio:okio to v3.5.0 by @renovate in #73
- Update dependency gradle to v8.4 by @renovate in #98
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.2.0 by @renovate in #96
- Update dependency com.squareup.okio:okio to v3.6.0 by @renovate in #97
- Renovate config: ignore test resources by @krzema12 in #99
- Update dependency com.google.guava:guava to v32.1.3-jre by @renovate in #100
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.4.0 by @renovate in #101
- Update dependency org.junit.jupiter:junit-jupiter-engine to v5.10.1 by @renovate in #105
- Update dependency io.kotest:kotest-bom to v5.8.0 by @renovate in #103
- Update dependency io.kotest:kotest-framework-multiplatform-plugin-gradle to v5.8.0 by @renovate in #104
- Update dependency gradle to v8.5 by @renovate in #109
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.7.0 by @renovate in #111
- Update dependency org.jetbrains:annotations to v24.1.0 by @renovate in #108
- Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.21 by @renovate in #102
- Update actions/setup-java action to v4 by @renovate in #110
- Update actions/download-artifact action to v4 by @renovate in #112
- Update actions/upload-artifact action to v4 by @renovate in #113
- Update dependency com.squareup.okio:okio to v3.7.0 by @renovate in #114
- tidy build config after Gradle & Kotlin updates by @aSemy in #115
- Cherry pick updates from SnakeYAML by @aSemy in #116
- Update dependency com.google.guava:guava to v33 by @renovate in #117
- Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.22 by @renovate in #119
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.8.0 by @renovate in #121
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.9.0 by @renovate in #122
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.10.0 by @renovate in #126
- Update README by @krzema12 in #125
- fix test parseManyAliasesForCollections by @aSemy in #127
- use UrlEncoder dependency by @aSemy in #92
- Remove custom Kotlin/Native repos by @aSemy in #128
- Revert "Remove custom Kotlin/Native repos" by @aSemy in #129
- Update dependency gradle to v8.6 by @renovate in #130
- Update dependency org.junit.jupiter:junit-jupiter-engine to v5.10.2 by @renovate in #131
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.11.0 by @renovate in #132
- Update dependency com.squareup.okio:okio to v3.8.0 by @renovate in #133
- Update dependency io.github.typesafegithub:github-workflows-kt to v1.12.0 by @renovate in #134
- Tidy MarkedYamlEngineException by @aSemy in #135
Full Changelog: v2.7.1...v2.7.3