Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3 #103

Merged
merged 101 commits into from
Jan 30, 2023
Merged

Version 3 #103

merged 101 commits into from
Jan 30, 2023

Conversation

dingo-d
Copy link
Owner

@dingo-d dingo-d commented Jan 17, 2023

This update was mostly a dev update to make the plugin easier to maintain.
A lot was changed under the hood (from handling dependency injection to build process, and how settings are handled).
Minor issues in the plugin should be fixed, most notable is that the translation for Croatian language should work now.
Also, the plugin should work with PHP 8+ (beta compatibility). PHP 8.2 could throw some notices, but WP is not yet fully compatible with PHP 8, so you can report any issues you find.

Added

  • Improved handling of dependencies in files
  • Method that will delete HNB exchange rate transient on plugin update
  • Improved error handling on API call failures

Changed

  • Minimum PHP version updated to 7.4, beta compatibility with PHP 8+ added
  • Build process changed from Webpack to Vite
  • Updated the options page a bit (better organization)
    • The settings are a bit more fool-proof now in the way settings are fetched, stored and handled across the admin app.

Fixed

  • Translations for Croatian language should work now
  • If people didn't update their plugin or settings, the currency should automatically default to EUR
  • All outstanding coding style and type errors
  • Better exception descriptions

dependabot bot and others added 30 commits January 17, 2023 10:13
Bump postcss from 8.2.10 to 8.2.13
Bump mustache from 2.14.0 to 2.14.1
Bump nanoid from 3.1.23 to 3.2.0
Bump node-sass from 5.0.0 to 7.0.0
Bump minimist from 1.2.5 to 1.2.6
Bump guzzlehttp/psr7 from 2.1.0 to 2.2.1
Bump guzzlehttp/guzzle from 7.4.1 to 7.4.5
Bump terser from 5.1.1 to 5.14.2
Split certain parts in the components, create data store, css fixes
Using hooks is failing for some reason, not sure why.
WIP, still not working properly
Correctly handles state updates
Put store objects into its own file
Add actions for saved state and error states
Use store for all internal state, eslint fixes underway, still need to do the orders panel.
If people have 1 still written in their options, just convert it to EUR.
@dingo-d dingo-d marked this pull request as ready for review January 30, 2023 12:50
@dingo-d dingo-d added this to the 3.0.0 milestone Jan 30, 2023
@dingo-d dingo-d self-assigned this Jan 30, 2023
@dingo-d dingo-d merged commit 40ba544 into main Jan 30, 2023
@dingo-d dingo-d deleted the updates branch January 30, 2023 13:09
@dingo-d dingo-d changed the title Updates Version 3 Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant