Skip to content

Commit 9498369

Browse files
authored
Merge pull request #1901 from hannobraun/release
Release v0.47.0
2 parents 14af84a + bb379a1 commit 9498369

File tree

4 files changed

+140
-58
lines changed

4 files changed

+140
-58
lines changed

CHANGELOG.md

+111
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,116 @@
11
# Fornjot - Changelog
22

3+
## v0.47.0 (2023-06-20)
4+
5+
### Library improvements
6+
7+
Improvements to Fornjot libraries.
8+
9+
#### `fj`
10+
11+
- Add new `fj` crate as all-in-one interface to the whole kernel ([#1853])
12+
- Add standardized CLI for models ([#1860])
13+
- Compute tolerance manually, if not provided via CLI ([#1872])
14+
15+
#### `fj-core`
16+
17+
- Add `Region` to share code between `Sketch` and `Face` ([#1828], [#1883]; thank you, [@A-Walrus]!)
18+
- Make various cleanups ([#1830], [#1831])
19+
- Expand and update operations API ([#1850], [#1879], [#1884], [#1891])
20+
- Rename `fj-kernel` to `fj-core` ([#1852])
21+
- Compute AABB from boundary representation ([#1871], [#1886], [#1888])
22+
- Clean up `Reverse` ([#1885])
23+
24+
#### `fj-interop`
25+
26+
- Clean up model-related code in `fj-interop` ([#1863], [#1864])
27+
28+
#### `fj-math`
29+
30+
- Expand `Aabb` API ([#1870])
31+
- Add `Vector::from_component` and `Circle::aabb` ([#1887])
32+
33+
#### `fj-viewer`
34+
35+
- Remove GUI code ([#1829])
36+
- Remove vestigial debug rendering code ([#1862])
37+
- Make more cleanups ([#1893], [#1898])
38+
39+
#### `fj-window`
40+
41+
- Re-add `fj-window` crate ([#1837])
42+
- Work around crash when opening window ([#1849])
43+
- Rename `window::run` to `display` ([#1861])
44+
- Expect `Model` in `fj_window::display` ([#1865])
45+
46+
### Other changes
47+
48+
Improvements that are not associated with a specific Fornjot library.
49+
50+
- Update dependencies ([#1821], [#1827], [#1835], [#1845], [#1847], [#1858], [#1880], [#1897])
51+
- Execute the change in focus, towards building only a CAD kernel ([#1822], [#1823], [#1824], [#1836], [#1838], [#1846], [#1851], [#1889], [#1890], [#1892])
52+
- Upgrade to Rust 1.70.0 ([#1859])
53+
- Update README ([#1869], [#1881])
54+
- Update documentation ([#1882], [#1894], [#1899])
55+
- Determine crates to publish automatically ([#1900])
56+
57+
[#1821]: https://github.com/hannobraun/fornjot/pull/1821
58+
[#1822]: https://github.com/hannobraun/fornjot/pull/1822
59+
[#1823]: https://github.com/hannobraun/fornjot/pull/1823
60+
[#1824]: https://github.com/hannobraun/fornjot/pull/1824
61+
[#1827]: https://github.com/hannobraun/fornjot/pull/1827
62+
[#1828]: https://github.com/hannobraun/fornjot/pull/1828
63+
[#1829]: https://github.com/hannobraun/fornjot/pull/1829
64+
[#1830]: https://github.com/hannobraun/fornjot/pull/1830
65+
[#1831]: https://github.com/hannobraun/fornjot/pull/1831
66+
[#1835]: https://github.com/hannobraun/fornjot/pull/1835
67+
[#1836]: https://github.com/hannobraun/fornjot/pull/1836
68+
[#1837]: https://github.com/hannobraun/fornjot/pull/1837
69+
[#1838]: https://github.com/hannobraun/fornjot/pull/1838
70+
[#1845]: https://github.com/hannobraun/fornjot/pull/1845
71+
[#1846]: https://github.com/hannobraun/fornjot/pull/1846
72+
[#1847]: https://github.com/hannobraun/fornjot/pull/1847
73+
[#1849]: https://github.com/hannobraun/fornjot/pull/1849
74+
[#1850]: https://github.com/hannobraun/fornjot/pull/1850
75+
[#1851]: https://github.com/hannobraun/fornjot/pull/1851
76+
[#1852]: https://github.com/hannobraun/fornjot/pull/1852
77+
[#1853]: https://github.com/hannobraun/fornjot/pull/1853
78+
[#1858]: https://github.com/hannobraun/fornjot/pull/1858
79+
[#1859]: https://github.com/hannobraun/fornjot/pull/1859
80+
[#1860]: https://github.com/hannobraun/fornjot/pull/1860
81+
[#1861]: https://github.com/hannobraun/fornjot/pull/1861
82+
[#1862]: https://github.com/hannobraun/fornjot/pull/1862
83+
[#1863]: https://github.com/hannobraun/fornjot/pull/1863
84+
[#1864]: https://github.com/hannobraun/fornjot/pull/1864
85+
[#1865]: https://github.com/hannobraun/fornjot/pull/1865
86+
[#1869]: https://github.com/hannobraun/fornjot/pull/1869
87+
[#1870]: https://github.com/hannobraun/fornjot/pull/1870
88+
[#1871]: https://github.com/hannobraun/fornjot/pull/1871
89+
[#1872]: https://github.com/hannobraun/fornjot/pull/1872
90+
[#1879]: https://github.com/hannobraun/fornjot/pull/1879
91+
[#1880]: https://github.com/hannobraun/fornjot/pull/1880
92+
[#1881]: https://github.com/hannobraun/fornjot/pull/1881
93+
[#1882]: https://github.com/hannobraun/fornjot/pull/1882
94+
[#1883]: https://github.com/hannobraun/fornjot/pull/1883
95+
[#1884]: https://github.com/hannobraun/fornjot/pull/1884
96+
[#1885]: https://github.com/hannobraun/fornjot/pull/1885
97+
[#1886]: https://github.com/hannobraun/fornjot/pull/1886
98+
[#1887]: https://github.com/hannobraun/fornjot/pull/1887
99+
[#1888]: https://github.com/hannobraun/fornjot/pull/1888
100+
[#1889]: https://github.com/hannobraun/fornjot/pull/1889
101+
[#1890]: https://github.com/hannobraun/fornjot/pull/1890
102+
[#1891]: https://github.com/hannobraun/fornjot/pull/1891
103+
[#1892]: https://github.com/hannobraun/fornjot/pull/1892
104+
[#1893]: https://github.com/hannobraun/fornjot/pull/1893
105+
[#1894]: https://github.com/hannobraun/fornjot/pull/1894
106+
[#1897]: https://github.com/hannobraun/fornjot/pull/1897
107+
[#1898]: https://github.com/hannobraun/fornjot/pull/1898
108+
[#1899]: https://github.com/hannobraun/fornjot/pull/1899
109+
[#1900]: https://github.com/hannobraun/fornjot/pull/1900
110+
111+
[@A-Walrus]: https://github.com/A-Walrus
112+
113+
3114
## v0.46.0 (2023-05-08)
4115

5116
### End-user improvements

Cargo.lock

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+8-20
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ default-members = [
3232

3333

3434
[workspace.package]
35-
version = "0.46.0"
35+
version = "0.47.0"
3636
edition = "2021"
3737

3838
description = "Early-stage b-rep CAD kernel."
@@ -45,41 +45,29 @@ categories = ["encoding", "mathematics", "rendering"]
4545

4646

4747
[workspace.dependencies.fj]
48-
version = "0.46.0"
48+
version = "0.47.0"
4949
path = "crates/fj"
5050

5151
[workspace.dependencies.fj-core]
52-
version = "0.46.0"
52+
version = "0.47.0"
5353
path = "crates/fj-core"
5454

5555
[workspace.dependencies.fj-export]
56-
version = "0.46.0"
56+
version = "0.47.0"
5757
path = "crates/fj-export"
5858

59-
[workspace.dependencies.fj-host]
60-
version = "0.46.0"
61-
path = "crates/fj-host"
62-
6359
[workspace.dependencies.fj-interop]
64-
version = "0.46.0"
60+
version = "0.47.0"
6561
path = "crates/fj-interop"
6662

6763
[workspace.dependencies.fj-math]
68-
version = "0.46.0"
64+
version = "0.47.0"
6965
path = "crates/fj-math"
7066

71-
[workspace.dependencies.fj-operations]
72-
version = "0.46.0"
73-
path = "crates/fj-operations"
74-
75-
[workspace.dependencies.fj-proc]
76-
version = "0.46.0"
77-
path = "crates/fj-proc"
78-
7967
[workspace.dependencies.fj-viewer]
80-
version = "0.46.0"
68+
version = "0.47.0"
8169
path = "crates/fj-viewer"
8270

8371
[workspace.dependencies.fj-window]
84-
version = "0.46.0"
72+
version = "0.47.0"
8573
path = "crates/fj-window"

tools/automator/src/announcement.rs

+14-31
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pub async fn create_release_announcement(
2020
let now = Utc::now();
2121

2222
let year = now.year();
23-
let week = format!("{:02}", now.iso_week().week());
2423
let date = format!("{year}-{:02}-{:02}", now.month(), now.day());
2524

2625
let pull_requests_since_last_release =
@@ -29,36 +28,29 @@ pub async fn create_release_announcement(
2928
let pull_requests =
3029
pull_requests_since_last_release.pull_requests.into_values();
3130

32-
// For now, it's good enough to just release a new minor version every week.
31+
// For now, it's good enough to just release a new minor version every time.
3332
// We could also determine whether there were breaking changes to make sure
34-
// we actually need it, but as of now, breaking changes every week are
35-
// pretty much a given.
33+
// we actually need it, but as of now, breaking changes are pretty much a
34+
// given.
3635
let mut version = pull_requests_since_last_release.version_of_last_release;
3736
version.minor += 1;
37+
let version = version.to_string();
3838

3939
let min_dollars = 32;
4040
let for_readme = false;
4141
let sponsors = Sponsors::query(octocrab)
4242
.await?
4343
.as_markdown(min_dollars, for_readme)?;
4444

45-
let mut file = create_file(year, &week).await?;
46-
generate_announcement(
47-
&week,
48-
date,
49-
version.to_string(),
50-
sponsors,
51-
pull_requests,
52-
&mut file,
53-
)
54-
.await?;
45+
let mut file = create_file(&version).await?;
46+
generate_announcement(date, version, sponsors, pull_requests, &mut file)
47+
.await?;
5548

5649
Ok(())
5750
}
5851

59-
async fn create_file(year: i32, week: &str) -> anyhow::Result<File> {
60-
let dir =
61-
PathBuf::from(format!("content/blog/weekly-release/{year}-w{week}"));
52+
async fn create_file(version: &str) -> anyhow::Result<File> {
53+
let dir = PathBuf::from(format!("content/blog/release/{version}"));
6254
let file = dir.join("index.md");
6355

6456
// VS Code (and probably other editors/IDEs) renders the path in the output
@@ -76,7 +68,6 @@ async fn create_file(year: i32, week: &str) -> anyhow::Result<File> {
7668
}
7769

7870
async fn generate_announcement(
79-
week: &str,
8071
date: String,
8172
version: String,
8273
sponsors: String,
@@ -134,8 +125,7 @@ async fn generate_announcement(
134125
buf,
135126
"\
136127
+++
137-
# TASK: Replace the calendar week with a descriptive title.
138-
title = \"Weekly Release - 2022-W{week}\"
128+
title = \"Fornjot {version}\"
139129
# TASK: Uncomment this date, once the announcement is ready to be published.
140130
# date = {date}
141131
@@ -162,20 +152,13 @@ subtitle = \"This is a subtitle\"
162152
</strong>
163153
164154
165-
### End-user improvements
155+
### Library improvements
166156
167-
Improvements to Fornjot and its documentation that are visible to end users.
157+
Improvements to Fornjot libraries.
168158
169-
**TASK: Add end-user improvements.**
159+
#### `fj-core`
170160
171-
172-
### Ecosystem improvements
173-
174-
Improvements to Fornjot components that are relevant to developers building on top of those. These have an indirect effect on end users, through fixed bugs and improved robustness.
175-
176-
#### `fj-kernel`
177-
178-
**TASK: Add ecosystem improvements.**
161+
**TASK: Add library improvements.**
179162
180163
181164
### Internal Improvements

0 commit comments

Comments
 (0)