Skip to content

Commit 590a4e5

Browse files
committed
v0.5.0
1 parent 8105d41 commit 590a4e5

5 files changed

Lines changed: 13 additions & 28 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,43 +8,28 @@ and this project adheres to
88

99
## [Unreleased]
1010

11-
## [0.5.0-rc.5] - 2025-10-26
12-
13-
### Changed
14-
15-
- Optimized VirtualClock event scheduling by using asynchronous operations
16-
17-
## [0.5.0-rc.4] - 2025-01-27
11+
## [0.5.0] - 2025-10-27
1812

1913
### Added
2014

21-
- Compilation warnings for global virtual clock operations to prevent race
22-
conditions
15+
- VirtualTimeGenStateMachine with full `:gen_statem` support
16+
- `start_link/3`, `start/3`, `call/3`, `cast/2`, `stop/3` functions for VirtualTimeGenStateMachine
17+
- Compilation warnings for global virtual clock operations to prevent race conditions
2318

2419
### Changed
2520

21+
- Optimized VirtualClock event scheduling by using asynchronous operations
2622
- Time backend is now internal and transparent to client code
27-
- VirtualTimeGenServer and VirtualTimeGenStateMachine functions now emit
28-
warnings when using global clock injection
29-
30-
## [0.5.0-rc.2] - 2025-01-27
31-
32-
### Added
33-
34-
- VirtualTimeGenStateMachine: `start_link/3`, `start/3`, `call/3`, `cast/2`,
35-
`stop/3` functions
23+
- VirtualTimeGenServer and VirtualTimeGenStateMachine functions now emit warnings when using global clock injection
24+
- Removed complex wrapper module causing callback conflicts
25+
- Now uses native Erlang `:gen_statem` directly
3626

3727
### Fixed
3828

39-
- State enter callbacks now work correctly
29+
- State enter callbacks now work correctly in VirtualTimeGenStateMachine
4030
- Long-running simulations timeout issues resolved
4131
- Both `:handle_event_function` and `:state_functions` callback modes supported
4232

43-
### Changed
44-
45-
- Removed complex wrapper module causing callback conflicts
46-
- Now uses native Erlang `:gen_statem` directly
47-
4833
## [0.4.0] - 2025-10-15
4934

5035
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ File.write!("report.html", html)
300300
```elixir
301301
def deps do
302302
[
303-
{:gen_server_virtual_time, "~> 0.5.0-rc.5"}
303+
{:gen_server_virtual_time, "~> 0.5.0"}
304304
]
305305
end
306306
```

generated/examples/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ <h2>🎓 Quick Start</h2>
349349
<pre style="background: #263238; color: #aed581; padding: 25px; border-radius: 10px; overflow-x: auto; margin-bottom: 30px;"><code class="language-elixir"># Add to mix.exs
350350
def deps do
351351
[
352-
{:gen_server_virtual_time, "~> 0.5.0-rc.5"}
352+
{:gen_server_virtual_time, "~> 0.5.0"}
353353
]
354354
end
355355

generated/examples/reports/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ <h2>🚀 Getting Started</h2>
456456
<p>Install GenServerVirtualTime from Hex:</p>
457457
<pre style="background: #263238; color: #aed581; padding: 20px; border-radius: 8px; overflow-x: auto;"><code class="language-elixir">def deps do
458458
[
459-
{:gen_server_virtual_time, "~> 0.5.0-rc.5"}
459+
{:gen_server_virtual_time, "~> 0.5.0"}
460460
]
461461
end</code></pre>
462462

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule GenServerVirtualTime.MixProject do
22
use Mix.Project
33

4-
@version "0.5.0-rc.5"
4+
@version "0.5.0"
55
@source_url "https://github.com/d-led/gen_server_virtual_time"
66

77
def project do

0 commit comments

Comments
 (0)