Skip to content

Commit 2b59405

Browse files
author
José Valim
committed
Release v1.8.0-rc.0
1 parent 4231a62 commit 2b59405

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ In Elixir v1.8, we now track the relationship between your code and the task via
5656
which means we store the following relationships:
5757

5858
[your code] [supervisor] <-- ancestor -- [task]
59-
^ |
60-
|---------------------- caller ---------------------|
59+
^ |
60+
|--------------------- caller ---------------------|
6161

6262
When a task is spawned directly from your code, without a supervisor, then the process running your code will be listed under both `$ancestors` and `$callers`.
6363

6464
This small feature is very powerful. It allows instrumentation and monitoring tools to better track and relate the events happening in your system. This feature can also be used by tools like the "Ecto Sandbox". The "Ecto Sandbox" allows developers to run tests concurrently against the database, by using transactions and an ownership mechanism where each process explicitly gets a connection assigned to it. Without `$callers`, every time you spawned a task that queries the database, the task would not know its caller, and therefore it would be unable to know which connection was assigned to it. This often meant features that relies on tasks could not be tested concurrently. With `$callers`, figuring out this relationship is trivial and you have more tests using the full power of your machine.
6565

66-
## v1.8.0-dev
66+
## v1.8.0-rc.0 (2018-12-24)
6767

6868
### 1. Enhancements
6969

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8.0-dev
1+
1.8.0

0 commit comments

Comments
 (0)