File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- ## Master
3
+ ## 1.2.1
4
4
* Improve stream format error. [ #950 ] ( https://github.com/membraneframework/membrane_core/pull/950 )
5
5
* Minor fixes in ` Membrane.Connector ` . [ #952 ] ( https://github.com/membraneframework/membrane_core/pull/952 )
6
6
Original file line number Diff line number Diff line change @@ -126,11 +126,16 @@ defmodule Membrane.Core.Telemetry do
126
126
end
127
127
end
128
128
129
+ @ doc false
130
+ @ spec identity ( term ( ) ) :: term ( )
131
+ def identity ( term ) , do: term
132
+
129
133
defmacrop report_datapoint ( datapoint_name , do: lazy_block ) do
130
134
unless Macro . quoted_literal? ( datapoint_name ) , do: raise ( "Datapoint type must be a literal" )
131
135
136
+ # @legacy? |> indentity() is a hack to mute compilation warnings
132
137
cond do
133
- @ legacy? ->
138
+ @ legacy? |> identity ( ) ->
134
139
do_legacy_telemetry ( datapoint_name , lazy_block )
135
140
136
141
datapoint_gathered? ( datapoint_name ) ->
Original file line number Diff line number Diff line change 1
1
defmodule Membrane.Mixfile do
2
2
use Mix.Project
3
3
4
- @ version "1.2.0 "
4
+ @ version "1.2.1 "
5
5
@ source_ref "v#{ @ version } "
6
6
7
7
def project do
You can’t perform that action at this time.
0 commit comments