diff --git a/CHANGELOG.md b/CHANGELOG.md index 85286001..8644460b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,140 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.0](https://github.com/myparcelnl/prestashop/compare/v3.10.0...v4.0.0) (2024-10-16) + + +### ⚠ BREAKING CHANGES + +* implement pdk + +### :bug: Bug Fixes + +* **account:** fix carrier mapping constraint error on account update ([21eb32f](https://github.com/myparcelnl/prestashop/commit/21eb32f2612813ffe56e73dbde374fa9c4f386e3)) +* **admin:** fix all inputs appearing as required ([142f9f9](https://github.com/myparcelnl/prestashop/commit/142f9f97c5dc59774c5fb741e09fe1f791a4bac3)) +* **admin:** fix broken import ([0c1c1ad](https://github.com/myparcelnl/prestashop/commit/0c1c1ad686e5a4f1e386652856f5de9ff3071f70)) +* **admin:** fix error on pages without bulk actions ([9960cee](https://github.com/myparcelnl/prestashop/commit/9960ceead70e455d074254df3751fea90141c447)) +* **admin:** fix scripts ([9c4ef00](https://github.com/myparcelnl/prestashop/commit/9c4ef00073465e1de2fac6de45299c7c9a00e2ec)) +* **admin:** improve product settings appearance ([5682b73](https://github.com/myparcelnl/prestashop/commit/5682b7302550bc6bf1b4a9d3922af601f93c13ce)) +* **admin:** improve product settings form ([84714ce](https://github.com/myparcelnl/prestashop/commit/84714cef3e7add58e0d88a2396c809396be1a2c0)) +* **admin:** improve tri state input appearance ([d8186c7](https://github.com/myparcelnl/prestashop/commit/d8186c72674cc634eeb570c581de4d804e4991cf)) +* **admin:** remove required indicators from inputs ([3e5bff7](https://github.com/myparcelnl/prestashop/commit/3e5bff75cbf7bc88b80dde77165819ad5032ddee)) +* **admin:** update components ([8e73009](https://github.com/myparcelnl/prestashop/commit/8e7300947a98eda8440401a59ad9876e4be51b6e)) +* **carriers:** add carrier migration and improve logic ([7e08891](https://github.com/myparcelnl/prestashop/commit/7e08891f0060aeb48cb044a541f376ec9893b2d5)) +* **carrier:** set human as name instead of identifier ([c040806](https://github.com/myparcelnl/prestashop/commit/c0408061a087a3c611f71a94d6b6abfdfaa7044a)) +* **carriers:** fix carriers and payment methods not being linked ([2228f71](https://github.com/myparcelnl/prestashop/commit/2228f7195ae37534d75705d3035a36191c2bb61b)) +* **carriers:** update carrier creation logic ([dee2d3f](https://github.com/myparcelnl/prestashop/commit/dee2d3ff1dbfba3d3ef76aaab77bc2661974f968)) +* **carriers:** update default values ([63d3077](https://github.com/myparcelnl/prestashop/commit/63d30770aab274ae20343b952e11232902f39ca5)) +* **cart:** use correct value for country ([#263](https://github.com/myparcelnl/prestashop/issues/263)) ([7fb25cc](https://github.com/myparcelnl/prestashop/commit/7fb25cc23b9fbbf100d7de9d7c7bc006ef15042f)) +* **checkout:** do not load delivery options script if it's disabled ([713f566](https://github.com/myparcelnl/prestashop/commit/713f5664529e1af3f5fe7a0246a81f34517c3259)) +* **checkout:** fix delivery options not loading in ps 1.7 ([#270](https://github.com/myparcelnl/prestashop/issues/270)) ([11c6a46](https://github.com/myparcelnl/prestashop/commit/11c6a4648a36841ddfcd825170f4dfcb923d632e)) +* **checkout:** fix incorrect shipping price being used in checkout ([#272](https://github.com/myparcelnl/prestashop/issues/272)) ([eebdfd5](https://github.com/myparcelnl/prestashop/commit/eebdfd5d0c7c002a0c3d105a59d561941bf5aad4)) +* **checkout:** fix saving delivery options to cart ([64e9e86](https://github.com/myparcelnl/prestashop/commit/64e9e8668e011be7fc5f37d765ad4ffb2a163750)) +* **checkout:** improve delivery options logic ([6d3fa93](https://github.com/myparcelnl/prestashop/commit/6d3fa93132b582100994431058a8a7067fca5390)) +* **checkout:** remove missing style.css error ([a382771](https://github.com/myparcelnl/prestashop/commit/a382771709dbeac2b148d8b6224c8d8ec4280b6a)) +* **checkout:** retain specific configs when switching carriers ([3d3c223](https://github.com/myparcelnl/prestashop/commit/3d3c223b254237f94281e3f432c32523b58eabd6)) +* **checkout:** update checkout ([7714efd](https://github.com/myparcelnl/prestashop/commit/7714efda7d3a6f5fe5ff559a8180a05c87328746)) +* **checkout:** update checkout hooks ([0297ce0](https://github.com/myparcelnl/prestashop/commit/0297ce0886bf4d7bee3c7bf001dfd4fe0cc8aedb)) +* **core:** improve core module error handling ([b15ed15](https://github.com/myparcelnl/prestashop/commit/b15ed15dad541b50097e9246a8786bab1f849a7d)) +* **database:** allow creating index to fail if sql functionality is not supported ([6550654](https://github.com/myparcelnl/prestashop/commit/6550654446073e17d5abf4363855c8eacc70ad20)) +* **database:** fix creating indexes on certain db drivers ([fbbc611](https://github.com/myparcelnl/prestashop/commit/fbbc6114acfdbfd1d46a82e5946d17823cdd92fc)) +* **database:** fix database indexes and keys ([5ddb09d](https://github.com/myparcelnl/prestashop/commit/5ddb09da348ae4075d8485e9a631c07d5e93212f)) +* **database:** only create indexes if they do not exist ([33b89fd](https://github.com/myparcelnl/prestashop/commit/33b89fd5c5f177450abdc52660971b073eb42a58)) +* **deps:** upgrade myparcelnl/pdk to v2.30.3 ([26c6bc5](https://github.com/myparcelnl/prestashop/commit/26c6bc5f7f688d0f4a2c954be39597b55cc5285c)) +* **deps:** upgrade myparcelnl/pdk to v2.30.4 ([217c239](https://github.com/myparcelnl/prestashop/commit/217c239d6a8a3177b989e6028dff815759ef0ed2)) +* **deps:** upgrade myparcelnl/pdk to v2.31.2 ([2309ea4](https://github.com/myparcelnl/prestashop/commit/2309ea4292b79a84648c4c5a63945a904660e0cf)) +* **entity:** update entities ([5d415e8](https://github.com/myparcelnl/prestashop/commit/5d415e827ea150b4bdc428cd8e79fd5c08a896b2)) +* fix di container in production mode ([49874fc](https://github.com/myparcelnl/prestashop/commit/49874fc2844140620cd7614a7c0b81be805b5a71)) +* fix error when exception has no previous exception ([#260](https://github.com/myparcelnl/prestashop/issues/260)) ([68f051f](https://github.com/myparcelnl/prestashop/commit/68f051ff0f6b847ad21f99879866da0a0e6e8efa)) +* fix error when loading webhook subscriptions ([7fab71c](https://github.com/myparcelnl/prestashop/commit/7fab71c716a615bf0a7794236a7928ecc5c38fa4)) +* fix namespace error when installing module ([#246](https://github.com/myparcelnl/prestashop/issues/246)) ([cf3c9e4](https://github.com/myparcelnl/prestashop/commit/cf3c9e4b9b0f27b92101525b301e87f0fbbd9d7a)), closes [#242](https://github.com/myparcelnl/prestashop/issues/242) +* fix path to log directory ([0bef829](https://github.com/myparcelnl/prestashop/commit/0bef82920db1b0d6b2eb2e64b88a44f408a870b2)) +* fix php errors ([8ab2f49](https://github.com/myparcelnl/prestashop/commit/8ab2f4912d353158c87793c233a0d646295fa6fe)) +* **fulfilment:** add order notes ([e14fa32](https://github.com/myparcelnl/prestashop/commit/e14fa3201ee282301c8f484cf01e6bd6451afdf6)) +* improve entities ([275265e](https://github.com/myparcelnl/prestashop/commit/275265e8e44c08e1f6a999a45585f88038ed6946)) +* improve entities and carrier logic ([b61d197](https://github.com/myparcelnl/prestashop/commit/b61d1970fcc916ee1648fe5500da850e4f8eec6e)) +* improve installation logging ([056aca4](https://github.com/myparcelnl/prestashop/commit/056aca45fbd7dd09615a54239eee1ea7a9343242)) +* improve stability of installation flow ([8db8654](https://github.com/myparcelnl/prestashop/commit/8db8654183849a9472a5402d916c2f63ad149622)) +* include state code in address for ups ([#276](https://github.com/myparcelnl/prestashop/issues/276)) ([e89a2f5](https://github.com/myparcelnl/prestashop/commit/e89a2f5da8847c336443ef5090f3bf4e90ac7d65)) +* increase max ps version to 8.2 ([ffb2732](https://github.com/myparcelnl/prestashop/commit/ffb27329aa9a7e82325fdb90eae5b732f57f7db8)) +* install module tab correctly ([19d3b33](https://github.com/myparcelnl/prestashop/commit/19d3b33681c794ce343a6715c8ec0de4cf837073)) +* **installer:** clear sf2 cache on install ([533cda0](https://github.com/myparcelnl/prestashop/commit/533cda0cf53c0b014033e2030f833c7aea172a02)) +* **installer:** fix prestashop context error on install ([003ca3b](https://github.com/myparcelnl/prestashop/commit/003ca3b5e7e2d64afbaf561b867b931eb7301f42)) +* **installer:** prepare the ps entity manager before starting ([016c9ee](https://github.com/myparcelnl/prestashop/commit/016c9eee806c18cf642203687855cff26bc3198e)) +* **installer:** properly delete account on uninstall ([bdf1d3a](https://github.com/myparcelnl/prestashop/commit/bdf1d3ae22e630ae67705dbe0ab8c49d5f8c4807)) +* **installer:** save the installed version to database ([3f067f0](https://github.com/myparcelnl/prestashop/commit/3f067f0270ca308eea2085b46cb79d320bc9417f)) +* **install:** fix upgrading from older versions ([#245](https://github.com/myparcelnl/prestashop/issues/245)) ([ae3b626](https://github.com/myparcelnl/prestashop/commit/ae3b6267774fafd28cd1d4c192b70583ab31ef9b)), closes [#243](https://github.com/myparcelnl/prestashop/issues/243) +* **logger:** fix logger ([3ef0b51](https://github.com/myparcelnl/prestashop/commit/3ef0b51098f4083082e801fde132bd5a4f627254)) +* **logging:** improve logging ([0caa9ef](https://github.com/myparcelnl/prestashop/commit/0caa9ef8f506ef8c64412725c5c8a0524099acf6)) +* **logging:** include context in logs ([fc0723e](https://github.com/myparcelnl/prestashop/commit/fc0723e16a8a186ef810e759a0ac313ccfde02f7)) +* **logging:** update log format ([e015767](https://github.com/myparcelnl/prestashop/commit/e0157674411be63b2425d5eb00bd568cc3793249)) +* **migration:** fix db constraint errors in migrations ([7ebc855](https://github.com/myparcelnl/prestashop/commit/7ebc8552dc36fe43806ab7f535ca8594629193ae)) +* **migration:** fix errors when invalid db data is returned ([#252](https://github.com/myparcelnl/prestashop/issues/252)) ([00bc56e](https://github.com/myparcelnl/prestashop/commit/00bc56ef4c3bc1d9da93f6ba49757a42399704b7)) +* **migration:** fix type error ([12f4fad](https://github.com/myparcelnl/prestashop/commit/12f4fadb76867698def878684286bc29fc7d64ba)) +* **migration:** fix type error in product settings migration ([a7a32b2](https://github.com/myparcelnl/prestashop/commit/a7a32b26c8e2397bcb95bb1022952e975fbe2344)), closes [#235](https://github.com/myparcelnl/prestashop/issues/235) +* **migration:** fix type error when input is not an array ([#262](https://github.com/myparcelnl/prestashop/issues/262)) ([d40d6df](https://github.com/myparcelnl/prestashop/commit/d40d6df6c953134975a6fa7143befb59c40f2f9e)) +* **migration:** harden error handling ([b75d277](https://github.com/myparcelnl/prestashop/commit/b75d27797bc6b91cc4a987b807d08cc9483e6d12)) +* **migration:** improve order shipments migration ([f6f3b5e](https://github.com/myparcelnl/prestashop/commit/f6f3b5ee4f66f60f4d4ef6b08f6623d92230555b)) +* **migration:** improve settings migration ([cc9e21c](https://github.com/myparcelnl/prestashop/commit/cc9e21cf8313e8a017561491a013c132951ad09b)) +* **migration:** improve settings migration ([2aa8da9](https://github.com/myparcelnl/prestashop/commit/2aa8da9f35afabc203d4c87003c3f421d715b1de)) +* **migration:** migrate migrations ([0263e9f](https://github.com/myparcelnl/prestashop/commit/0263e9feb1c6ab78fae906b2ec2f29d3da7a34a9)) +* **migration:** prevent $row must be array but bool supplied during installation ([#241](https://github.com/myparcelnl/prestashop/issues/241)) ([b655806](https://github.com/myparcelnl/prestashop/commit/b655806e5f4876abc0c552f81576b0f8f878d8e3)) +* **migration:** run migrations when upgrading ([7534da7](https://github.com/myparcelnl/prestashop/commit/7534da708bbe4af5ec1c30dddff673a03d2677f4)) +* **migrations:** improve migrations ([148fceb](https://github.com/myparcelnl/prestashop/commit/148fcebcb0641ec124a83115aacfa059b5137ac1)) +* **migration:** update and test shipments migration ([f0f33ca](https://github.com/myparcelnl/prestashop/commit/f0f33ca7fadf1c1cad321d8c3523aff5bca716d2)) +* **module:** move settings to dedicated page ([138ed5c](https://github.com/myparcelnl/prestashop/commit/138ed5c7449c7421ec4b5319169ea0f6be649f89)) +* **order:** fix errors caused by missing dates ([54bfc96](https://github.com/myparcelnl/prestashop/commit/54bfc96d9821c35152dbc8f3a1ed43747d58e81d)) +* **order:** fix saving data to orders ([cb3dbd9](https://github.com/myparcelnl/prestashop/commit/cb3dbd9db5cc1e009cd16d5636eec98a7e6dadad)) +* **orders:** fix error when weight is a string ([#261](https://github.com/myparcelnl/prestashop/issues/261)) ([9e844a2](https://github.com/myparcelnl/prestashop/commit/9e844a274d14cb27082f6beca9303ba9b8288751)), closes [#256](https://github.com/myparcelnl/prestashop/issues/256) +* **orders:** move order note logic to order note repository ([9b83b32](https://github.com/myparcelnl/prestashop/commit/9b83b32dab807468cb3dfa0c809239aeeebdbf8c)) +* **orders:** prevent order id type error ([e59ab3c](https://github.com/myparcelnl/prestashop/commit/e59ab3cc0a9e37a5180768a238f7b8e9e63ae0de)) +* **orders:** reset index on collection ([5e92f23](https://github.com/myparcelnl/prestashop/commit/5e92f23ad1bd845ddc9b979fa8afaa89d56d1321)) +* **orders:** throw error on getting nonexistent order ([f0921ee](https://github.com/myparcelnl/prestashop/commit/f0921eea4ee2b618c614b576def372e835ad9674)) +* **orders:** trim whitespace in person field ([2ab31a4](https://github.com/myparcelnl/prestashop/commit/2ab31a497c2f4bb625c6b6fe7e9e564b6c8fa99e)) +* pass dev mode to bootstrapper ([ca5d58b](https://github.com/myparcelnl/prestashop/commit/ca5d58bbd74755d46b762893ac806c3f2df4c3db)) +* prevent integrity constraint violation for notes column ([#259](https://github.com/myparcelnl/prestashop/issues/259)) ([53c5eab](https://github.com/myparcelnl/prestashop/commit/53c5eab599a42e0b243d5201be14a3d7d72c404c)) +* **products:** fix product settings logic and migration ([96734a1](https://github.com/myparcelnl/prestashop/commit/96734a132c7844e66c17b0a875387e2ed7c251e8)) +* **products:** fix saving product settings ([b6e3c89](https://github.com/myparcelnl/prestashop/commit/b6e3c899927fa1d1cd4550c00af92d6007457468)) +* **products:** improve handling of nonexistent products ([#229](https://github.com/myparcelnl/prestashop/issues/229)) ([efd8483](https://github.com/myparcelnl/prestashop/commit/efd84832d21985cf1fc4aa7d290c918ad9ef1dca)), closes [#228](https://github.com/myparcelnl/prestashop/issues/228) +* remove deprecation warning ([ade1951](https://github.com/myparcelnl/prestashop/commit/ade19515e4d105de0778553efb6d4881697285e9)) +* **scripts:** improve script loading logic ([878403a](https://github.com/myparcelnl/prestashop/commit/878403a54f96589b61478b8c97c7b95c4d1b203d)) +* **settings:** improve saving settings ([b313793](https://github.com/myparcelnl/prestashop/commit/b313793d05fe269fb1745573d47f183d9968c7f8)) +* **settings:** remove settings that aren't available ([d413ff1](https://github.com/myparcelnl/prestashop/commit/d413ff1c31315ed76b46e03f625bee293baa09f2)) +* **upgrade:** fix reference to facade class ([b580ffb](https://github.com/myparcelnl/prestashop/commit/b580ffb0735e5b6b7f80264801ae6b8b1327a588)) +* **webhooks:** fix webhooks ([dad3abc](https://github.com/myparcelnl/prestashop/commit/dad3abc175e181661dfa2816e3bdc082f8cf2970)) + + +### :sparkles: New Features + +* **admin:** improve admin component appearance ([e97ccc3](https://github.com/myparcelnl/prestashop/commit/e97ccc362548d486814079cb08aeb15364e04b05)) +* **admin:** improve look of components ([2df8009](https://github.com/myparcelnl/prestashop/commit/2df8009bf016e6e9ecc560215f90ff27b9e90f61)) +* **carriers:** add carrier logos ([1ae56e6](https://github.com/myparcelnl/prestashop/commit/1ae56e6de6f50687dbd0d3a83ca5a135e48219fb)) +* **carriers:** allow changing name and delivery speed texts ([ea19255](https://github.com/myparcelnl/prestashop/commit/ea192553985c81174d70f441687c0a6ff583ff36)) +* **checkout:** calculate shipping costs per carrier ([e03a380](https://github.com/myparcelnl/prestashop/commit/e03a38035696f3bdb5bdfbc289c2245d6014e729)) +* **deps:** upgrade @myparcel-pdk/* ([781600d](https://github.com/myparcelnl/prestashop/commit/781600d35db32249bede54b5ac8df3bda952a2b1)) +* **deps:** upgrade @myparcel-pdk/* ([687ecb3](https://github.com/myparcelnl/prestashop/commit/687ecb393da0ca6da1257ecfed06d7fe91700884)) +* **deps:** upgrade @myparcel-pdk/* ([86a1c1c](https://github.com/myparcelnl/prestashop/commit/86a1c1cfe8cdafe307f03b78659a9a9642e15e04)) +* **deps:** upgrade @myparcel-pdk/* ([2c88f49](https://github.com/myparcelnl/prestashop/commit/2c88f49689d7d0038f99251b0360ccfeb7779349)) +* **deps:** upgrade @myparcel-pdk/* ([36cdc62](https://github.com/myparcelnl/prestashop/commit/36cdc628e9b3f1bc1512bc54f42a0a6295d90444)) +* **deps:** upgrade myparcelnl/pdk to v2.30.2 ([885ead1](https://github.com/myparcelnl/prestashop/commit/885ead10dd6ee0b04a495f2bc35bf6a4fd5ae0c8)) +* **deps:** upgrade myparcelnl/pdk to v2.31.0 ([f830d7b](https://github.com/myparcelnl/prestashop/commit/f830d7b65c1b2d8bf64a8b2f29b785dcf8dffa34)) +* **deps:** upgrade myparcelnl/pdk to v2.33.2 ([1bd9d5d](https://github.com/myparcelnl/prestashop/commit/1bd9d5d9da24d8ea3da7692b36bb702bc4d32e75)) +* **deps:** upgrade myparcelnl/pdk to v2.36.2 ([a1a9a57](https://github.com/myparcelnl/prestashop/commit/a1a9a576ab2d52ee9d9dfb0300d21112f7502940)) +* **deps:** upgrade myparcelnl/pdk to v2.42.0 ([d3f1a78](https://github.com/myparcelnl/prestashop/commit/d3f1a78bcf87a8ef767628ebaa89d82910e9bd09)) +* **deps:** upgrade myparcelnl/pdk to v2.43.5 ([f9b206d](https://github.com/myparcelnl/prestashop/commit/f9b206d2be37a1ceb020c3d1a3213ad4342691e6)) +* **frontend:** allow html in form descriptions ([#257](https://github.com/myparcelnl/prestashop/issues/257)) ([1251164](https://github.com/myparcelnl/prestashop/commit/125116454f3f6db7f2da3e428f9907ea1a780246)) +* **fulfilment:** add order notes ([ae98602](https://github.com/myparcelnl/prestashop/commit/ae986020775968d7c6927aaf5b5339d654488aa7)) +* implement pdk ([c497eb8](https://github.com/myparcelnl/prestashop/commit/c497eb82bbf8f2f1aa4429d43879624e2a2c8bfc)) +* **logging:** improve logging output ([861e713](https://github.com/myparcelnl/prestashop/commit/861e71373b85b8ee4ffcfc29c5c9038e6264dd1a)) +* **order-grid:** add bulk order actions ([53b2a63](https://github.com/myparcelnl/prestashop/commit/53b2a63805e9f3abff782ae1cde46f8ef8d1b405)) +* **order:** implement updating order notes ([935955d](https://github.com/myparcelnl/prestashop/commit/935955dbdf0a8d3a585a11fe8b952f99d227afa9)) +* **orders:** implement automatic order status updates ([9af8725](https://github.com/myparcelnl/prestashop/commit/9af8725a566d0d66555d694f3fc54ce7ec5f1276)) +* **settings:** enable/disable carriers based on settings ([7f558a4](https://github.com/myparcelnl/prestashop/commit/7f558a4c098743c57f318927ff6f09469d276158)) +* **settings:** implement shipping method repository ([045a668](https://github.com/myparcelnl/prestashop/commit/045a66834de52e241d366c1a896dfa04119a94c0)) +* support prestashop 1.7 ([#239](https://github.com/myparcelnl/prestashop/issues/239)) ([b16926c](https://github.com/myparcelnl/prestashop/commit/b16926c1bc1bbe80ac42a313598fe5754e134ca9)), closes [#232](https://github.com/myparcelnl/prestashop/issues/232) +* update to latest delivery options ([#240](https://github.com/myparcelnl/prestashop/issues/240)) ([82064fa](https://github.com/myparcelnl/prestashop/commit/82064fa9bf82e68fc95da73d3e3bd69b734f922b)) +* upgrade to delivery options v6.x ([35d2b05](https://github.com/myparcelnl/prestashop/commit/35d2b059f7839a167b0e3f3db924b141ea0bd116)) + ## [4.0.0-beta.4](https://github.com/myparcelnl/prestashop/compare/v4.0.0-beta.3...v4.0.0-beta.4) (2024-08-07) diff --git a/composer.json b/composer.json index 3f2ff134..f564b45f 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "myparcelnl/prestashop-module", - "version": "4.0.0-beta.4", + "version": "4.0.0", "license": "MIT", "type": "prestashop-module", "require": { diff --git a/package.json b/package.json index d9c57dd8..27dedf86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@myparcel-prestashop/monorepo", - "version": "4.0.0-beta.4", + "version": "4.0.0", "private": true, "repository": "github:myparcelnl/prestashop", "license": "MIT",