Skip to content

Commit 5508173

Browse files
author
liv
committed
release: 0.5.0
1 parent 630d6f3 commit 5508173

File tree

11 files changed

+69
-20
lines changed

11 files changed

+69
-20
lines changed

CHANGELOG.md

Lines changed: 56 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,67 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.5.0 - 2023-10-10
44

55
### Features
66

7-
- **Removed hard dependency on README.md**
8-
- **RSS feed support**
9-
- **New `match_package_names` option for workspace config**
10-
- **Workspace index now supports `additional_css`**
7+
- **RSS feed support** - [shadows-withal]/[pr656], [zkat]
8+
9+
When you have changelog functionality enabled, oranda will now automatically
10+
generate a RSS feed for it! This means you can plug it into your RSS reader, or
11+
use further automation that works with RSS files 🙌
12+
13+
The link to the RSS feed will also be shown on the changelog page. You can disable
14+
the feed using the new `components.changelog.rss_feed` option.
15+
16+
- **Removed hard dependency on README.md** - [shadows-withal]/[pr640]
17+
18+
In previous releases, you needed to have a README.md file for oranda to work.
19+
This is a holdover from the earliest version of oranda (which was literally just
20+
a tool to generate HTML from your readme files), but with all the since added
21+
functionality, there's no real reason to keep this requirement. This means that
22+
**oranda now works without a readme file**!!
23+
24+
- **New `match_package_names` option for workspace config** - [06chaynes]/[pr652]
25+
26+
When you have a workspace with multiple projects that all publish releases in the same
27+
GitHub repository, oranda will get confused and think that every release belongs to
28+
every project. With the new `components.artifacts.match_package_names`, each workspace
29+
member will now only include releases that contain their project name in the Git tag
30+
(`v0.4.0-myproject`, for example).
31+
32+
- **Ignore `public/` directory when running `oranda generate ci`** - [shadows-withal]/[pr649], [konstin]/[i643]
33+
34+
When running the CI generator command, it'll now prompt you whether it should append the `public/`
35+
directory to your `.gitignore` file.
1136

1237
### Fixes
1338

14-
- **Improved errors for when explicitly declared paths don't exist**
15-
- **Set correct colors for mdbook draft chapters**
39+
- **Improved errors for when explicitly declared paths don't exist** - [shadows-withal]/[pr640], [konstin]
40+
41+
There used to be some cryptic errors oranda would throw if it couldn't find a path you'd manually
42+
specified in the configuration file - these errors are much nicer now, and their handling is more consistent.
43+
44+
- **Workspace index now supports `additional_css`** - [06chaynes]/[pr653]
45+
46+
The `additional_css` option will now be respected on the workspace index page!
47+
48+
- **Set correct colors for mdbook draft chapters** - [06chaynes]/[pr655], [hawkw]/[i654]
49+
50+
In custom oranda themes, mdbook draft chapter titles in the sidebar were unreadable. This has been fixed!
51+
52+
[i643]: https://github.com/axodotdev/oranda/issues/643
53+
[i654]: https://github.com/axodotdev/oranda/issues/654
54+
[pr640]: https://github.com/axodotdev/oranda/pull/640
55+
[pr649]: https://github.com/axodotdev/oranda/pull/649
56+
[pr652]: https://github.com/axodotdev/oranda/pull/652
57+
[pr653]: https://github.com/axodotdev/oranda/pull/653
58+
[pr655]: https://github.com/axodotdev/oranda/pull/655
59+
[pr656]: https://github.com/axodotdev/oranda/pull/656
60+
[shadows-withal]: https://github.com/shadows-withal
61+
[zkat]: https://github.com/zkat
62+
[konstin]: https://github.com/konstin
63+
[06chaynes]: https://github.com/06chaynes
64+
[hawkw]: https://github.com/hawkw
1665

1766
## 0.4.1 - 2023-09-27
1867

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "oranda"
33
description = "🎁 generate beautiful landing pages for your projects"
44
repository = "https://github.com/axodotdev/oranda"
55
homepage = "https://opensource.axo.dev/oranda"
6-
version = "0.5.0-prerelease.2"
6+
version = "0.5.0"
77
edition = "2021"
88
authors = ["Axo Developer Co. <hello@axo.dev>"]
99
license = "MIT OR Apache-2.0"
@@ -56,7 +56,7 @@ pathdiff = { version = "0.2.1", features = ["camino"] }
5656
minijinja = { version = "1.0.3", features = ["loader", "preserve_order", "custom_syntax"] }
5757
include_dir = "0.7.3"
5858
slug = "0.1.4"
59-
oranda-generate-css = { version = "0.5.0-prerelease.2", path = "generate-css" }
59+
oranda-generate-css = { version = "0.5.0", path = "generate-css" }
6060
inquire = "0.6.2"
6161
url-escape = "0.1.1"
6262
rss = { version = "2.0.6", features = ["atom"] }
@@ -69,7 +69,7 @@ glob = "0.3.1"
6969
scraper = "0.17.1"
7070

