Skip to content

Releases: britzl/monarch

Monarch 5.1.1

04 Mar 15:07
6ba3064
Compare
Choose a tag to compare

FIX: Check that game objects exist before trying to delete them. Thanks @paweljarosz !

Monarch 5.1.0

30 Jan 10:04
679482f
Compare
Choose a tag to compare

NEW: Added monarch.has_missing_resources(screen) to check if a screen proxy has any missing resources.

Monarch 5.0.0

12 Jan 07:34
Compare
Choose a tag to compare

BREAKING CHANGE: Removed the backwards compatibility fix for monarch.back(). The only accepted function signature is from now on monarch.back(options, data, cb) with all three arguments being optional.

Monarch 4.6.1

27 Dec 14:55
Compare
Choose a tag to compare

FIX: Guard against deprecated screen_id and focus_id when loading from a screen factory.

Monarch 4.6.0

26 Oct 11:56
Compare
Choose a tag to compare

NEW: Added monarch.is_loaded(id) to query if a screen is loaded or not
FIX: Posting a message to a screen is now possible again from the moment it is loaded

Monarch 4.5.0

31 Aug 07:26
Compare
Choose a tag to compare

CHANGE: It is now possible to provide a URL instead of a function to monarch.on_post()

-- 3 ways to set a url where messages to "myscreen" should be sent
monarch.on_post("myscreen", "some#url")
monarch.on_post("myscreen", msg.url("some#url"))
monarch.on_post("myscreen") -- use current script url

-- set a function to call when messages are sent to "myscreen"
monarch.on_post("myscreen", function(message_id, message)
    print(message_id)
end)

Monarch 4.4.1

09 Aug 22:21
Compare
Choose a tag to compare

FIX: Issue with callbacks and monarch.back()

Monarch 4.4.0

09 Aug 22:09
91204ca
Compare
Choose a tag to compare

CHANGE: Screen in and out transition events are now sent at the right time.

Monarch 4.3.1

08 Aug 21:53
Compare
Choose a tag to compare

FIX: Broken test and transition count order

Monarch 4.3.0

08 Aug 20:54
Compare
Choose a tag to compare

NEW: monarch.back() now takes an options table as first argument:

local options = {
    sequential = true,    -- hide first, then show
}
monarch.back(options, data, cb)