Skip to content

Commit

Permalink
release: 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liv committed Oct 10, 2023
1 parent 630d6f3 commit 5508173
Show file tree
Hide file tree
Showing 11 changed files with 69 additions and 20 deletions.
63 changes: 56 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,67 @@
# Changelog

## Unreleased
## 0.5.0 - 2023-10-10

### Features

- **Removed hard dependency on README.md**
- **RSS feed support**
- **New `match_package_names` option for workspace config**
- **Workspace index now supports `additional_css`**
- **RSS feed support** - [shadows-withal]/[pr656], [zkat]

When you have changelog functionality enabled, oranda will now automatically
generate a RSS feed for it! This means you can plug it into your RSS reader, or
use further automation that works with RSS files 🙌

The link to the RSS feed will also be shown on the changelog page. You can disable
the feed using the new `components.changelog.rss_feed` option.

- **Removed hard dependency on README.md** - [shadows-withal]/[pr640]

In previous releases, you needed to have a README.md file for oranda to work.
This is a holdover from the earliest version of oranda (which was literally just
a tool to generate HTML from your readme files), but with all the since added
functionality, there's no real reason to keep this requirement. This means that
**oranda now works without a readme file**!!

- **New `match_package_names` option for workspace config** - [06chaynes]/[pr652]

When you have a workspace with multiple projects that all publish releases in the same
GitHub repository, oranda will get confused and think that every release belongs to
every project. With the new `components.artifacts.match_package_names`, each workspace
member will now only include releases that contain their project name in the Git tag
(`v0.4.0-myproject`, for example).

- **Ignore `public/` directory when running `oranda generate ci`** - [shadows-withal]/[pr649], [konstin]/[i643]

When running the CI generator command, it'll now prompt you whether it should append the `public/`
directory to your `.gitignore` file.

### Fixes

- **Improved errors for when explicitly declared paths don't exist**
- **Set correct colors for mdbook draft chapters**
- **Improved errors for when explicitly declared paths don't exist** - [shadows-withal]/[pr640], [konstin]

There used to be some cryptic errors oranda would throw if it couldn't find a path you'd manually
specified in the configuration file - these errors are much nicer now, and their handling is more consistent.

- **Workspace index now supports `additional_css`** - [06chaynes]/[pr653]

The `additional_css` option will now be respected on the workspace index page!

- **Set correct colors for mdbook draft chapters** - [06chaynes]/[pr655], [hawkw]/[i654]

In custom oranda themes, mdbook draft chapter titles in the sidebar were unreadable. This has been fixed!

[i643]: https://github.com/axodotdev/oranda/issues/643
[i654]: https://github.com/axodotdev/oranda/issues/654
[pr640]: https://github.com/axodotdev/oranda/pull/640
[pr649]: https://github.com/axodotdev/oranda/pull/649
[pr652]: https://github.com/axodotdev/oranda/pull/652
[pr653]: https://github.com/axodotdev/oranda/pull/653
[pr655]: https://github.com/axodotdev/oranda/pull/655
[pr656]: https://github.com/axodotdev/oranda/pull/656
[shadows-withal]: https://github.com/shadows-withal
[zkat]: https://github.com/zkat
[konstin]: https://github.com/konstin
[06chaynes]: https://github.com/06chaynes
[hawkw]: https://github.com/hawkw

## 0.4.1 - 2023-09-27

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "oranda"
description = "🎁 generate beautiful landing pages for your projects"
repository = "https://github.com/axodotdev/oranda"
homepage = "https://opensource.axo.dev/oranda"
version = "0.5.0-prerelease.2"
version = "0.5.0"
edition = "2021"
authors = ["Axo Developer Co. <hello@axo.dev>"]
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -56,7 +56,7 @@ pathdiff = { version = "0.2.1", features = ["camino"] }
minijinja = { version = "1.0.3", features = ["loader", "preserve_order", "custom_syntax"] }
include_dir = "0.7.3"
slug = "0.1.4"
oranda-generate-css = { version = "0.5.0-prerelease.2", path = "generate-css" }
oranda-generate-css = { version = "0.5.0", path = "generate-css" }
inquire = "0.6.2"
url-escape = "0.1.1"
rss = { version = "2.0.6", features = ["atom"] }
Expand All @@ -69,7 +69,7 @@ glob = "0.3.1"
scraper = "0.17.1"

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

[features]
Expand Down
2 changes: 1 addition & 1 deletion generate-css/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oranda-generate-css"
version = "0.5.0-prerelease.2"
version = "0.5.0"
description = "the part of oranda that generates CSS"
repository = "https://github.com/axodotdev/oranda"
homepage = "https://opensource.axo.dev/oranda"
Expand Down
2 changes: 1 addition & 1 deletion src/config/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::site::{markdown::SyntaxTheme, oranda_theme::OrandaTheme};

use super::ApplyValExt;

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

/// Config related to styling your page (complete version)
#[derive(Debug, Clone)]
Expand Down
2 changes: 1 addition & 1 deletion templates/generate/web.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
{{%- if use_latest_oranda %}}
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/latest/download/oranda-installer.sh | sh
{{%- else %}}
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/download/v0.5.0-prerelease.2/oranda-installer.sh | sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/download/v0.5.0/oranda-installer.sh | sh
{{%- endif %}}
{{%- if site_dir %}}
cd {{{ site_dir }}}
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/gal_akaikatana-public.snap
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ expression: "&snapshots"
</body>
</html>
================ public/artifacts.json ================
{"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}
{"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}
================ public/changelog/index.html ================
<!DOCTYPE html>
<html lang="en" id="oranda" class="axo">
Expand Down
Loading

0 comments on commit 5508173

Please sign in to comment.