Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
nnichols committed Jun 11, 2023
1 parent 1e9b875 commit d36be79
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 9 deletions.
22 changes: 22 additions & 0 deletions .sealog/changes/2-0-0.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{:version {:major 2
:minor 0
:patch 0}
:version-type :semver3
:changes {:added ["`brewtility.units.color` for converting between SRM, EBC, and Lovibond."
"`brewtility.units.pressure` for converting between PSI, Bar, etc."
"`brewtility.units.specific-gravity` for converting Specific Gravity."
"`brewtility.units.temperature` for converting between Celsius, Fahrenheit, and Kelvin."
"`brewtility.units.time` for converting between seconds, minutes, hours, etc."
"`brewtility.units.volume` for converting between gallons, liters, etc."
"`brewtility.units.weight` for converting between pounds, kilograms, etc."
"`brewtility.units.options` to introduce the symbolic keyword pattern"
"Display functions for all unit types."]
:changed ["Internal functions that convert between unit systems now use `brewtility.units`"]
:deprecated []
:removed ["`brewility.color` has been removed in favor of `brewtility.units.color`"
"`brewtility.units/convert-weight` has been removed in favor of `brewtility.units/convert` and `brewtility.units.weight/convert`"
"`brewtility.units/convert-volume` has been removed in favor of `brewtility.units/convert` and `brewtility.units.volume/convert`"
"`brewtility.units/convert-temperature` has been removed in favor of `brewtility.units/convert` and `brewtility.units.temperature/convert`"]
:fixed []
:security []}
:timestamp "2023-06-11T18:47:32.340619900Z"}
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,34 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Table of Contents

* [2.0.0 - 2023-06-11](#200---2023-06-11)
* [1.5.0 - 2023-02-13](#150---2023-02-13)
* [1.4.0 - 2023-02-12](#140---2023-02-12)
* [1.3.0 - 2023-02-12](#130---2023-02-12)
* [1.2.0 - 2022-07-10](#120---2022-07-10)
* [1.1.0 - 2020-08-15](#110---2020-08-15)
* [1.0.0 - 2020-07-19](#100---2020-07-19)

## 2.0.0 - 2023-06-11

* Added
* `brewtility.units.color` for converting between SRM, EBC, and Lovibond.
* `brewtility.units.pressure` for converting between PSI, Bar, etc.
* `brewtility.units.specific-gravity` for converting Specific Gravity.
* `brewtility.units.temperature` for converting between Celsius, Fahrenheit, and Kelvin.
* `brewtility.units.time` for converting between seconds, minutes, hours, etc.
* `brewtility.units.volume` for converting between gallons, liters, etc.
* `brewtility.units.weight` for converting between pounds, kilograms, etc.
* `brewtility.units.options` to introduce the symbolic keyword pattern
* Display functions for all unit types.
* Changed
* Internal functions that convert between unit systems now use `brewtility.units`
* Removed
* `brewility.color` has been removed in favor of `brewtility.units.color`
* `brewtility.units/convert-weight` has been removed in favor of `brewtility.units/convert` and `brewtility.units.weight/convert`
* `brewtility.units/convert-volume` has been removed in favor of `brewtility.units/convert` and `brewtility.units.volume/convert`
* `brewtility.units/convert-temperature` has been removed in favor of `brewtility.units/convert` and `brewtility.units.temperature/convert`

## 1.5.0 - 2023-02-13

* Added
Expand Down
2 changes: 1 addition & 1 deletion doc/api/units.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ This allows for progressive evolution, and provides a consistent interface to ev

Currently, brewtility supports the following types of temperature measurements:

- [clesius](https://en.wikipedia.org/wiki/Celsius)
- [celsius](https://en.wikipedia.org/wiki/Celsius)
- [fahrenheit](https://en.wikipedia.org/wiki/Fahrenheit)
- [kelvin](https://en.wikipedia.org/wiki/Kelvin_(unit))

Expand Down
2 changes: 1 addition & 1 deletion doc/patterns/symbolic_keywords.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For example:
(units/display :volume 1.5 :liter {:suffix :full}) ;; => "1.5 liter"
```

This allows us to easily extend the definition of a single function to fulfil multiple complex needs; however, option maps come with considerable drawbacks.
This allows us to easily extend the definition of a single function to fulfill multiple complex needs; however, option maps come with considerable drawbacks.
When a map is keyed with keywords, it is easy to introduce subtle, hard-to-detect errors.
Since most of these functions select default values for keys not present, typos can lead to meaningful differences in behavior.
For example:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brewtility",
"version": "1.5.0",
"version": "2.0.0",
"description": "Utility functions for all of your brewing needs.",
"main": "index.js",
"directories": {
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.wallbrew</groupId>
<artifactId>brewtility</artifactId>
<packaging>jar</packaging>
<version>1.5.0</version>
<version>2.0.0</version>
<name>brewtility</name>
<description>Utility functions for all of your brewing needs.</description>
<url>https://github.com/Wall-Brew-Co/brewtility</url>
Expand All @@ -20,7 +20,7 @@
<url>https://github.com/Wall-Brew-Co/brewtility</url>
<connection>scm:git:git://github.com/Wall-Brew-Co/brewtility.git</connection>
<developerConnection>scm:git:ssh://[email protected]/Wall-Brew-Co/brewtility.git</developerConnection>
<tag>bb5fe4473e8cf506d517b623f1a56e6e95f3055b</tag>
<tag>1e9b875c50a61b04b3711da1cee211f836ab8662</tag>
</scm>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject com.wallbrew/brewtility "1.5.0"
(defproject com.wallbrew/brewtility "2.0.0"
:description "Utility functions for all of your brewing needs."
:url "https://github.com/Wall-Brew-Co/brewtility"
:license {:name "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/brewtility/units/temperature.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
This namespace converts between that and other units.
Currently, brewtility supports the following types of temperature measurements:
- [clesius](https://en.wikipedia.org/wiki/Celsius)
- [celsius](https://en.wikipedia.org/wiki/Celsius)
- [fahrenheit](https://en.wikipedia.org/wiki/Fahrenheit)
- [kelvin](https://en.wikipedia.org/wiki/Kelvin_(unit))"
{:added "2.0"}
Expand Down

0 comments on commit d36be79

Please sign in to comment.