All Versions
13
Latest Version
Avg Release Cycle
211 days
Latest Release
719 days ago

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_started error propogation failure - @seb3s
    • โž• Add development Nix flake - @crertel
    • โฌ‡๏ธ Reduce makefile compilation spam - @jjcartsens
    • 0๏ธโƒฃ Simplify default_pin and centroid code - @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/3 on request_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

    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, 2021

    Update 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/3 function so you can add primitives to an existing group in a graph
    • โœ‚ Remove runtime dependency on Mix
    • ๐Ÿ›  Various doc fixes.
  • v0.10.0 Changes

    March 26, 2019

    v0.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/1 is deprecated in favor of returning {:push, graph}
    (keyword) options
    ๐Ÿ—„ from the Scenic.Scene callbacks. Since this is only a deprecation push_graph/1 will
    โš  continue to work, but will log a warning when used.

    ๐Ÿš€ push_graph/1 will be removed in a future release.

    • This allows us to utilize the full suite of OTP GenServer callback behaviors (such as
      โฑ timeout and handle_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.Cache has been removed. It has been replaced by asset specific caches.

    Asset Class Module
    Fonts Scenic.Cache.Static.Font
    Font Metrics Scenic.Cache.Static.FontMetrics
    Textures (images in a fill) Scenic.Cache.Static.Texture
    Raw 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