From 1f952fb4509ca0e3d8d2b1dfd981b28dba3b7952 Mon Sep 17 00:00:00 2001 From: Aria Beingessner Date: Wed, 20 Dec 2023 10:14:38 -0500 Subject: [PATCH] release: 0.6.1 --- CHANGELOG.md | 57 ++++++++++++++++++++--------------- Cargo.lock | 4 +-- Cargo.toml | 6 ++-- generate-css/Cargo.toml | 2 +- src/config/style.rs | 2 +- templates/generate/web.yml.j2 | 2 +- 6 files changed, 40 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33ba9c1e..ab2c1605 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,18 @@ # Changelog +## 0.6.1 - 2023-12-20 + +This patch release tweaks behaviour to have oranda prefer its own `curl | sh` expressions +over the ones cargo-dist generates, because it has more context than cargo-dist +to produce the best possible expression. + + ## 0.6.0 - 2023-12-14 ### Features - **axo Releases support** - [impl](https://github.com/axodotdev/oranda/pull/672) - + oranda now supports axo's homegrown release hosting service, axo Releases! At time of writing, axo Releases is still in closed beta, however, if you have access and want to try it out, you can set the following configuration parameter: @@ -17,12 +24,12 @@ } } ``` - + Doing so will cause oranda to not fetch from GitHub _at all_, instead using axo Releases as a source of truth for your release data. - -- **App names show on multi-app releases** - [impl](https://github.com/axodotdev/oranda/pull/671), issue [#1](https://github.com/axodotdev/oranda/pull/666), [#2](https://github.com/axodotdev/oranda/issues/665) (thanks + +- **App names show on multi-app releases** - [impl](https://github.com/axodotdev/oranda/pull/671), issue [#1](https://github.com/axodotdev/oranda/pull/666), [#2](https://github.com/axodotdev/oranda/issues/665) (thanks to [aumetra]!) - + If you use oranda to work with a project that publishes multiple differently-named binaries, your install widget may end up looking very confusing, with lots of similarly-named tabs. Previously, your options were to set up a [workspace][workspace-docs], or to set the [`components.artifacts.match_package_names`][package-names] configuration @@ -43,7 +50,7 @@ ### Housekeeping -- Minor cleanups to the source code, such as finally settling the "who has the better line endings, Linux or +- Minor cleanups to the source code, such as finally settling the "who has the better line endings, Linux or Windows" debate (it's Linux) [aumetra]: https://github.com/aumetra @@ -87,7 +94,7 @@ ### Fixes - **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. @@ -133,25 +140,25 @@ ### Features - **Improved CSS generation** - [shadows-withal]/[pr617], [ashleygwilliams]/[i610] - - Users and distributors now have more control over how oranda and especially its CSS gets built! You can choose to - opt-in to building CSS at build or runtime using the Tailwind binary, or you can explicitly prebuild the CSS using + + Users and distributors now have more control over how oranda and especially its CSS gets built! You can choose to + opt-in to building CSS at build or runtime using the Tailwind binary, or you can explicitly prebuild the CSS using npm. For more information, see the [docs](https://opensource.axo.dev/oranda/book/building.html#the-trouble-with-css). - **New `generate` command** - [shadows-withal]/[pr621], [ashleygwilliams]/[i188] - - You can now generate a GitHub Actions CI file that'll build your site and deploy it to GitHub Pages by running - `oranda generate ci`, which runs you through an interactive wizard! In the future, we'll add more types of + + You can now generate a GitHub Actions CI file that'll build your site and deploy it to GitHub Pages by running + `oranda generate ci`, which runs you through an interactive wizard! In the future, we'll add more types of generatable files. - **LiveReload support for `oranda dev`** - [shadows-withal]/[pr622], [jamesmunns]/[i556] - A pretty simple change that has a lot of quality-of-life: Your `oranda dev` browser tab now reloads automatically + A pretty simple change that has a lot of quality-of-life: Your `oranda dev` browser tab now reloads automatically when you change a relevant file and oranda rebuilds your site! - **Use Axo's favicon by default** - [shadows-withal]/[pr628], [ashleygwilliams]/[i110] - Oranda sites that don't have a custom favicon now fall back to Axo's favicon, just so that the space in the tab + Oranda sites that don't have a custom favicon now fall back to Axo's favicon, just so that the space in the tab bar isn't so drab and lonely. - **`oranda` is now available on Homebrew!** - [shadows-withal]/[pr602], the cargo dist team <3 @@ -167,7 +174,7 @@ ability to use a preexisting Tailwind binary. - **Improved workspace member precedence handling** - [shadows-withal]/[pr626], [shadows-withal]/[i615] - There were a couple of tough corner cases when using workspace functionality that would incorrectly cascade to the + There were a couple of tough corner cases when using workspace functionality that would incorrectly cascade to the members, which is fixed now! - **Hide changelog sidebar on mobile** - [shadows-withal]/[pr614], [zkat]/[i612] - **Fixed mdbook text highlighting colors having too little contrast** - [shadows-withal]/[pr627], [Gankra]/[i578] @@ -234,7 +241,7 @@ ### Features - **Workspace Support** - [shadows-withal]/many PRs, [mistydemeo]/many PRs, [jamesmunns]/[i493] - + You can now tell oranda to build sites from multiple projects in the same directory at the same time! By default, this will also generate a separate "root" page, providing an index into all projects defined within your workspace. @@ -254,7 +261,7 @@ } } ``` - + This configuration will attempt to auto-detect a Cargo or npm workspace, set the Hacker theme for all members, and embed the contents of the top-level `README.md` file into the workspace index page. @@ -276,10 +283,10 @@ } } ``` - + > Aside: If you have a use-case for an oranda page that combines multiple different projects _outside_ of a shared directory, please let us know on [Discord][discord]! - + For more information on workspace members, [take a look at the docs][workspace-docs]! - **Inlining CSS** - [shadows-withal]/[pr565], [pr566], [i554] @@ -326,7 +333,7 @@ ### Housekeeping - **Testing rework** - [Gankra]/[pr575], [shadows-withal]/[pr581] - + oranda's tests have long been suboptimal, but we now sport a pretty good test suite, with automated integration snapshot testing for multiple external projects, and improved HTML-aware integration tests. @@ -400,7 +407,7 @@ ### Fixes -- **Hacker theme highlight color - [SaraVieira], [pr523]/[i522]** +- **Hacker theme highlight color - [SaraVieira], [pr523]/[i522]** Selecting text in the Hacker theme now applies a nice, green, high contrast highlight background color, instead of being the same color as the text, therefore hiding the content. @@ -575,12 +582,12 @@ Despite being formally unannounced, several intrepid folks discovered oranda, an ### Features - **Individual Changelog pages: [shadows-withal]/[↬284]** - + When announcing a new release- it's often desirable to link to an individual release page that contains the changelog/release notes. Previously, we built a single page for all the releases- now we build individual pages as well. - This is the first shipped feature from our new team member, Liv! Yay and + This is the first shipped feature from our new team member, Liv! Yay and welcome :) - **npm installer: [ashleygwilliams]/[↬288]** @@ -609,7 +616,7 @@ Despite being formally unannounced, several intrepid folks discovered oranda, an - **Dev commands has proper default values: [ashleygwilliams]/[#256],[↬260]** - Due to a false hope that `#[derive(Default)]` would collect defaults from + Due to a false hope that `#[derive(Default)]` would collect defaults from the `clap` derive API, we shipped the `dev` command with each argument's *type's* defaults, not the oranda ones. `dev` now has the same defaults that `serve` does, as is to be expected. diff --git a/Cargo.lock b/Cargo.lock index 455cb7d0..d6ee8eaf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2265,7 +2265,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "oranda" -version = "0.6.0" +version = "0.6.1" dependencies = [ "ammonia", "assert_cmd", @@ -2322,7 +2322,7 @@ dependencies = [ [[package]] name = "oranda-generate-css" -version = "0.6.0" +version = "0.6.1" dependencies = [ "axoasset 0.4.0", "camino", diff --git a/Cargo.toml b/Cargo.toml index 20cc2710..1b0ce4ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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.6.0" +version = "0.6.1" edition = "2021" authors = ["Axo Developer Co. "] license = "MIT OR Apache-2.0" @@ -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.6.0", path = "generate-css" } +oranda-generate-css = { version = "0.6.1", path = "generate-css" } inquire = "0.6.2" url-escape = "0.1.1" rss = { version = "2.0.6", features = ["atom"] } @@ -70,7 +70,7 @@ glob = "0.3.1" scraper = "0.17.1" [build-dependencies] -oranda-generate-css = { version = "0.6.0-prerelease.2", path = "generate-css" } +oranda-generate-css = { version = "0.6.1", path = "generate-css" } tokio = { version = "1.20.1", features = ["full"] } [features] diff --git a/generate-css/Cargo.toml b/generate-css/Cargo.toml index 475a8efa..efbf796c 100644 --- a/generate-css/Cargo.toml +++ b/generate-css/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oranda-generate-css" -version = "0.6.0" +version = "0.6.1" description = "the part of oranda that generates CSS" repository = "https://github.com/axodotdev/oranda" homepage = "https://opensource.axo.dev/oranda" diff --git a/src/config/style.rs b/src/config/style.rs index db858c02..f3a16866 100644 --- a/src/config/style.rs +++ b/src/config/style.rs @@ -6,7 +6,7 @@ use crate::site::{markdown::SyntaxTheme, oranda_theme::OrandaTheme}; use super::ApplyValExt; -pub const ORANDA_CSS_TAG: &str = "v0.6.0"; +pub const ORANDA_CSS_TAG: &str = "v0.6.1"; /// Config related to styling your page (complete version) #[derive(Debug, Clone)] diff --git a/templates/generate/web.yml.j2 b/templates/generate/web.yml.j2 index ee223ae5..aecf111a 100644 --- a/templates/generate/web.yml.j2 +++ b/templates/generate/web.yml.j2 @@ -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.6.0/oranda-installer.sh | sh + curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/download/v0.6.1/oranda-installer.sh | sh {{%- endif %}} {{%- if site_dir %}} cd {{{ site_dir }}}