diff --git a/CHANGELOG.md b/CHANGELOG.md index 502b846..7d63a5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v3.7.3] - 2024-09-27 + +### Fixed + +- Fixed bug that allowed some systems to have zero mass on very small ships. + +### Changed + +- Odd mass values are now permitted. + ## [v3.7.2] - 2024-09-26 ### Fixed diff --git a/package-lock.json b/package-lock.json index 7e87296..3018592 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "ftshipbuilder", - "version": "3.7.0", + "version": "3.7.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ftshipbuilder", - "version": "3.7.0", + "version": "3.7.2", "license": "MIT", "dependencies": { "@zerodevx/svelte-toast": "^0.9.3", "canvg": "^4.0.1", "fast-xml-parser": "^4.2.0", - "ftlibship": "github:perlkonig/ftlibship#v2.4.1", + "ftlibship": "github:perlkonig/ftLibShip#v2.4.2", "lz-string": "^1.5.0", "nanoid": "^4.0.2", "robust-point-in-polygon": "^1.0.3", @@ -1057,9 +1057,9 @@ } }, "node_modules/fast-uri": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", - "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.2.tgz", + "integrity": "sha512-GR6f0hD7XXyNJa25Tb9BuIdN0tdr+0BMi6/CJPH3wJO1JjNG3n/VsSw38AwRdKZABm8lGbPfakLRkYzx2V9row==" }, "node_modules/fast-xml-parser": { "version": "4.2.0", @@ -1148,8 +1148,8 @@ } }, "node_modules/ftlibship": { - "version": "2.4.1", - "resolved": "git+ssh://git@github.com/perlkonig/ftlibship.git#470fdee9f48af077ca583fa022adf2f98d42bd6a", + "version": "2.4.2", + "resolved": "git+ssh://git@github.com/perlkonig/ftLibShip.git#f7e60800eb5d8f693c08624f065b89bc51c83de3", "license": "MIT", "dependencies": { "ajv": "^8.12.0", diff --git a/package.json b/package.json index 09c0bb3..ce4fa76 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ftshipbuilder", "private": true, - "version": "3.7.2", + "version": "3.7.3", "description": "A web-based tool for generating valid Full Thrust ships", "author": "Aaron Dalton (https://www.perlkonig.com)", "license": "MIT", @@ -43,7 +43,7 @@ "@zerodevx/svelte-toast": "^0.9.3", "canvg": "^4.0.1", "fast-xml-parser": "^4.2.0", - "ftlibship": "github:perlkonig/ftlibship#v2.4.1", + "ftlibship": "github:perlkonig/ftLibShip#v2.4.2", "lz-string": "^1.5.0", "nanoid": "^4.0.2", "robust-point-in-polygon": "^1.0.3", diff --git a/src/components/Builder.svelte b/src/components/Builder.svelte index 7e2c266..5f0f1b9 100644 --- a/src/components/Builder.svelte +++ b/src/components/Builder.svelte @@ -321,7 +321,6 @@ placeholder="Mass" min="4" max="300" - step="2" bind:value="{$ship.mass}" on:change="{setClass}" /> @@ -330,10 +329,6 @@

The minimum mass is 4.

{:else if $ship.mass > 300}

The maximum mass is 300.

- {:else if $ship.mass > 10 && $ship.mass % 2 !== 0} -

- The mass of ships larger than 9 must be an even number. -

{/if}