Skip to content

Commit 89609b2

Browse files
committed
Bump minor version.
1 parent 311ef8c commit 89609b2

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

context/getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Async::Safe.enable!
2525

2626
When a violation is detected, an `Async::Safe::ViolationError` will be raised immediately with details about the object, method, and execution contexts involved.
2727

28-
## Single-Owner Model
28+
### Single-Owner Model
2929

3030
By default, all objects are assumed to follow a **single-owner model** - they should only be accessed from one fiber/thread at a time:
3131

@@ -51,7 +51,7 @@ Fiber.schedule do
5151
end
5252
~~~
5353

54-
## Marking Async-Safe Classes
54+
### Marking Async-Safe Classes
5555

5656
Mark entire classes as safe for concurrent access:
5757

@@ -90,7 +90,7 @@ class MyQueue
9090
end
9191
~~~
9292

93-
## Marking Async-Safe Methods
93+
### Marking Async-Safe Methods
9494

9595
Mark specific methods as async-safe:
9696

@@ -122,7 +122,7 @@ Fiber.schedule do
122122
end
123123
~~~
124124

125-
## Transferring Ownership
125+
### Transferring Ownership
126126

127127
Explicitly transfer ownership between fibers:
128128

lib/async/safe/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
module Async
77
module Safe
8-
VERSION = "0.1.0"
8+
VERSION = "0.2.0"
99
end
1010
end
1111

readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Please see the [project documentation](https://socketry.github.io/async-safe/) f
2222

2323
Please see the [project releases](https://socketry.github.io/async-safe/releases/index) for all releases.
2424

25+
### v0.2.0
26+
27+
- `Thread::Queue` transfers ownership of objects popped from it.
28+
- Add support for `logger:` option in `Async::Safe.enable!` which logs violations instead of raising errors.
29+
2530
### v0.1.0
2631

2732
- Implement TracePoint-based ownership tracking.

releases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Releases
22

3-
## Unreleased
3+
## v0.2.0
44

55
- `Thread::Queue` transfers ownership of objects popped from it.
66
- Add support for `logger:` option in `Async::Safe.enable!` which logs violations instead of raising errors.

0 commit comments

Comments
 (0)