Skip to content
/ Dash.jl Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c5c1f4c

Browse files
authoredJan 5, 2024
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
 

‎.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.1
22

33
orbs:
44
percy: percy/agent@0.1.3
5-
browser-tools: circleci/browser-tools@1.4.3
5+
browser-tools: circleci/browser-tools@1.4.6
66

77
jobs:
88

‎.github/workflows/jl_test.yml

Lines changed: 1 addition & 1 deletion
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

‎Project.toml

Lines changed: 1 addition & 1 deletion
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 <chris@plotly.com>", "Alexandr Romanenko <waralex@gmail.com>"]
4-
version = "1.4.0"
4+
version = "1.5.0"
55

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

‎src/app/supporttypes.jl

Lines changed: 6 additions & 2 deletions
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

2 commit comments

Comments
 (2)

etpinard commented on Jan 5, 2024

@etpinard
ContributorAuthor

@JuliaRegistrator register branch=master

JuliaRegistrator commented on Jan 5, 2024

@JuliaRegistrator

Registration pull request created: JuliaRegistries/General/98293

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.5.0 -m "<description of version>" c5c1f4c735b64aff3140191fed93d1f45cbb8dd3
git push origin v1.5.0
Please sign in to comment.