Skip to content

Выпуск 2.0.0-rc.10#1634

Merged
EvilBeaver merged 63 commits intorelease/previewfrom
feature/publish-preview
Dec 17, 2025
Merged

Выпуск 2.0.0-rc.10#1634
EvilBeaver merged 63 commits intorelease/previewfrom
feature/publish-preview

Conversation

@EvilBeaver
Copy link
Owner

@EvilBeaver EvilBeaver commented Dec 16, 2025

Note

Adds nested annotation support and raw HTTP body streaming, overhauls ValueTable behavior and errors, standardizes exceptions, changes explicit-imports dev mode to warnings, updates tests/docs, bumps to 2.0.0‑rc.10, and refreshes CI/VSCode artifacts.

  • Core/Language/Compiler:
    • Annotations: Support nested annotations as parameter values (BslAnnotationValue), updated parser (AnnotationParameterNode, DefaultBslParser) and codegen (stack/native) to emit/runtime-hold nested values; removed const index usage in annotation params; reflector outputs nested annotation tables.
    • Utils/Localization: Add Utils.NameAndValuePresentation; add BilingualStringExtension.BilingualEquals.
    • Exceptions: New RuntimeException.IncorrectOffset, IndexOutOfRange; BslUndefinedValue.GetHashCode() implemented.
    • Runtime: Safer marshalling for IRuntimeContextInstance; debug session wait tweaks; call stack index errors now use RuntimeException.IndexOutOfRange.
  • Standard Library:
    • ValueTable: Numerous behavioral fixes (insert beyond size adds to end, stricter arg validation, improved Total per type rules, empty column-list handling, FindRows column validation, index/out-of-range errors, custom ValueTableException.RowDoesntBelongTo).
    • Indexes: Use HashSet for storage; fix key equality; return Enumerable.Empty.
    • Collections: ArrayImpl/ValueListImpl unified index errors; BinaryDataBuffer throws standardized range error.
    • HTTP: Add raw-stream access (GetBodyAsStream(raw)), lazy body init, proper disposal; enable HTTP streaming tests.
  • Explicit Imports:
    • Dev mode under debugger now logs warnings instead of failing compilation; tests adjusted.
  • CI/Build & Packaging:
    • GitHub Actions Sonar cache updated to actions/cache@v5.
    • Jenkins VersionSuffix bumped to rc.10; release notes for 2.0.0-rc.10.
    • VSCode Debug Adapter package.json version to 1.0.0; remove obsolete test project from solution; minor solution config cleanups.
  • Tests:
    • Add/adjust tests for nested annotations, ValueTable behaviors, HTTP streaming, explicit imports, and binary buffer errors.

Written by Cursor Bugbot for commit 368f95a. This will update automatically on new commits. Configure here.

dmpas and others added 30 commits August 30, 2025 15:36
V2 #1580: Ошибки и несоответствия разных методов ТаблицыЗначений
Mr-Rm and others added 26 commits December 8, 2025 21:49
V2 Исправления к СтрокаТаблицыЗначений
Использование потока httpResponse без вычитывания по возможности
Убрал лишний таймаут

Revert "Убрал лишний таймаут"

This reverts commit b751058.
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…tions/cache-5

Bump actions/cache from 4 to 5
# Conflicts:
#	src/OneScript.StandardLibrary/Http/HttpResponseBody.cs
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 16, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/publish-preview

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonar-openbsl-ru-qa-bot
Copy link

@EvilBeaver EvilBeaver merged commit bf90864 into release/preview Dec 17, 2025
6 checks passed
@EvilBeaver EvilBeaver deleted the feature/publish-preview branch December 17, 2025 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants