From c6389317d017d9f762a6570eb8acde4bcede124e Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Fri, 29 Mar 2024 00:49:58 -0500 Subject: [PATCH 1/4] Version Bump --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 37 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78e51ce..93c66c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.6.2] - 2024-04-01 +### Added +- Export save button in error boundaries +- isRendered utility function +- Automatic galaxy.click cloud saves support +- Support for null and undefined in persistent refs +### Changes +- round, floor, ceil, trunc, and add now invert as no-ops +- "The Paper Pilot Community" renamed to "Profectus & Friends" +- Updated CI etc. to work with Forgejo +- Improved modifier typing +- Rename `printFormula` to `Formula.stringify` +### Fixed +- Hotkeys not working correctly with most combinations of modifiers +- Reset button using `currentAt` when not gaining +- Formulas not using modifiers that are disabled initially +- branchedResetPropagation logic being incorrect +- Fixed default elementsd in the main layer not updating Context when being added or removed +- Board links props not working in camelCase +- Board links absorbing pointer events +- Thrown errors not appearing in console +- Disabled elements would eat mouse events +- Fixed cost requirement without formula counting as being able to afford infinite purchases rather than just one +- Pinnable tooltips causing innocuous console error +- Bars with direction as "Left" wouldn't appear correctly +### Documentation +- Clarified expected progress values for board nodes +- Added CONTRIBUTING.md and enforce eslint on all PRs +### Tests +- Update formula test cases +- Tree reset propagation + +Contributors: thepaperpilot, escapee, nif + ## [0.6.1] - 2023-05-17 ### Added - Error boundaries around each layer, and errors now display on the page when in development diff --git a/package-lock.json b/package-lock.json index 89b993d..9f65ede 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "profectus", - "version": "0.6.1", + "version": "0.6.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "profectus", - "version": "0.6.1", + "version": "0.6.2", "dependencies": { "@fontsource/material-icons": "^4.5.4", "@fontsource/roboto-mono": "^4.5.8", diff --git a/package.json b/package.json index 49c39b7..4247f71 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "profectus", - "version": "0.6.1", + "version": "0.6.2", "private": true, "scripts": { "start": "vite", From 2d28be84a9687bb592e6183c1aca49b7d61756b8 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 17 Mar 2024 00:50:22 -0500 Subject: [PATCH 2/4] Add modal to take a mental health break --- src/App.vue | 8 +- src/components/Nav.vue | 6 +- src/components/modals/AddictionWarning.vue | 83 +++++++++++++++++++ .../{saves => modals}/CloudSaveResolver.vue | 2 +- .../{ => modals}/GameOverScreen.vue | 4 +- src/components/{ => modals}/Info.vue | 2 +- src/components/{ => modals}/Modal.vue | 2 +- src/components/{ => modals}/NaNScreen.vue | 6 +- src/components/{ => modals}/Options.vue | 21 +++-- src/components/{saves => modals}/Save.vue | 0 .../{saves => modals}/SavesManager.vue | 6 +- src/data/Changelog.vue | 2 +- src/data/projInfo-schema.json | 4 + src/data/projInfo.json | 3 +- src/game/events.ts | 5 ++ src/game/gameLoop.ts | 4 + src/game/layers.tsx | 2 +- src/game/settings.ts | 12 ++- src/game/state.ts | 3 + 19 files changed, 145 insertions(+), 30 deletions(-) create mode 100644 src/components/modals/AddictionWarning.vue rename src/components/{saves => modals}/CloudSaveResolver.vue (99%) rename src/components/{ => modals}/GameOverScreen.vue (97%) rename src/components/{ => modals}/Info.vue (98%) rename src/components/{ => modals}/Modal.vue (98%) rename src/components/{ => modals}/NaNScreen.vue (96%) rename src/components/{ => modals}/Options.vue (86%) rename src/components/{saves => modals}/Save.vue (100%) rename src/components/{saves => modals}/SavesManager.vue (99%) diff --git a/src/App.vue b/src/App.vue index 7e7a0aa..5c8b783 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,6 +6,7 @@