Skip to content

Commit

Permalink
Bump to 0.5.2 (#5)
Browse files Browse the repository at this point in the history
Also make https://github.com/ScenicFramework/font_metrics the default
git repository
  • Loading branch information
axelson authored Oct 28, 2024
1 parent bd55150 commit 0ff8df1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
26 changes: 16 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
## 0.5.2 - 2024-10-28
Changed default git repo from https://github.com/boydm/font_metrics to https://github.com/ScenicFramework/font_metrics

* Fix compilation warnings (https://github.com/ScenicFramework/font_metrics/pull/3)
* Fix infinite loop in word wrap (https://github.com/ScenicFramework/font_metrics/pull/4)
* Update readme (https://github.com/ScenicFramework/font_metrics/pull/2)

## 0.5.1
* make sha256 the default again as it turns out sha3_256 isn't widely supported enough yet.
* make sha256 the default again as it turns out sha3_256 isn't widely supported enough yet.

## 0.5.0
* Fixed an issue calculating the scale factor used in many of the functions. Now, correctly, uses the units_per_em instead of ascent-descent for the baseline.
* Removed the serialization APIs. Scenic no longer needs them and how you serialize the data in not an opinion the package should have. Use MsgPack. Use :erlang.term_to_binary. Use Jason. This package shouldn't care.
* Standardized the way options are passed in to functions. Some had option lists. Som had a kern parameter that was just a passed in boolean. This is all option lists now.
* Add Specs for types and functions. Confirm Dialyzer passes.
* Add NimbleOptions schemas and validators for all APIs
* The wrap function now wraps at word boundaries. Can also be set to nearest character.
* Fixed an issue calculating the scale factor used in many of the functions. Now, correctly, uses the units_per_em instead of ascent-descent for the baseline.
* Removed the serialization APIs. Scenic no longer needs them and how you serialize the data in not an opinion the package should have. Use MsgPack. Use :erlang.term_to_binary. Use Jason. This package shouldn't care.
* Standardized the way options are passed in to functions. Some had option lists. Som had a kern parameter that was just a passed in boolean. This is all option lists now.
* Add Specs for types and functions. Confirm Dialyzer passes.
* Add NimbleOptions schemas and validators for all APIs
* The wrap function now wraps at word boundaries. Can also be set to nearest character.


##0.4.0
* skipped. Going straight to 0.5.0 to have it align to the version of truetype_metrics that will depend on it
## 0.4.0
* skipped. Going straight to 0.5.0 to have it align to the version of truetype_metrics that will depend on it

## 0.3.1

* Add the wrap function

## 0.3.0

* First public release
* First public release
8 changes: 4 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ defmodule FontMetrics.MixProject do

@app_name :font_metrics

@version "0.5.1"
@version "0.5.2"

@elixir_version "~> 1.9"
@github "https://github.com/boydm/font_metrics"
@github "https://github.com/ScenicFramework/font_metrics"

def project do
[
Expand Down Expand Up @@ -55,7 +55,7 @@ defmodule FontMetrics.MixProject do
[
name: @app_name,
contributors: ["Boyd Multerer"],
maintainers: ["Boyd Multerer"],
maintainers: ["Boyd Multerer", "Scenic Core Team"],
licenses: ["Apache 2"],
links: %{Github: @github}
]
Expand All @@ -71,7 +71,7 @@ defmodule FontMetrics.MixProject do
[
main: "FontMetrics",
source_ref: "v#{@version}",
source_url: "https://github.com/boydm/font_metrics"
source_url: @github
]
end
end

0 comments on commit 0ff8df1

Please sign in to comment.