Skip to content

Commit

Permalink
v0.22.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian committed Nov 30, 2019
1 parent d7f7a55 commit a527ebb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Changelog

## v0.22.4 - 2019-11-30

* fixed issue with JSON rendering where view variables won't get updated

## v0.22.3 - 2019-11-15

* logic to normalize the case of request headers to "Request-Header-Key"


## v0.21 - 2019-11-15

* deps update
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Genie"
uuid = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
authors = ["Adrian Salceanu <[email protected]>"]
version = "0.22.3"
version = "0.22.4"

[deps]
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Core genie configuration / settings functionality.
"""
module Configuration

const GENIE_VERSION = v"0.22.3"
const GENIE_VERSION = v"0.22.4"

import Logging
import Genie
Expand Down
5 changes: 3 additions & 2 deletions src/Flax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Loads the rendering vars into the task's scope
"""
@inline function registervars(vars...) :: Nothing
init_task_local_storage()
task_local_storage(:__vars, merge(Dict{Symbol,Any}(vars), task_local_storage(:__vars)))
task_local_storage(:__vars, merge(task_local_storage(:__vars), Dict{Symbol,Any}(vars)))

nothing
end
Expand Down Expand Up @@ -171,7 +171,8 @@ end

function injectvars(context::Module) :: Nothing
for kv in task_local_storage(:__vars)
isdefined(context, Symbol(kv[1])) || Core.eval(context, Meta.parse("$(kv[1]) = @vars($(repr(kv[1])))"))
# isdefined(context, Symbol(kv[1])) ||
Core.eval(context, Meta.parse("$(kv[1]) = @vars($(repr(kv[1])))"))
end

nothing
Expand Down

2 comments on commit a527ebb

@essenciary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/6053

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 Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.22.4 -m "<description of version>" a527ebbdd1c6044a73a35a05d0d5535d344b3229
git push origin v0.22.4

Please sign in to comment.