7171
[build-dependencies]
72-
oranda-generate-css = { version = "0.5.0-prerelease.2", path = "generate-css" }
72+
oranda-generate-css = { version = "0.5.0", path = "generate-css" }
7373
tokio = { version = "1.20.1", features = ["full"] }
7474

7575
[features]

generate-css/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oranda-generate-css"
3-
version = "0.5.0-prerelease.2"
3+
version = "0.5.0"
44
description = "the part of oranda that generates CSS"
55
repository = "https://github.com/axodotdev/oranda"
66
homepage = "https://opensource.axo.dev/oranda"

src/config/style.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::site::{markdown::SyntaxTheme, oranda_theme::OrandaTheme};
66

77
use super::ApplyValExt;
88

9-
pub const ORANDA_CSS_TAG: &str = "v0.5.0-prerelease.2";
9+
pub const ORANDA_CSS_TAG: &str = "v0.5.0";
1010

1111
/// Config related to styling your page (complete version)
1212
#[derive(Debug, Clone)]

templates/generate/web.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
{{%- if use_latest_oranda %}}
7070
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/latest/download/oranda-installer.sh | sh
7171
{{%- else %}}
72-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/download/v0.5.0-prerelease.2/oranda-installer.sh | sh
72+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/download/v0.5.0/oranda-installer.sh | sh
7373
{{%- endif %}}
7474
{{%- if site_dir %}}
7575
cd {{{ site_dir }}}

