From 5c1152460f04a25dd4a5fbd2a09fa13b413123be Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Wed, 17 May 2023 18:52:22 -0500 Subject: [PATCH] Version Bump --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41df500..78e51ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.6.1] - 2023-05-17 +### Added +- Error boundaries around each layer, and errors now display on the page when in development +- Utility for creating requirement based on whether a conversion has met a requirement +### Changed +- **BREAKING** Formulas/requirements refactor + - spendResources renamed to cumulativeCost + - summedPurchases renamed to directSum + - calculateMaxAffordable now takes optional 'maxBulkAmount' parameter + - cost requirements now pass cumulativeCost, maxBulkAmount, and directSum to calculateMaxAffordable + - Non-integrable and non-invertible formulas will now work in more situations + - Repeatable.maximize is removed + - Challenge.maximize is removed +- Formulas have better typing information now +- Integrate functions now log errors if the variable input is not integrable +- Cyclical proxies now throw errors +- createFormulaPreview is now a JSX function +- Tree nodes are not automatically capitalized anymore +- upgrade.canPurchase now returns false if the upgrade is already bought +- TPS display is simplified and more performant now +### Fixed +- Actions could not be constructed +- Progress bar on actions was misaligned +- Many different issues the Board features (and many changes/improvements) +- Calculating max affordable could sometimes infinite loop +- Non-integrable formulas could cause errors in cost requirements +- estimateTime would not show "never" when production is 0 +- isInvertible and isIntegrable now properly handle nested formulas +- Repeatables' amount display would show the literal text "joinJSX" +- Repeatables would not buy max properly +- Reset buttons were showing wrong "currentAt" vs "nextAt" +- Step-wise formulas not updating their value correctly +- Bonus amount decorator now checks for `amount` property in the post construct callback +### Documentation +- Various typos fixed and a few sections made more thorough + ## [0.6.0] - 2023-04-20 ### Added - **BREAKING** New requirements system diff --git a/package-lock.json b/package-lock.json index 3e7acae..f747006 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "profectus", - "version": "0.6.0", + "version": "0.6.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "profectus", - "version": "0.6.0", + "version": "0.6.1", "dependencies": { "@fontsource/material-icons": "^4.5.4", "@fontsource/roboto-mono": "^4.5.8", diff --git a/package.json b/package.json index 4aa9568..3c1c415 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "profectus", - "version": "0.6.0", + "version": "0.6.1", "private": true, "scripts": { "start": "vite",