Skip to content

Commit

Permalink
Merge pull request #6 from MichaelMakesGames/release/0.10.x
Browse files Browse the repository at this point in the history
Release/0.10.x
  • Loading branch information
oatmealproblem authored Mar 15, 2024
2 parents 17990ed + 1aa0df2 commit e938a0c
Show file tree
Hide file tree
Showing 11 changed files with 98 additions and 10 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/debug-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: 'debug_build'
on: workflow_dispatch

# This workflow will build your tauri app without uploading it anywhere.

jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-22.04, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: install frontend dependencies
run: npm install # change this to npm or pnpm depending on which one you use

# If tagName and releaseId are omitted tauri-action will only build the app and won't try to upload any asstes.
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
includeDebug: true
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]
platform: [ubuntu-22.04, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -26,10 +26,10 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: install frontend dependencies
run: npm install
Expand Down
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Changelog

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. Note: this was not set up until v0.10.0

## 0.10.0 (2024-03-15)

### Features

- **parser:** new save file parser for drastically improved load times
- **data:** automatic data validation and correction for improved stability
- **map, data:** add ability for border to claim neighboring patches of void ([5a9f43e](https://github.com/MichaelMakesGames/stellarmaps/commit/5a9f43e4ddbd8cf4da59002662e25d874caa0938))
- **map, data:** add option for hyperlane-sensitive borders ([1e36be1](https://github.com/MichaelMakesGames/stellarmaps/commit/1e36be11f3ff96ac715283dc94df3305ea5b6fad))
- **map, data:** add option to display player names in addition to or instead of country names ([8dd09db](https://github.com/MichaelMakesGames/stellarmaps/commit/8dd09dba0478194cb9c18ee7403c069dd557518a))
- **map, data:** connect circular outlier borders along their hyperlanes ([ea9c74f](https://github.com/MichaelMakesGames/stellarmaps/commit/ea9c74fdaee5ee0ff504abbbfd633162a18cb0a2))
- **map, data:** detect and reassign country border fragments created by circular galaxy borders ([9ca7490](https://github.com/MichaelMakesGames/stellarmaps/commit/9ca749047f7749f32d55be22d4886dfa0f5fc749))
- **map, ui, data:** metro-style enables align to grid, align to grid disables hyperlane-sensitivity ([672d7c2](https://github.com/MichaelMakesGames/stellarmaps/commit/672d7c2a765f96726b8e2b9c948bb849b204adc7))
- **map:** add country fill fade map setting ([02e74ed](https://github.com/MichaelMakesGames/stellarmaps/commit/02e74eddfb5ff1b6f4048d6741eff52dd36b1064))
- **map:** add customizable background starscapes ([73c6bef](https://github.com/MichaelMakesGames/stellarmaps/commit/73c6befc2dd43b673c3e4bc2da4808ad26aedd91))
- **map:** add icon options for various polygons and stars ([15b21f3](https://github.com/MichaelMakesGames/stellarmaps/commit/15b21f3668f9c5c61b23a3ba1c144582209f6cdd))
- **ui:** add discord link ([9f82555](https://github.com/MichaelMakesGames/stellarmaps/commit/9f82555e6afa07ab267f7c8073cdda6d61d382e7))
- **ui:** add more vertical spacing to map settings ([4b0e11e](https://github.com/MichaelMakesGames/stellarmaps/commit/4b0e11e3e77ed8b206d09713658af4747d54d987))
- **ui:** add tight, starry gold, and starry blue presets ([88030c8](https://github.com/MichaelMakesGames/stellarmaps/commit/88030c86ad7ebca885ef14bfc6faf4704318ecbb))
- **ui:** add tooltip to "Metro-style Hyperlanes" ([385d389](https://github.com/MichaelMakesGames/stellarmaps/commit/385d3893b4f502f4e0edc01df3c152ebc0d03a74))
- **ui:** add tooltips to the various Advanced Border Settings ([5b115ca](https://github.com/MichaelMakesGames/stellarmaps/commit/5b115ca56d6371c3d05ff06feeb8fecb00e46fea))
- **ui:** improved tooltip behavior ([925a90d](https://github.com/MichaelMakesGames/stellarmaps/commit/925a90d23a06e020913366e406c0fe665d255f63))
- **ui:** show error if map fails to process ([9c00a9c](https://github.com/MichaelMakesGames/stellarmaps/commit/9c00a9ce4524336b85c9fba089459daee58e1f66))
- **ui:** show setting validation and prevent application of invalid settings ([0804dd7](https://github.com/MichaelMakesGames/stellarmaps/commit/0804dd7ad1016ca1ce94349ebefb440f2a2c7a33))

### Bug Fixes

- fail to load colors when some mods are active ([6336f02](https://github.com/MichaelMakesGames/stellarmaps/commit/6336f02e6625affea56a32d869b047ba777a99ca))
- **map, ui:** tooltip is misplaced when 'Align Solar Systems to Grid' is enabled ([b7f9375](https://github.com/MichaelMakesGames/stellarmaps/commit/b7f9375cb682fa44fe3d3547e42b0fccd41511d1))
- **map, data:** fix Formless country has no borders
- **map, data:** fix country labels not bound by galaxy border circles ([a013614](https://github.com/MichaelMakesGames/stellarmaps/commit/a01361427f70154741d6ddf3254dbc14cefbbf93))
- **map, data:** fix crash when border width == 0 ([9ffc45c](https://github.com/MichaelMakesGames/stellarmaps/commit/9ffc45c98f9a4a3dca9e78e9799d79de18e1732a))
- **map, data:** fix outlier systems considered when finding cluster centers ([5a96dab](https://github.com/MichaelMakesGames/stellarmaps/commit/5a96dab68246dfd348688b888870b35374046a94))
- **map, data:** fix systems with multiple hyperlanes considered outliers ([d1fa070](https://github.com/MichaelMakesGames/stellarmaps/commit/d1fa07030d6838ff703b3a2d366126cecc3b12b9))
- **map:** union leader symbol 'None' displays text 'none' ([4d7204d](https://github.com/MichaelMakesGames/stellarmaps/commit/4d7204d3f1e41633755372bc5d4ee43194b9d29a)), closes [#3](https://github.com/MichaelMakesGames/stellarmaps/issues/3)
- **ui:** fix 'Dynamic Colors' option group is shown even when empty ([ca15d63](https://github.com/MichaelMakesGames/stellarmaps/commit/ca15d63891a8fa66885091f517d13d5c0d1eb31b))
- **ui:** fix invalid default value for Unowned Hyperlane Color ([1e64927](https://github.com/MichaelMakesGames/stellarmaps/commit/1e649275a9fe15b24d6db704a7c3708fbdda74ef))
- **ui:** loaded preset settings are not validated and reset ([793c631](https://github.com/MichaelMakesGames/stellarmaps/commit/793c631963f245583757db3317121b66e0381554))
Binary file added examples/starscape4k.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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": "stellarmaps",
"version": "0.10.0-dev",
"version": "0.10.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

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

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stellarmaps"
version = "0.10.0-dev"
version = "0.10.0"
description = "Stellaris map renderer"
authors = ["Michael Moore"]
license = ""
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@
"plugins": {
},
"productName": "StellarMaps",
"version": "0.10.0-dev"
"version": "0.10.0"
}
2 changes: 1 addition & 1 deletion src/renderer/src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.10.0-dev';
export const VERSION = '0.10.0';
8 changes: 8 additions & 0 deletions src/renderer/src/lib/mapSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,10 @@ export const presetMapSettings: SavedMapSettings[] = [
color: 'border',
colorAdjustments: [{ type: 'OPACITY', value: 0 }],
},
backgroundColor: {
color: 'true_black',
colorAdjustments: [],
},
borderFillFade: 0.15,
starScapeCore: true,
starScapeDust: true,
Expand All @@ -1280,6 +1284,10 @@ export const presetMapSettings: SavedMapSettings[] = [
color: 'border',
colorAdjustments: [{ type: 'OPACITY', value: 0 }],
},
backgroundColor: {
color: 'true_black',
colorAdjustments: [],
},
borderFillFade: 0.15,
starScapeDust: true,
starScapeDustColor: {
Expand Down

0 comments on commit e938a0c

Please sign in to comment.