Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,35 @@

All notable changes to this project will be documented in this file.

## [1.0.0](https://github.com/PLC-lang/rusty/releases/tag/v1.0.0) - 2026-06-03

### Added

- Add hwmap sidecar (#1731)
- **codegen**: Embed compiler version in compiled artifacts via llvm.ident (#1733)

### Fixed

- **resolver**: Enum names should resolve correctly when they collide with pou names (#1761)
- Only error out on non existing files (not globs) (#1762)
- **validation**: Reject THIS.<member> without dereference (#1729)
- **parser**: Recover from unexpected tokens in expression position (#1709)
- **codegen**: Emit signext/zeroext on sub-32-bit integer parameters (#1708)
- **validation**: Flag wrong assignment direction at call sites (#1710)
- **project**: Validate file/include paths and reject empty input sets (#1713)
- **preprocessor**: Bind POU-scoped AT addresses to backing __PI_* global (#1737)
- **validation**: Reject FB-level VAR_TEMP referenced from a METHOD (#1746)
- **typesystem**: Wrong downcast warning when assigning numeric literal to SINT (#1753)
- **parser**: Focused diagnostic for reserved keywords in name slots (#1735)
- Properties now support the REFERENCE TO type (#1701)
- **linker**: Wrap spawn errors with diagnostic context and route long invocations through a response file (#1722)
- **codegen**: Drop ptr→aggregate bitcast on by-ref argument pass (#1742)
- **codegen**: Ptrtoint pointer operands in int binary arithmetic (#1751)
- **lowering**: Disambiguate per-unit ctor symbols by path hash (#1724)

### Documentation

- Update AGENTS.md (#1754)
## [0.5.0](https://github.com/PLC-lang/rusty/releases/tag/v0.5.0) - 2026-05-06

### Added
Expand Down
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plc-compiler"
version = "0.5.0"
version = "1.0.0"
authors = [
"Ghaith Hachem <ghaith.hachem@gmail.com>",
"Mathias Rieder <mathias.rieder@gmail.com>",
Expand All @@ -18,19 +18,19 @@ default = []
verify = []

[dependencies]
plc_source = { path = "./compiler/plc_source", version = "0.5.0" }
plc_ast = { path = "./compiler/plc_ast", version = "0.5.0" }
plc_util = { path = "./compiler/plc_util", version = "0.5.0" }
plc_diagnostics = { path = "./compiler/plc_diagnostics", version = "0.5.0" }
plc_index = { path = "./compiler/plc_index", version = "0.5.0" }
section_mangler = { path = "./compiler/section_mangler", version = "0.5.0" }
plc_llvm = { path = "./compiler/plc_llvm", version = "0.5.0" }
plc_source = { path = "./compiler/plc_source", version = "1.0.0" }
plc_ast = { path = "./compiler/plc_ast", version = "1.0.0" }
plc_util = { path = "./compiler/plc_util", version = "1.0.0" }
plc_diagnostics = { path = "./compiler/plc_diagnostics", version = "1.0.0" }
plc_index = { path = "./compiler/plc_index", version = "1.0.0" }
section_mangler = { path = "./compiler/section_mangler", version = "1.0.0" }
plc_llvm = { path = "./compiler/plc_llvm", version = "1.0.0" }
logos.workspace = true
clap = { version = "3.0", features = ["derive"] }
indexmap = { workspace = true, features = ["serde"] }
generational-arena = { version = "0.2.8", features = ["serde"] }
shell-words = "1.1.0"
plc_derive = { path = "./compiler/plc_derive", version = "0.5.0" }
plc_derive = { path = "./compiler/plc_derive", version = "1.0.0" }
which.workspace = true
siphasher = "1"
log.workspace = true
Expand All @@ -49,13 +49,13 @@ tempfile.workspace = true
num = "0.4"
insta.workspace = true
pretty_assertions = "1.3.0"
driver = { path = "./compiler/plc_driver/", package = "plc_driver", version = "0.5.0" }
project = { path = "./compiler/plc_project/", package = "plc_project", version = "0.5.0", features = [
driver = { path = "./compiler/plc_driver/", package = "plc_driver", version = "1.0.0" }
project = { path = "./compiler/plc_project/", package = "plc_project", version = "1.0.0", features = [
"integration",
] }
plc_xml = { path = "./compiler/plc_xml", version = "0.5.0" }
plc_xml = { path = "./compiler/plc_xml", version = "1.0.0" }
test_utils = { path = "./tests/test_utils" }
plc_lowering = { path = "./compiler/plc_lowering", version = "0.5.0" }
plc_lowering = { path = "./compiler/plc_lowering", version = "1.0.0" }
serial_test = "*"
tempfile.workspace = true
encoding_rs.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions compiler/plc_ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "plc_ast"
version = "0.5.0"
version = "1.0.0"
edition = "2021"
license = "LGPL-3.0"
description = "AST types for the PLC Structured Text compiler"

[dependencies]
plc_util = { path = "../plc_util", version = "0.5.0" }
plc_source = { path = "../plc_source", version = "0.5.0" }
plc_util = { path = "../plc_util", version = "1.0.0" }
plc_source = { path = "../plc_source", version = "1.0.0" }
chrono.workspace = true
# Enabled the RC feature (for Arc<T>) see: https://serde.rs/feature-flags.html#-features-rc
serde = { workspace = true, features = ["rc"] }
Expand Down
2 changes: 1 addition & 1 deletion compiler/plc_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plc_derive"
version = "0.5.0"
version = "1.0.0"
edition = "2021"
license = "LGPL-3.0"
description = "Derive macros for the PLC Structured Text compiler"
Expand Down
6 changes: 3 additions & 3 deletions compiler/plc_diagnostics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "plc_diagnostics"
version = "0.5.0"
version = "1.0.0"
edition = "2021"
license = "LGPL-3.0"
description = "Diagnostics and error reporting for the PLC Structured Text compiler"

[dependencies]
codespan-reporting = "0.12"
plc_ast = { path = "../plc_ast", version = "0.5.0" }
plc_source = { path = "../plc_source", version = "0.5.0" }
plc_ast = { path = "../plc_ast", version = "1.0.0" }
plc_source = { path = "../plc_source", version = "1.0.0" }
serde_json.workspace = true
serde.workspace = true
toml.workspace = true
Expand Down
22 changes: 11 additions & 11 deletions compiler/plc_driver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plc_driver"
version = "0.5.0"
version = "1.0.0"
edition = "2021"
build = "build.rs"
license = "LGPL-3.0"
Expand All @@ -9,15 +9,15 @@ description = "IEC 61131-3 Structured Text compiler"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
plc = { path = "../..", package = "plc-compiler", version = "0.5.0" }
ast = { path = "../plc_ast/", package = "plc_ast", version = "0.5.0" }
project = { path = "../plc_project/", package = "plc_project", version = "0.5.0" }
source_code = { path = "../plc_source/", package = "plc_source", version = "0.5.0" }
cfc = { path = "../plc_xml/", package = "plc_xml", version = "0.5.0" }
plc_diagnostics = { path = "../plc_diagnostics/", version = "0.5.0" }
plc_index = { path = "../plc_index", version = "0.5.0" }
plc_lowering = { path = "../plc_lowering", version = "0.5.0" }
plc_header_generator = { path = "../plc_header_generator", version = "0.5.0" }
plc = { path = "../..", package = "plc-compiler", version = "1.0.0" }
ast = { path = "../plc_ast/", package = "plc_ast", version = "1.0.0" }
project = { path = "../plc_project/", package = "plc_project", version = "1.0.0" }
source_code = { path = "../plc_source/", package = "plc_source", version = "1.0.0" }
cfc = { path = "../plc_xml/", package = "plc_xml", version = "1.0.0" }
plc_diagnostics = { path = "../plc_diagnostics/", version = "1.0.0" }
plc_index = { path = "../plc_index", version = "1.0.0" }
plc_lowering = { path = "../plc_lowering", version = "1.0.0" }
plc_header_generator = { path = "../plc_header_generator", version = "1.0.0" }

serde.workspace = true
serde_json.workspace = true
Expand All @@ -34,7 +34,7 @@ encoding_rs.workspace = true
encoding_rs_io.workspace = true
anyhow.workspace = true
itertools.workspace = true
plc_util = { path = "../plc_util", version = "0.5.0" }
plc_util = { path = "../plc_util", version = "1.0.0" }

[dev-dependencies]
pretty_assertions = "1.3.0"
Expand Down
10 changes: 5 additions & 5 deletions compiler/plc_header_generator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "plc_header_generator"
version = "0.5.0"
version = "1.0.0"
edition = "2021"
license = "LGPL-3.0"
description = "C header file generator for the PLC Structured Text compiler"

[dependencies]
plc = { path = "../..", package = "plc-compiler", version = "0.5.0" }
plc_diagnostics = { path = "../plc_diagnostics/", version = "0.5.0" }
plc_ast = { path = "../plc_ast/", version = "0.5.0" }
plc_source = { path = "../plc_source/", version = "0.5.0" }
plc = { path = "../..", package = "plc-compiler", version = "1.0.0" }
plc_diagnostics = { path = "../plc_diagnostics/", version = "1.0.0" }
plc_ast = { path = "../plc_ast/", version = "1.0.0" }
plc_source = { path = "../plc_source/", version = "1.0.0" }
tera = "1"
clap = { version = "3.0", features = ["derive"] }
regex.workspace = true
Expand Down
8 changes: 4 additions & 4 deletions compiler/plc_index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "plc_index"
version = "0.5.0"
version = "1.0.0"
edition = "2021"
license = "LGPL-3.0"
description = "Symbol index and type system for the PLC Structured Text compiler"

[dependencies]
plc_ast = { path = "../plc_ast", version = "0.5.0" }
plc_source = { path = "../plc_source", version = "0.5.0" }
plc_diagnostics = { path = "../plc_diagnostics", version = "0.5.0" }
plc_ast = { path = "../plc_ast", version = "1.0.0" }
plc_source = { path = "../plc_source", version = "1.0.0" }
plc_diagnostics = { path = "../plc_diagnostics", version = "1.0.0" }
#plc_project = { path = "../plc_project" } # TODO: This will create a circular dependency
rustc-hash.workspace = true
encoding_rs.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion compiler/plc_llvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plc_llvm"
version = "0.5.0"
version = "1.0.0"
edition = "2024"
license = "LGPL-3.0"
description = "LLVM Wrapper for C++ functions not exposed by inkwell or in the C API"
Expand Down
Loading
Loading