tests/snapshots/gal_akaikatana-public.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ expression: "&snapshots"
215215
</body>
216216
</html>
217217
================ public/artifacts.json ================
218-
{"format_version":"0.5.0-prerelease.2","tag":"v0.2.0","formatted_date":"Aug 8 2023 at 16:03 UTC","platforms_with_downloads":[{"target":["aarch64-apple-darwin"],"display_name":"macOS Apple Silicon","installers":[0,2]},{"target":["x86_64-apple-darwin"],"display_name":"macOS Intel","installers":[0,3]},{"target":["x86_64-pc-windows-msvc"],"display_name":"Windows x64","installers":[1,4]},{"target":["x86_64-unknown-linux-gnu"],"display_name":"Linux x64","installers":[0,5]}],"downloadable_files":[[0,{"name":"akaikatana-repack-aarch64-apple-darwin.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-aarch64-apple-darwin.tar.xz","view_path":null,"checksum_file":null},["macOS Apple Silicon"]],[3,{"name":"akaikatana-repack-x86_64-apple-darwin.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-apple-darwin.tar.xz","view_path":null,"checksum_file":null},["macOS Intel"]],[4,{"name":"akaikatana-repack-x86_64-pc-windows-msvc.zip","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-pc-windows-msvc.zip","view_path":null,"checksum_file":null},["Windows x64"]],[5,{"name":"akaikatana-repack-x86_64-unknown-linux-gnu.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-unknown-linux-gnu.tar.xz","view_path":null,"checksum_file":null},["Linux x64"]]],"release":{"artifacts":{"files":[{"name":"akaikatana-repack-aarch64-apple-darwin.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-aarch64-apple-darwin.tar.xz","view_path":null,"checksum_file":null},{"name":"akaikatana-repack-installer.ps1","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-installer.ps1","view_path":"akaikatana-repack-installer.ps1.txt","checksum_file":null},{"name":"akaikatana-repack-installer.sh","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-installer.sh","view_path":"akaikatana-repack-installer.sh.txt","checksum_file":null},{"name":"akaikatana-repack-x86_64-apple-darwin.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-apple-darwin.tar.xz","view_path":null,"checksum_file":null},{"name":"akaikatana-repack-x86_64-pc-windows-msvc.zip","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-pc-windows-msvc.zip","view_path":null,"checksum_file":null},{"name":"akaikatana-repack-x86_64-unknown-linux-gnu.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-unknown-linux-gnu.tar.xz","view_path":null,"checksum_file":null},{"name":"dist-manifest.json","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/dist-manifest.json","view_path":null,"checksum_file":null}],"installers":[{"label":"shell","description":"Install prebuilt binaries via shell script","method":{"type":"Run","file":2,"run_hint":"curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mistydemeo/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-installer.sh | sh"}},{"label":"powershell","description":"Install prebuilt binaries via powershell script","method":{"type":"Run","file":1,"run_hint":"irm https://github.com/mistydemeo/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-installer.ps1 | iex"}},{"label":"tarball","description":"","method":{"type":"Download","file":0}},{"label":"tarball","description":"","method":{"type":"Download","file":3}},{"label":"zip","description":"","method":{"type":"Download","file":4}},{"label":"tarball","description":"","method":{"type":"Download","file":5}}],"targets":{"aarch64-apple-darwin":[0,2],"x86_64-apple-darwin":[0,3],"x86_64-pc-windows-msvc":[1,4],"x86_64-unknown-linux-gnu":[0,5]}}},"os_script":"/akaikatana-repack/artifacts.js","has_checksum_files":false}
218+
{"format_version":"0.5.0","tag":"v0.2.0","formatted_date":"Aug 8 2023 at 16:03 UTC","platforms_with_downloads":[{"target":["aarch64-apple-darwin"],"display_name":"macOS Apple Silicon","installers":[0,2]},{"target":["x86_64-apple-darwin"],"display_name":"macOS Intel","installers":[0,3]},{"target":["x86_64-pc-windows-msvc"],"display_name":"Windows x64","installers":[1,4]},{"target":["x86_64-unknown-linux-gnu"],"display_name":"Linux x64","installers":[0,5]}],"downloadable_files":[[0,{"name":"akaikatana-repack-aarch64-apple-darwin.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-aarch64-apple-darwin.tar.xz","view_path":null,"checksum_file":null},["macOS Apple Silicon"]],[3,{"name":"akaikatana-repack-x86_64-apple-darwin.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-apple-darwin.tar.xz","view_path":null,"checksum_file":null},["macOS Intel"]],[4,{"name":"akaikatana-repack-x86_64-pc-windows-msvc.zip","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-pc-windows-msvc.zip","view_path":null,"checksum_file":null},["Windows x64"]],[5,{"name":"akaikatana-repack-x86_64-unknown-linux-gnu.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-unknown-linux-gnu.tar.xz","view_path":null,"checksum_file":null},["Linux x64"]]],"release":{"artifacts":{"files":[{"name":"akaikatana-repack-aarch64-apple-darwin.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-aarch64-apple-darwin.tar.xz","view_path":null,"checksum_file":null},{"name":"akaikatana-repack-installer.ps1","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-installer.ps1","view_path":"akaikatana-repack-installer.ps1.txt","checksum_file":null},{"name":"akaikatana-repack-installer.sh","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-installer.sh","view_path":"akaikatana-repack-installer.sh.txt","checksum_file":null},{"name":"akaikatana-repack-x86_64-apple-darwin.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-apple-darwin.tar.xz","view_path":null,"checksum_file":null},{"name":"akaikatana-repack-x86_64-pc-windows-msvc.zip","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-pc-windows-msvc.zip","view_path":null,"checksum_file":null},{"name":"akaikatana-repack-x86_64-unknown-linux-gnu.tar.xz","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-x86_64-unknown-linux-gnu.tar.xz","view_path":null,"checksum_file":null},{"name":"dist-manifest.json","download_url":"https://github.com/oranda-gallery/akaikatana-repack/releases/download/v0.2.0/dist-manifest.json","view_path":null,"checksum_file":null}],"installers":[{"label":"shell","description":"Install prebuilt binaries via shell script","method":{"type":"Run","file":2,"run_hint":"curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mistydemeo/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-installer.sh | sh"}},{"label":"powershell","description":"Install prebuilt binaries via powershell script","method":{"type":"Run","file":1,"run_hint":"irm https://github.com/mistydemeo/akaikatana-repack/releases/download/v0.2.0/akaikatana-repack-installer.ps1 | iex"}},{"label":"tarball","description":"","method":{"type":"Download","file":0}},{"label":"tarball","description":"","method":{"type":"Download","file":3}},{"label":"zip","description":"","method":{"type":"Download","file":4}},{"label":"tarball","description":"","method":{"type":"Download","file":5}}],"targets":{"aarch64-apple-darwin":[0,2],"x86_64-apple-darwin":[0,3],"x86_64-pc-windows-msvc":[1,4],"x86_64-unknown-linux-gnu":[0,5]}}},"os_script":"/akaikatana-repack/artifacts.js","has_checksum_files":false}
219219
================ public/changelog/index.html ================
220220
<!DOCTYPE html>
221221
<html lang="en" id="oranda" class="axo">

0 commit comments

Comments
 (0)