3.4.1
Bug fix
⚠ Upgrade required
- Set CI_ENVIRONMENT=development during upgrade for error visibility, then restore to production.
- Ensure .env contains database credentials for both default and development sections.
- Copy encryption key from application/config.php to .env[encryption.key] when upgrading.
Notable features
- PSR-12 compliant indentation and coding standards linter
- Kurdish (ckb) language option added to UI
Full changelog
Today we are thrilled to announce 3.4.1. This release adds quite some bugfixes on top of 3.4.0. The migration path for MySQL coming from versions before 3.4 was broken and should be fixed again with this version.
How to upgrade
WARNING: It's always a good idea to do a backup previous to an upgrade. This is not an exception.
- Unzip and upload Open Source Point of Sale files to the web-server.
Upgrade from release 3.4
- In case you have all config in the
.envfile you can just overwrite the unzipped.envfile with the your custom version.
Clean install / upgrading from a release older than 3.4
- Edit the
.envfile in the unzipped folder root and setCI_ENVIRONMENT=development. This willl show error messages during the upgrade phase. - Next add your database username, password and database name in
database.default.username,database.default.passwordanddatabase.default.databaseand respectivelydatabase.development.username,database.development.passwordanddatabase.development.databasein the.envfile - Copy your encryption key from
application/config.phpand paste it in theencryption.keyvalue in the.envfile in case you are upgrading - Move the content of old uploads dir to the
writable/uploadsfolder in case you used uploaded images - Restore the
CI_ENVIRONMENT=productionin the.envfile - Go to your install public dir via the browser. A login screen should appear
- Enjoy!
What's Changed
- Feature: PSR-12 Compliant Indentation by @objecttothis in https://github.com/opensourcepos/opensourcepos/pull/4196
- Add .env to dist zip by @jekkos in https://github.com/opensourcepos/opensourcepos/pull/4199
- Add CI4 coding standards linter (#3708) by @jekkos in https://github.com/opensourcepos/opensourcepos/pull/4198
- Bump canvg from 3.0.10 to 3.0.11 by @dependabot in https://github.com/opensourcepos/opensourcepos/pull/4189
- Bump jspdf and jspdf-autotable by @dependabot in https://github.com/opensourcepos/opensourcepos/pull/4190
- Feature bump ci to 4.6.0 by @objecttothis in https://github.com/opensourcepos/opensourcepos/pull/4197
- Add Kurdish language option to UI by @BudsieBuds in https://github.com/opensourcepos/opensourcepos/pull/4210
- Convert language ku to ckb by @BudsieBuds in https://github.com/opensourcepos/opensourcepos/pull/4211
- Fix PHP 8.4 errors by @BudsieBuds in https://github.com/opensourcepos/opensourcepos/pull/4215
- Add default bootstrap to themes by @BudsieBuds in https://github.com/opensourcepos/opensourcepos/pull/4219
- Update language names by @BudsieBuds in https://github.com/opensourcepos/opensourcepos/pull/4218
- Update install docs by @BudsieBuds in https://github.com/opensourcepos/opensourcepos/pull/4217
- Convert menu icons to SVG by @BudsieBuds in https://github.com/opensourcepos/opensourcepos/pull/4220
- Enhance license handling by @BudsieBuds in https://github.com/opensourcepos/opensourcepos/pull/4223
- Fix datetime rendering (#4226) by @jekkos in https://github.com/opensourcepos/opensourcepos/pull/4227
- Fix datetime rendering by @jekkos in https://github.com/opensourcepos/opensourcepos/pull/4228
- Fix null error when sending by email a receipt of a sale that has no invoice by @diego-ramos in https://github.com/opensourcepos/opensourcepos/pull/4229
- Update Receivings.php to save form. by @odiea in https://github.com/opensourcepos/opensourcepos/pull/4231
- Update Cashups.php for ajax cashup total to work. by @odiea in https://github.com/opensourcepos/opensourcepos/pull/4238
- Coding style updates for PSR-12 compliance & improved readability by @BudsieBuds in https://github.com/opensourcepos/opensourcepos/pull/4204
- Fix Codeigniter disallowed characters error with payment types that have accents by @diego-ramos in https://github.com/opensourcepos/opensourcepos/pull/4232
- Fixed broken escape string for success & warning messages by @Franchovy in https://github.com/opensourcepos/opensourcepos/pull/4253
- Bugfix constraint migration fix by @objecttothis in https://github.com/opensourcepos/opensourcepos/pull/4230
- Fix item number lookup in sales/receivings (#4212) by @jekkos in https://github.com/opensourcepos/opensourcepos/pull/4250
New Contributors
- @diego-ramos made their first contribution in https://github.com/opensourcepos/opensourcepos/pull/4229
- @Franchovy made their first contribution in https://github.com/opensourcepos/opensourcepos/pull/4253
Full Changelog: https://github.com/opensourcepos/opensourcepos/compare/3.4.0...3.4.1