Changelog History
Page 1
-
v0.12.0-rc.0 Changes
June 25, 2024!!!Note: as of v0.12.0 we'll be requiring at least Elixir 1.16!!!
0.12.0-rc.0
โก๏ธ This is a major update that adds fixes and support for new operations:
- CI improvements - @axelson
- โก๏ธ Formatting updates - @axelson
- ๐ Support for Elixir 1.16 - @axelson
- โก๏ธ Update getting started guide for Scenic in supervision tree - @amclain
- ๐ Fix
already_startederror propogation failure - @seb3s - โ Add development Nix flake - @crertel
- โฌ๏ธ Reduce makefile compilation spam - @jjcartsens
- 0๏ธโฃ Simplify
default_pinandcentroidcode - @seb3s - Add new input events (
:btn_pressed,:btn_released,:dropdown_opened,:dropdown_closed,:dropdown_item_hover,:focus,:blur) - @GPrimola - Add warning for missing
handle_input/3onrequest_input/2- @BinaryNoggin - โ Add alpha channel to sprites - @seb3s
- โ Add script arc functions - @GPrimola
- โ Add extended rounded rectangle drawing - @GPrimola
- โก๏ธ Assorted updates for deprecations and warnings
๐ New Contributors
- @amclain made their first contribution in #291
- @adkron made their first contribution in #293
- @seb3s made their first contribution in #294
- @rkenzhebekov made their first contribution in #303
- @ohrite made their first contribution in #321
- @jjcarstens made their first contribution in #340
- @GPrimola made their first contribution in #297
Full Changelog : v0.11.1...v0.12.0-rc.0
-
v0.11.1 Changes
September 09, 2022๐ Minor release that fixes documentation and spec bugs. No code change.
-
v0.11.0 Changes
September 05, 2022- โ Add the Scenic.Assets.Stream.Bitmap.put_offset/3 api
- ๐ Various cleanup and documentation fixes
- This is a MAJOR update. As Connor Rigby put it in a call... "What hasn't changed?"
- โฌ๏ธ See the v.11 upgrade guide for an overview.
-
v0.11.0-beta.0 Changes
- This is a MAJOR update. As Connor Rigby put it in a call... "What hasn't changed?"
- โฌ๏ธ See the v.11 upgrade guide for an overview.
-
v0.10.5 Changes
June 13, 2021Update the versions of the font_metrics and elixir_make dependencies
-
v0.10.4 Changes
- Can pass in a :name option to scenes/components @am-kantox
- โ Clean up warnings under Elixir 1.11
- ๐ Tell git not to mangle line endings on test data - part of getting Windows support working. @trejkaz
- ๐ Fix Texture.clear() bug so it now clears the entire texture. @shritesh
-
v0.10.3 Changes
- ๐ Fix bug allowing handle_continue to be overridden by scene. Thank you @lmarlow
- ๐ Fix bug where font in a style map wasn't being honored during graph build
- Add group_spec_r to primitives.ex. Thank you @nyaray
- ๐ Numerous documentation fixes by @grahamhay
- โ Clean up warnings, timing issues in test
- ๐ Fix compiler options for ARM. PR #198 Thank you Justin! @mobileoverlord
- ๐ Fix examples in docs. PR #196. Thank you @nschulzke
- โ Add :name option to components. PR #185. Thank you @tiger808
-
v0.10.2 Changes
- ๐ A good set of documentation improvements. All minor, but good to get out there. Thank you @GregMefford
- Minor improvements to do error scene readability. Thank you @lmarlow
-
v0.10.1 Changes
- โ Addded the
Graph.add_to/3function so you can add primitives to an existing group in a graph - โ Remove runtime dependency on Mix
- ๐ Various doc fixes.
- โ Addded the
-
v0.10.0 Changes
March 26, 2019v0.10.0 of Scenic.
- Integration of font metrics
- Buttons, checkboxes, radios, etc can be auto-sized to fix their text
- FontMetrics can be used to measure strings, trim to fit, and more
- Much improved error handling when a scene crashes during its init phase. Instead of quickly
restarting the scene over and over, it now goes to an error scene that displays debug info.
๐ป Also displays that info in the command line. - โ Integrated spec-based graphs from @pragdave. This is a cleaner looking way to build graphs.
๐ See the changes in primitives.ex - PR to fix delete the children of a group when the group itself is deleted. Thanks to
Chris Boebel. @cboebel - ๐ Improve building the C products. PR #126 - @fhunleth
- โ Added a :parser option to Cache.File.read/load to allow custom interpreters
- โ Added a ViewPort.reset() function (used by the error scene), which can be used to send
a ViewPort back to the original scene it was started with. - ๐ Dynamic Textures in the form of raw pixel maps are now supported. This should allow you
to capture raw images off of a camera and display them without encoding/decoding - leading spaces in a text primitive are now rendered
- โก๏ธ Scene callbacks are all updated to support the OTP 21+ callback returns.
- Scenes now have the terminate callback.
๐ Deprecations
๐
push_graph/1is deprecated in favor of returning{:push, graph}
(keyword) options
๐ from theScenic.Scenecallbacks. Since this is only a deprecationpush_graph/1will
โ continue to work, but will log a warning when used.๐
push_graph/1will be removed in a future release.- This allows us to utilize the full suite of OTP GenServer callback behaviors (such as
โฑ timeout andhandle_continue) - Replacing the call of
push_graph(graph)within a callback function depends slightly
on the context in which it is used. - in
init/2:{:ok, state, [push: graph]}
- in
filter_event/3:{:halt, state, [push: graph]}{:cont, event, state, [push: graph]}
- in
handle_cast/2:{:noreply, state, [push: graph]}
- in
handle_info/2:{:noreply, state, [push: graph]}
- in
handle_call/3:{:reply, reply, state, [push: graph]}{:noreply, state, [push: graph]}
- in
handle_continue/3:{:noreply, state, [push: graph]}
๐ฅ Breaking Changes
๐
Scenic.Cachehas been removed. It has been replaced by asset specific caches.Asset Class Module Fonts Scenic.Cache.Static.FontFont Metrics Scenic.Cache.Static.FontMetricsTextures (images in a fill) Scenic.Cache.Static.TextureRaw Pixel Maps Scenic.Cache.Dynamic.Texture๐ Some of the Cache support modules have moved
Old Module New Module ๐ Scenic.Cache.Hash๐ Scenic.Cache.File๐ Scenic.Cache.Supervisor - Integration of font metrics