Skip to content
This repository was archived by the owner on Nov 15, 2026. It is now read-only.
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
18 changes: 15 additions & 3 deletions docs/preview-notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# Modsim 2.0.0a5 preview
# Modsim 2.0.0a6 preview

Modsim 2.0.0a6 pins modpoll-wot 0.3.0a3, the same interpreter as modpoll
2.0.0a5. Thing Models no longer carry a `modpoll:audit` plan: a TM that still
declares one is rejected as an unsupported root project extension, so modsim
and modpoll accept the same models. Delete the key to migrate. Simulation,
ports and remote loading are unchanged from 2.0.0a5:

```sh
uvx --prerelease allow modsim==2.0.0a6 --config https://example.org/device.tm.json
```

### Previous preview

#### Modsim 2.0.0a5

Without `--port`, modsim now listens on the standard Modbus port: 502 for TCP
and UDP, 802 for Modbus/TLS. A simulator started from a ModioHub Thing Model is
Expand All @@ -14,8 +28,6 @@ with sudo (`sudo "$(command -v uvx)" modsim ...`) or choose a port above 1023,
for example `--port 5020`. Managed deployments keep their explicit server port.
This preview still pins modpoll-wot 0.2.0a4.

### Previous preview

#### Modsim 2.0.0a4

Remote models and scenarios load directly from a site such as ModioHub:
Expand Down
2 changes: 1 addition & 1 deletion modsim/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0a5"
__version__ = "2.0.0a6"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[project]
name = "modsim"
version = "2.0.0a5"
version = "2.0.0a6"
description = "A Simple Modbus TCP Device Simulator used for modpoll tool"
authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }]
readme = "README.md"
requires-python = ">=3.10,<4.0"
dependencies = [
"pymodbus~=3.16.1",
"modpoll-wot==0.2.0a4",
"modpoll-wot==0.3.0a3",
"jsonschema>=4.21,<5",
"PyYAML>=6,<7",
]
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/io-module/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"source_sha256": "4c2aee3334faf6622f4ee34a23108fa0ec100a6b3110a78200eee79da8935596",
"generator": {
"package": "modpoll-wot",
"version": "0.2.0a4"
"version": "0.3.0a3"
},
"instance": {
"host": "127.0.0.1",
Expand Down
11 changes: 5 additions & 6 deletions uv.lock

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

Loading