mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 15:20:51 +00:00
New translations changelog.mdx (Russian)
[ci skip]
This commit is contained in:
@@ -4,17 +4,39 @@ sidebar_label: Список изменений
|
||||
|
||||
# Список изменений
|
||||
|
||||
## 0.8.2 (2026-07-22)
|
||||
## 0.8.3 (2026-08-03)
|
||||
|
||||
### Добавлено:
|
||||
|
||||
* **`dcr run -- \<args>...`** — cargo-style argument forwarding after a bare `--`\
|
||||
(`dcr run --release -- --test_help`). Applies to direct binary runs and `[run].cmd`.
|
||||
* **Tests** — host target section `ldflags` without CLI `--target`; run-arg forwarding; `split_double_dash` unit tests.
|
||||
|
||||
### Изменено:
|
||||
|
||||
* **Native builds resolve the host triple** — without `--target` / package `build.target`, host sections such as\
|
||||
`[build.x86_64-unknown-linux-gnu]` apply again (`cflags` / `ldflags` / toolchain).\
|
||||
Previously the target was empty and those sections were ignored while artifacts already used the host triple path.
|
||||
* **Empty target** — no more `Unknown target ''` warning.
|
||||
* **`dcr run --help` / man `dcr-run`** — document `--` forwarding.
|
||||
|
||||
### Исправлено:
|
||||
|
||||
* **Native artifact paths on Windows and macOS** — without an explicit `--target` / `build.target`, artifacts use `target/\<profile>`, so `dcr run` and flat-bin find the build output.
|
||||
* Target-specific `ldflags` missing on native host builds (e.g. micro-lang + `libsct-elf`).
|
||||
* Spurious empty-target warning.
|
||||
|
||||
## 0.8.2 (2026-07-22)
|
||||
|
||||
### Добавлено
|
||||
|
||||
* **Compile progress `[N/M]`** — live TTY status line (`compile pkg v0.1.0 [12/41]`) so long mono-package builds do not look hung.
|
||||
* **DCR status style** — fixed-width verbs: `project`, `compile`, `dep`, `ready`, `pack`, `done`, `run`.
|
||||
* **Cargo feature `archive`** — optional FAT packing via `fatfs` (`cargo build --features archive`). Release CI builds with the feature; without it `[archive]` fails with a clear message.
|
||||
* **Tests** — `flat_bin_nasm_build`, package `build.target` without CLI `--target`, stricter workspace `clean --all`.
|
||||
* **CI expansion** — unit + integration on Linux/macOS/Windows, archive feature job, rust-cache, clippy default + all-features (see `.github/workflows/ci.yml`).
|
||||
|
||||
### Изменено:
|
||||
### Изменено
|
||||
|
||||
* **No forced host triple from CLI** — without `--target`, package/member `build.target` is honored (bare-metal / ISO `post_steps` paths).
|
||||
* **Relative include/lib flags** (`-I`, `-i`, `-isystem`, `-idirafter`, `-L`, `-T`) absolutized against the package root under workspace builds.
|
||||
@@ -25,7 +47,7 @@ sidebar_label: Список изменений
|
||||
|
||||
## 0.8.1 (2026-07-20)
|
||||
|
||||
### Добавлено
|
||||
### Added
|
||||
|
||||
* **`build.kind = "flat-bin"`** — raw binary (default `.bin`) for OS-dev payloads:
|
||||
* **NASM** — `-f bin` → `\<stem>.bin`
|
||||
@@ -36,7 +58,7 @@ sidebar_label: Список изменений
|
||||
* **`[archive]` section** — FAT12/16/32 disk images after build (`output`, `format`, `size`, `offset`, `label`, `bootsector`, `layout`). From 0.8.2 requires feature `archive`.
|
||||
* **Single-file `build.roots`** — a root may be a single source or header file, not only a directory.
|
||||
|
||||
### Изменено
|
||||
### Changed
|
||||
|
||||
* **`--force`** also re-runs `build.steps` and `build.post_steps`.
|
||||
* **`dcr run` on workspace-only root** — if `[run].cmd` is set, run that after build; otherwise delegate to a workspace member.
|
||||
@@ -112,7 +134,7 @@ sidebar_label: Список изменений
|
||||
|
||||
* `default_target_triple()` now respects `target_env` — Linux (gnu/musl) and Windows (msvc/gnu) use the correct environment instead of hardcoded values.
|
||||
|
||||
### Исправлено:
|
||||
### Исправлено
|
||||
|
||||
* **macOS Apple Silicon builds failed with `_main` undefined** — `--target=` is now passed to ldflags, not just cflags. `default_target_triple()` uses `std::env::consts::ARCH` on macOS instead of hardcoded `x86_64`.
|
||||
* **GitHub Stars and GPL-3.0 badges not rendering in README** — badge block converted to pure HTML.
|
||||
@@ -155,7 +177,7 @@ sidebar_label: Список изменений
|
||||
* **`tree.rs`, `fmt.rs` и `setup.rs`** — теперь поддерживают аргументы для опции `--help`.
|
||||
* **Команды установки из файла README** — `| bash` → `| sh` для обеспечения совместимости с POSIX.
|
||||
|
||||
### Исправлено
|
||||
### Fixed
|
||||
|
||||
* **`dcr new \<invalid-name>` создает каталог, а затем завершается с ошибкой** — теперь проверка
|
||||
выполняется до начала любых операций с файлами.
|
||||
|
||||
Reference in New Issue
Block a user