Skip to content

Commit c5c1f4c

Browse files
authored
Merge pull request #235 from plotly/dev
Release 1.5.0
2 parents 193d129 + 5b83d43 commit c5c1f4c

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

Diff for: .circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.1
22

33
orbs:
44
percy: percy/[email protected]
5-
browser-tools: circleci/[email protected].3
5+
browser-tools: circleci/[email protected].6
66

77
jobs:
88

Diff for: .github/workflows/jl_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
jl_version: ["1.6", "1.8", "1.9"]
11+
jl_version: ["1.6", "1.8", "1.9", "1.10"]
1212
steps:
1313
- uses: actions/checkout@v2
1414
- uses: julia-actions/setup-julia@v1

Diff for: Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Dash"
22
uuid = "1b08a953-4be3-4667-9a23-3db579824955"
33
authors = ["Chris Parmer <[email protected]>", "Alexandr Romanenko <[email protected]>"]
4-
version = "1.4.0"
4+
version = "1.5.0"
55

66
[deps]
77
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

Diff for: src/app/supporttypes.jl

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ struct TraitInput end
1717
struct TraitOutput end
1818
struct TraitState end
1919

20-
struct Dependency{Trait, IdT <: Union{String, NamedTuple}}
20+
const IdTypes = Union{String,NamedTuple}
21+
22+
struct Dependency{Trait, IdT<:IdTypes}
2123
id ::IdT
2224
property ::String
2325
Dependency{Trait}(id::T, property::String) where {Trait, T} = new{Trait, T}(id, property)
@@ -95,7 +97,9 @@ struct CallbackDeps
9597
CallbackDeps(output::Vector{<:Output}, input, state = State[]) = new(output, input, state, true)
9698
end
9799

98-
Base.convert(::Type{Vector{<:T}}, v::T) where {T<:Dependency} = [v]
100+
Base.convert(::Type{Vector{<:Output}}, v::Output{<:IdTypes}) = [v]
101+
Base.convert(::Type{Vector{<:Input}}, v::Input{<:IdTypes}) = [v]
102+
Base.convert(::Type{Vector{<:State}}, v::State{<:IdTypes}) = [v]
99103

100104
struct ClientsideFunction
101105
namespace ::String

0 commit comments

Comments
 (0)