Skip to content

Commit 0aa8ecf

Browse files
authored
Merge pull request #142 from axelson/format-changelog
Format and expand 0.10.0 changelog
2 parents f7340d0 + b614bc0 commit 0aa8ecf

File tree

1 file changed

+39
-11
lines changed

1 file changed

+39
-11
lines changed

CHANGELOG.md

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,53 @@
11
# Changelog
22

33
## 0.10.0
4-
* PR to fix delete the children of a group when the group itself is deleted. Thanks to Chris Boebel. @cboebel
5-
* Improve building the C products. PR #126 - @fhunleth
6-
* Added a :parser option to Cache.File.read/load to allow custom interpreters
4+
* Integration of font metrics
5+
* Buttons, checkboxes, radios, etc can be auto-sized to fix their text
6+
* FontMetrics can be used to measure strings, trim to fit, and more
77
* Much improved error handling when a scene crashes during its init phase. Instead of quickly
88
restarting the scene over and over, it now goes to an error scene that displays debug info.
99
Also displays that info in the command line.
10-
* Added a ViewPort.reset() function (used by the error scene), which can be used to send
11-
a ViewPort back to the original scene it was started with.
1210
* Integrated spec-based graphs from @pragdave. This is a cleaner looking way to build graphs.
1311
See the changes in primitives.ex
14-
* Breaking changes to Scenic.Cache. It has been replaced by asset specific caches.
15-
* Integration of font metrics
16-
* Buttons, checkboxes, radios, etc can be auto-sized to fix their text
17-
* FontMetrics can be used to measure strings, trim to fit, and more
18-
* 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
12+
* PR to fix delete the children of a group when the group itself is deleted. Thanks to
13+
Chris Boebel. @cboebel
14+
* Improve building the C products. PR #126 - @fhunleth
15+
* Added a :parser option to Cache.File.read/load to allow custom interpreters
16+
* Added a ViewPort.reset() function (used by the error scene), which can be used to send
17+
a ViewPort back to the original scene it was started with.
18+
* Dynamic Textures in the form of raw pixel maps are now supported. This should allow you
19+
to capture raw images off of a camera and display them without encoding/decoding
1920
* leading spaces in a text primitive are now rendered
2021
* Scene callbacks are all updated to support the OTP 21+ callback returns.
2122
* Scenes now have the terminate callback.
22-
* push_graph is deprecated in favor of returning {:push, graph} options form the callbacks
23+
24+
**Deprecations:**
25+
* `push_graph/1` is deprecated in favor of returning `{:push, graph}`
26+
([keyword](https://hexdocs.pm/elixir/Keyword.html)) options
27+
from the `Scenic.Scene` callbacks. Since this is only a deprecation `push_graph/1` will
28+
continue to work, but will log a warning when used. `push_graph/1` will be removed in a
29+
future release.
30+
* This allows us to utilize the full suite of OTP GenServer callback behaviors (such as
31+
timeout and `handle_continue`)
32+
* Replacing the call of `push_graph(graph)` within a callback function depends slightly
33+
on the context in which it is used.
34+
* in `init/2`:
35+
* `{:ok, state, [push: graph]}`
36+
* in `filter_event/3`:
37+
* `{:halt, state, [push: graph]}`
38+
* `{:cont, event, state, [push: graph]}`
39+
* in `handle_cast/2`:
40+
* `{:noreply, state, [push: graph]}`
41+
* in `handle_info/2`:
42+
* `{:noreply, state, [push: graph]}`
43+
* in `handle_call/3`:
44+
* `{:reply, reply, state, [push: graph]}`
45+
* `{:noreply, state, [push: graph]}`
46+
* in `handle_continue/3`:
47+
* `{:noreply, state, [push: graph]}`
48+
49+
**Breaking Changes:**
50+
* Breaking changes to Scenic.Cache. It has been replaced by asset specific caches.
2351

2452
## 0.9.0
2553
* Much improved testing

0 commit comments

Comments
 (0)