diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 2e3c044607..b9eb6a3acf 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -25,9 +25,6 @@ jobs: - name: lint packages run: pnpm run lint - - name: test packages - run: pnpm run test - - name: configure git user run: | git config --local user.email "x@empathy.co" diff --git a/package.json b/package.json index 2278ddf4e0..7693c87263 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test": "lerna run test", "test:unit": "lerna run test:unit", "serve": "lerna run serve", - "prepare-release:stable": "lerna version --conventional-commits --conventional-graduate --no-git-tag-version --yes", + "prepare-release:stable": "lerna version --conventional-commits --conventional-graduate --no-git-tag-version --yes --create-release github", "release:alpha": "lerna publish --conventional-commits --conventional-prerelease --yes --no-push", "publish-release": "node scripts/publish-release", "prepare": "husky install" diff --git a/packages/deep-merge/CHANGELOG.md b/packages/deep-merge/CHANGELOG.md index 95aca5b2c1..73c115f00b 100644 --- a/packages/deep-merge/CHANGELOG.md +++ b/packages/deep-merge/CHANGELOG.md @@ -3,6 +3,73 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 + +### Features + +* **plugin:** minimise initial duplicated requests using a debounce ([3ad1fd4](https://github.com/empathyco/x/commit/3ad1fd4ec949de1f1484919d0165f9e6eaa3d882)), closes [EX-4718](https://searchbroker.atlassian.net/browse/EX-4718) +* update typescript ([73edca6](https://github.com/empathyco/x/commit/73edca61c1cea39d82a7ab94bc18c8bff94c138c)), closes [EX-5367](https://searchbroker.atlassian.net/browse/EX-5367) + + +### Bug Fixes + +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) +* **promoted:** fix name export of PromotedsList component ([e29bc52](https://github.com/empathyco/x/commit/e29bc52d0c82ba85dc013882e5d80674a870de2f)), closes [EX-4484](https://searchbroker.atlassian.net/browse/EX-4484) + + +### Documentation + +* add LICENSE and update package.json ([4006a0f](https://github.com/empathyco/x/commit/4006a0f3fa4beb2c2e2ef59533a170c990791f9f)), closes [EX-3930](https://searchbroker.atlassian.net/browse/EX-3930) + + +### Code Refactoring + +* move `isObject` to `x-utils` ([766c08c](https://github.com/empathyco/x/commit/766c08c60fdc3c0411c29c52e473439f0781fc42)), closes [EX-5791](https://searchbroker.atlassian.net/browse/EX-5791) + + +### Styling + +* add `@empathyco/eslint-plugin-x` to all packages ([e36dc80](https://github.com/empathyco/x/commit/e36dc8022196df4c977045ca2e9a38be17657b83)), closes [EX-4273](https://searchbroker.atlassian.net/browse/EX-4273) +* add pre-commit hooks to run eslint and prettier ([3acc741](https://github.com/empathyco/x/commit/3acc7419b6ece4d7f353d0d1240677271a344bae)), closes [EX-4439](https://searchbroker.atlassian.net/browse/EX-4439) +* update prettier and format code (#1026) ([a18cc17](https://github.com/empathyco/x/commit/a18cc172b6638962d53192905cd466f12bccacac)), closes [EX-7877](https://searchbroker.atlassian.net/browse/EX-7877) + + +### Build System + +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update dependencies ([491f9c5](https://github.com/empathyco/x/commit/491f9c5a27cf5eaa4dc3f31c97ea514bb8f3515b)) +* **eslint:** add `@empathyco/eslint-plugin-x` package ([fbdea4f](https://github.com/empathyco/x/commit/fbdea4fa00b541a72fbcba1d6269b8bd9b992b05)), closes [EX-4211](https://searchbroker.atlassian.net/browse/EX-4211) +* Fix colors.js dependency issue ([2ffcc22](https://github.com/empathyco/x/commit/2ffcc222f5666d7866c8d7cd3a0eec7c0bb1f938)), closes [EX-5293](https://searchbroker.atlassian.net/browse/EX-5293) +* update jest dependencies ([f3fee15](https://github.com/empathyco/x/commit/f3fee157d724292f5cbb7166908d48ef2fb4fe8c)), closes [EX-5027](https://searchbroker.atlassian.net/browse/EX-5027) +* Update TypeScript to 4.3.5.Update TSLib to 2.3.5. ([4cebdfc](https://github.com/empathyco/x/commit/4cebdfc11e1520552a687def3eda1bf0c132e031)), closes [EX-4435](https://searchbroker.atlassian.net/browse/EX-4435) + + +### Continuous Integration + +* Fix publishing in x-components. Normalize build scripts. (#46) ([c3c2f85](https://github.com/empathyco/x/commit/c3c2f8519c0de1b164074e87e68e77ad1af0d702)), closes [EX-4413](https://searchbroker.atlassian.net/browse/EX-4413) +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* parallelize steps (#1174) ([3013595](https://github.com/empathyco/x/commit/3013595857c8dac33f36b2c0d08e747b0735c6a0)) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* restore build workflow (#1194) ([076ee49](https://github.com/empathyco/x/commit/076ee492388ba000ebdfa49d9f4356562c8bef19)) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) +* use matrix steps and jest projects (#919) ([dec53f5](https://github.com/empathyco/x/commit/dec53f5da572a4a5f3c8519222c1ed94ed981967)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## [2.0.0-alpha.3](https://github.com/empathyco/x/compare/@empathyco/x-deep-merge@2.0.0-alpha.2...@empathyco/x-deep-merge@2.0.0-alpha.3) (2023-09-18) **Note:** Version bump only for package @empathyco/x-deep-merge diff --git a/packages/deep-merge/package.json b/packages/deep-merge/package.json index ca8c0daeff..76a5336085 100644 --- a/packages/deep-merge/package.json +++ b/packages/deep-merge/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/x-deep-merge", - "version": "2.0.0-alpha.3", + "version": "2.0.0", "description": "Utility for deep cloning objects.", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", @@ -38,7 +38,7 @@ "test-unit": "jest" }, "dependencies": { - "@empathyco/x-utils": "^1.0.0-alpha.23", + "@empathyco/x-utils": "^1.0.0", "tslib": "~2.5.0" }, "devDependencies": { diff --git a/packages/eslint-plugin-x/CHANGELOG.md b/packages/eslint-plugin-x/CHANGELOG.md index 55080bdff3..249ba3be22 100644 --- a/packages/eslint-plugin-x/CHANGELOG.md +++ b/packages/eslint-plugin-x/CHANGELOG.md @@ -3,6 +3,115 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 +* **facets:** Removed the `setFilter`mutation from `facets` X-Module. Use `mutateFilter` instead. +* **facets:** Modified the `HierarchicalFilter.children` Model type. Now it is an `Array` instead of an array of ids. +* Request types moved to `x-types` package. Change the imports from `x-adapter` to `x-type`. +* Removed `TaggingInfo` type. Use `TaggingRequest` from `@empathyco/x-types` instead. +* **eslint:** Vue config now also extends the recommended config from vuejs-accesibility plugin. +* standard-version dependency has been removed from eslint-plugin-x package +* **facets:** Rename `Filters` component to `FiltersList`. +* **facets:** Remove `MultiSelectFilters` component. Filters are multi-select by default. Apply the `SingleSelectModifier` using the `FilterEntityFactory` to make the desired `Facet` single select. +* **facets:** Refactor `HierarchicalFilter.children` field. Now, this field is a list of the `Filter.ids` of the children filter. All `HierarchicalFilter`s are flattened in the `Facet.filters` list. +* **facets:** Remove `facets` prop in the `Facets` component to provide `Facets` to the state. Use the `FacetsProvider` component instead. +* **facets:** Remove `UserChangedSelectedFilters` event from `Facets` component. Use `FacetsProvider` component instead. +* **facets:** Remove `UserClickedClearFacetFilters` event. `UserClickedClearAllFilters` is emitted instead. Its payload is now a list of `Facet.id`s. +* **facets:** Rename `UserClickedFacetAllFilter` event to `UserClickedAllFilter`. Its payload is now a list of `Facet.id`s. +* **facets:** Remove `BackendFacetsChanged` event. Use `FacetsChanged` event instead. +* **facets:** Remove `BackendFacetsProvided` event. Use `FacetsGroupProvided` instead. +* **facets:** Remove `FrontendFacetsChanged` event. Use `FacetsGroupProvided` instead. +* **facets:** Remove `FacetMultiSelectChanged` event. `Filter`s are multi-select by default. Apply the `SingleSelectModifier` using the `FilterEntityFactory` to make the desired `Facet` single select. +* **facets:** Change `UserModifiedEditableNumberRangeFilter` payload. Now it is the `EditableNumberRangeFilter` filter with the new range value. + +### Features + +* adapt types to support cypress component testing ([7b8e045](https://github.com/empathyco/x/commit/7b8e045f891796b54e03391a562c5f75d4687a65)), closes [EX-3761](https://searchbroker.atlassian.net/browse/EX-3761) +* add `prettier-plugin-tailwindcss` (#1033) ([c3eae8b](https://github.com/empathyco/x/commit/c3eae8bef0a75fa1e78f1190947a74fa9269d6bd)), closes [EX-7884](https://searchbroker.atlassian.net/browse/EX-7884) +* add `vue devtools` plugin to ease `XEvents` and `wiring` visualization (#215) ([bd148ec](https://github.com/empathyco/x/commit/bd148ecb9682f8d4161d278c03f110f8f050d323)), closes [EX-7032](https://searchbroker.atlassian.net/browse/EX-7032) +* **config:** add initial eslint and third-party plugins, prettier and standard-version configurations ([c60d0b6](https://github.com/empathyco/x/commit/c60d0b67e9bc2294ce11a3f96307e7e44fde7f7b)), closes [EX-1946](https://searchbroker.atlassian.net/browse/EX-1946) +* disable `@typescript-eslint/no-extra-parens` rule (#715) ([3718017](https://github.com/empathyco/x/commit/3718017c5528156f931bc8b1f2d208cdb50781ed)), closes [EX-6996](https://searchbroker.atlassian.net/browse/EX-6996) +* disable v-slot-style ([2e8c2d9](https://github.com/empathyco/x/commit/2e8c2d93605b6a694e84c98f955ee7acfdfd35e3)), closes [EX-6284](https://searchbroker.atlassian.net/browse/EX-6284) +* enable `allowWhitespace` in `jsdoc/no-multi-asterisks` (#1029) ([65b0d17](https://github.com/empathyco/x/commit/65b0d1734e1453a56fba67f0e6cb772f9d695452)) +* **eslint:** add `vuejs-accessibility` plugin (#427) ([6789771](https://github.com/empathyco/x/commit/6789771ab88a909552da74095694a4c2a191a51d)), closes [EX-5845](https://searchbroker.atlassian.net/browse/EX-5845) +* extract SessionService to x-utils package ([5268808](https://github.com/empathyco/x/commit/52688087e577dfd7ce9b0669b21ada75ae67053c)) +* **facets:** Move filters flattening from `x-adapter-platform` to `x-components`. (#626) ([2bebaeb](https://github.com/empathyco/x/commit/2bebaeb2863fe794f1b3bea924904651b9302ef6)), closes [EX-6484](https://searchbroker.atlassian.net/browse/EX-6484) +* **facets:** remove old `facets` X Module and replace by `facets-next`. ([a47d99f](https://github.com/empathyco/x/commit/a47d99fd9ccbb046c5a5054a92e723f2675b7563)), closes [EX-3663](https://searchbroker.atlassian.net/browse/EX-3663) +* **import-resolver:** support typescript import resolver ([00a4085](https://github.com/empathyco/x/commit/00a4085be186e1cf28b24091fa214e1929ded07a)), closes [EX-2187](https://searchbroker.atlassian.net/browse/EX-2187) +* Improve tailwindcss types. (#725) ([14dec97](https://github.com/empathyco/x/commit/14dec974174cd18e63cb5f4e9a690a9989de44bc)), closes [EX-6790](https://searchbroker.atlassian.net/browse/EX-6790) +* Minor improvements. (#1109) ([1c9dace](https://github.com/empathyco/x/commit/1c9dacea7c46eb0b27687730a8a4978d0e49b230)), closes [EX-8130](https://searchbroker.atlassian.net/browse/EX-8130) +* move `Request` types to `x-types` package ([7cc85c1](https://github.com/empathyco/x/commit/7cc85c1d371b604b3188d8cc2076eab5fc9460e4)), closes [EX-6066](https://searchbroker.atlassian.net/browse/EX-6066) +* **plugin:** minimise initial duplicated requests using a debounce ([3ad1fd4](https://github.com/empathyco/x/commit/3ad1fd4ec949de1f1484919d0165f9e6eaa3d882)), closes [EX-4718](https://searchbroker.atlassian.net/browse/EX-4718) +* **prettier:** update prettier to version 2.1.2 ([d413f8d](https://github.com/empathyco/x/commit/d413f8deb5f0675b17140fce9d86d0e3b24dd280)), closes [EX-2239](https://searchbroker.atlassian.net/browse/EX-2239) +* **typeguards:** add isPath ([3c23ed0](https://github.com/empathyco/x/commit/3c23ed0c094161d787d24b2327d0884e41531878)), closes [EX-5802](https://searchbroker.atlassian.net/browse/EX-5802) +* update typescript ([73edca6](https://github.com/empathyco/x/commit/73edca61c1cea39d82a7ab94bc18c8bff94c138c)), closes [EX-5367](https://searchbroker.atlassian.net/browse/EX-5367) +* **url:** set `origin` when navigating ([02aa766](https://github.com/empathyco/x/commit/02aa7661a15c3718f4809d094a01b0f684a1f55d)), closes [EX-3541](https://searchbroker.atlassian.net/browse/EX-3541) + + +### Bug Fixes + +* **build:** Fix issue with prettier-plugin-tailwindcss. (#1102) ([b87f274](https://github.com/empathyco/x/commit/b87f2741815e9a6723a997a955a1b18784cb4ed4)), closes [EX-8112](https://searchbroker.atlassian.net/browse/EX-8112) +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) +* **deps:** update dependency @vue/eslint-config-typescript to v11 (#1218) ([dcbaecd](https://github.com/empathyco/x/commit/dcbaecd8bdb585774a5c2a444b9a84d19384ed7b)) +* **remove-deprecation:** remove deprecation on eqeqeq rule and setup Prettier in the project ([e6618a3](https://github.com/empathyco/x/commit/e6618a38505a0a3460a730a0c6ce240add96f360)) + + +### Documentation + +* fix readme to reference the correct package ([0eaa431](https://github.com/empathyco/x/commit/0eaa431f18a08ba078a15b5e374ce27dd8575c96)) + + +### Testing + +* **search:** redefine old search tests ([5142bb5](https://github.com/empathyco/x/commit/5142bb5fb61181f199fa1019cf7c910d9736deb8)), closes [EX-3801](https://searchbroker.atlassian.net/browse/EX-3801) + + +### Styling + +* add pre-commit hooks to run eslint and prettier ([3acc741](https://github.com/empathyco/x/commit/3acc7419b6ece4d7f353d0d1240677271a344bae)), closes [EX-4439](https://searchbroker.atlassian.net/browse/EX-4439) +* update prettier and format code (#1026) ([a18cc17](https://github.com/empathyco/x/commit/a18cc172b6638962d53192905cd466f12bccacac)), closes [EX-7877](https://searchbroker.atlassian.net/browse/EX-7877) + + +### Build System + +* Add `eslint` and `prettier` to `devDependencies` in eslint-plugin-x (#987) ([1013b73](https://github.com/empathyco/x/commit/1013b73436537ea14085456b334a6ec3b54b3767)) +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** bump `@typescript-eslint/parser` (#909) ([9b8d2c4](https://github.com/empathyco/x/commit/9b8d2c4dda760e3d0a14d7098d0d1a521682afe4)) +* **deps:** bump `eslint`, `@typescript-eslint/eslint-plugin` and `eslint-import-resolver-typescript` ([cd63a4b](https://github.com/empathyco/x/commit/cd63a4b8fd7e7c605af86181e55e1e9379d59e95)) +* **deps:** update dependencies ([491f9c5](https://github.com/empathyco/x/commit/491f9c5a27cf5eaa4dc3f31c97ea514bb8f3515b)) +* **deps:** update dependencies (#1024) ([e99425f](https://github.com/empathyco/x/commit/e99425fc315526afe40b1fd536bcfde1fc1af08a)) +* **deps:** update dependencies (#908) ([840da52](https://github.com/empathyco/x/commit/840da52dec32e04cf2b402cca2646b49c839e6e8)) +* **deps:** update deps (#1046) ([b6957df](https://github.com/empathyco/x/commit/b6957df9d88c0d94c2543047991a63afadd707ff)) +* **deps:** update eslint-plugin dependencies (#447) ([51d60f0](https://github.com/empathyco/x/commit/51d60f0e11fa9667a784bbdb10ba1f39159b382f)), closes [EX-5383](https://searchbroker.atlassian.net/browse/EX-5383) +* **deps:** Upgrade Cypress and Vue Cli plugins versions. (#399) ([630d6b0](https://github.com/empathyco/x/commit/630d6b0d767a3484140ecd252e2be10817e0900d)), closes [EX-5417](https://searchbroker.atlassian.net/browse/EX-5417) +* Fix colors.js dependency issue ([2ffcc22](https://github.com/empathyco/x/commit/2ffcc222f5666d7866c8d7cd3a0eec7c0bb1f938)), closes [EX-5293](https://searchbroker.atlassian.net/browse/EX-5293) +* sync duplicated dependencies (#567) ([912e968](https://github.com/empathyco/x/commit/912e9687851594871b3296a5fb26129327939d96)), closes [EX-6412](https://searchbroker.atlassian.net/browse/EX-6412) +* update jest dependencies ([f3fee15](https://github.com/empathyco/x/commit/f3fee157d724292f5cbb7166908d48ef2fb4fe8c)), closes [EX-5027](https://searchbroker.atlassian.net/browse/EX-5027) +* upgrade dependencies ([b1d0e5d](https://github.com/empathyco/x/commit/b1d0e5df03cd48f3bb285830943bddf9bdc17acf)), closes [EX-4506](https://searchbroker.atlassian.net/browse/EX-4506) +* use 2 different versions of search-types ([5a6ac76](https://github.com/empathyco/x/commit/5a6ac76fea26c0f284904d4f514a1370b7c6184b)), closes [EX-4477](https://searchbroker.atlassian.net/browse/EX-4477) + + +### Continuous Integration + +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) +* remove standard-version from eslint-plugin-x ([256c9d0](https://github.com/empathyco/x/commit/256c9d051ca1d36cf465fa4ca9a00dfc1d986ae7)), closes [EX-5526](https://searchbroker.atlassian.net/browse/EX-5526) + + + ## [2.0.0-alpha.38](https://github.com/empathyco/x/compare/@empathyco/eslint-plugin-x@2.0.0-alpha.37...@empathyco/eslint-plugin-x@2.0.0-alpha.38) (2023-06-14) diff --git a/packages/eslint-plugin-x/package.json b/packages/eslint-plugin-x/package.json index a2470519c9..76f85eb73c 100644 --- a/packages/eslint-plugin-x/package.json +++ b/packages/eslint-plugin-x/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/eslint-plugin-x", - "version": "2.0.0-alpha.38", + "version": "2.0.0", "description": "ESLint and Prettier rules and configurations", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", diff --git a/packages/jest-utils/CHANGELOG.md b/packages/jest-utils/CHANGELOG.md index 97a5c11dfc..631e78ca99 100644 --- a/packages/jest-utils/CHANGELOG.md +++ b/packages/jest-utils/CHANGELOG.md @@ -3,6 +3,64 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 + +### Features + +* **plugin:** minimise initial duplicated requests using a debounce ([3ad1fd4](https://github.com/empathyco/x/commit/3ad1fd4ec949de1f1484919d0165f9e6eaa3d882)), closes [EX-4718](https://searchbroker.atlassian.net/browse/EX-4718) +* update typescript ([73edca6](https://github.com/empathyco/x/commit/73edca61c1cea39d82a7ab94bc18c8bff94c138c)), closes [EX-5367](https://searchbroker.atlassian.net/browse/EX-5367) + + +### Bug Fixes + +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) + + +### Documentation + +* add `LICENSE` and update `package.json` ([836ba28](https://github.com/empathyco/x/commit/836ba287dab3a04181658ff5150ea62264038cc8)), closes [EX-3932](https://searchbroker.atlassian.net/browse/EX-3932) + + +### Styling + +* add pre-commit hooks to run eslint and prettier ([3acc741](https://github.com/empathyco/x/commit/3acc7419b6ece4d7f353d0d1240677271a344bae)), closes [EX-4439](https://searchbroker.atlassian.net/browse/EX-4439) + + +### Build System + +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update eslint-plugin dependencies (#447) ([51d60f0](https://github.com/empathyco/x/commit/51d60f0e11fa9667a784bbdb10ba1f39159b382f)), closes [EX-5383](https://searchbroker.atlassian.net/browse/EX-5383) +* Fix colors.js dependency issue ([2ffcc22](https://github.com/empathyco/x/commit/2ffcc222f5666d7866c8d7cd3a0eec7c0bb1f938)), closes [EX-5293](https://searchbroker.atlassian.net/browse/EX-5293) +* update jest dependencies ([f3fee15](https://github.com/empathyco/x/commit/f3fee157d724292f5cbb7166908d48ef2fb4fe8c)), closes [EX-5027](https://searchbroker.atlassian.net/browse/EX-5027) +* Update TypeScript to 4.3.5.Update TSLib to 2.3.5. ([4cebdfc](https://github.com/empathyco/x/commit/4cebdfc11e1520552a687def3eda1bf0c132e031)), closes [EX-4435](https://searchbroker.atlassian.net/browse/EX-4435) +* use 2 different versions of search-types ([5a6ac76](https://github.com/empathyco/x/commit/5a6ac76fea26c0f284904d4f514a1370b7c6184b)), closes [EX-4477](https://searchbroker.atlassian.net/browse/EX-4477) + + +### Continuous Integration + +* **eslint:** add dependency (#52) ([080aa2c](https://github.com/empathyco/x/commit/080aa2ccb6065f969b08574723effa81f8b123c6)), closes [EX-4317](https://searchbroker.atlassian.net/browse/EX-4317) +* Fix publishing in x-components. Normalize build scripts. (#46) ([c3c2f85](https://github.com/empathyco/x/commit/c3c2f8519c0de1b164074e87e68e77ad1af0d702)), closes [EX-4413](https://searchbroker.atlassian.net/browse/EX-4413) +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* restore build workflow (#1194) ([076ee49](https://github.com/empathyco/x/commit/076ee492388ba000ebdfa49d9f4356562c8bef19)) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## [2.0.0-alpha.5](https://github.com/empathyco/x/compare/@empathyco/x-jest-utils@2.0.0-alpha.4...@empathyco/x-jest-utils@2.0.0-alpha.5) (2023-06-06) **Note:** Version bump only for package @empathyco/x-jest-utils diff --git a/packages/jest-utils/package.json b/packages/jest-utils/package.json index be82a59e58..6c4832c491 100644 --- a/packages/jest-utils/package.json +++ b/packages/jest-utils/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/x-jest-utils", - "version": "2.0.0-alpha.5", + "version": "2.0.0", "description": "Jest extensions for easier testing", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md index b8d6908865..b8fc1c56e2 100644 --- a/packages/logger/CHANGELOG.md +++ b/packages/logger/CHANGELOG.md @@ -3,6 +3,65 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 + +### Features + +* **plugin:** minimise initial duplicated requests using a debounce ([3ad1fd4](https://github.com/empathyco/x/commit/3ad1fd4ec949de1f1484919d0165f9e6eaa3d882)), closes [EX-4718](https://searchbroker.atlassian.net/browse/EX-4718) +* update typescript ([73edca6](https://github.com/empathyco/x/commit/73edca61c1cea39d82a7ab94bc18c8bff94c138c)), closes [EX-5367](https://searchbroker.atlassian.net/browse/EX-5367) + + +### Bug Fixes + +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) + + +### Documentation + +* Add LICENSE and README files (#12) ([98a8075](https://github.com/empathyco/x/commit/98a80756a3bcf686922e61ac23edeb7d3e0c8595)), closes [EX-3909](https://searchbroker.atlassian.net/browse/EX-3909) + + +### Styling + +* add `@empathyco/eslint-plugin-x` to all packages ([e36dc80](https://github.com/empathyco/x/commit/e36dc8022196df4c977045ca2e9a38be17657b83)), closes [EX-4273](https://searchbroker.atlassian.net/browse/EX-4273) +* add pre-commit hooks to run eslint and prettier ([3acc741](https://github.com/empathyco/x/commit/3acc7419b6ece4d7f353d0d1240677271a344bae)), closes [EX-4439](https://searchbroker.atlassian.net/browse/EX-4439) + + +### Build System + +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update dependencies ([491f9c5](https://github.com/empathyco/x/commit/491f9c5a27cf5eaa4dc3f31c97ea514bb8f3515b)) +* Fix colors.js dependency issue ([2ffcc22](https://github.com/empathyco/x/commit/2ffcc222f5666d7866c8d7cd3a0eec7c0bb1f938)), closes [EX-5293](https://searchbroker.atlassian.net/browse/EX-5293) +* update jest dependencies ([f3fee15](https://github.com/empathyco/x/commit/f3fee157d724292f5cbb7166908d48ef2fb4fe8c)), closes [EX-5027](https://searchbroker.atlassian.net/browse/EX-5027) +* Update TypeScript to 4.3.5.Update TSLib to 2.3.5. ([4cebdfc](https://github.com/empathyco/x/commit/4cebdfc11e1520552a687def3eda1bf0c132e031)), closes [EX-4435](https://searchbroker.atlassian.net/browse/EX-4435) + + +### Continuous Integration + +* Fix publishing in x-components. Normalize build scripts. (#46) ([c3c2f85](https://github.com/empathyco/x/commit/c3c2f8519c0de1b164074e87e68e77ad1af0d702)), closes [EX-4413](https://searchbroker.atlassian.net/browse/EX-4413) +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* parallelize steps (#1174) ([3013595](https://github.com/empathyco/x/commit/3013595857c8dac33f36b2c0d08e747b0735c6a0)) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* restore build workflow (#1194) ([076ee49](https://github.com/empathyco/x/commit/076ee492388ba000ebdfa49d9f4356562c8bef19)) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) +* use matrix steps and jest projects (#919) ([dec53f5](https://github.com/empathyco/x/commit/dec53f5da572a4a5f3c8519222c1ed94ed981967)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## [2.0.0-alpha.6](https://github.com/empathyco/x/compare/@empathyco/x-logger@2.0.0-alpha.5...@empathyco/x-logger@2.0.0-alpha.6) (2023-06-27) **Note:** Version bump only for package @empathyco/x-logger diff --git a/packages/logger/package.json b/packages/logger/package.json index c72d3d0ebe..f8ba9672e2 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/x-logger", - "version": "2.0.0-alpha.6", + "version": "2.0.0", "description": "Empathy simple logger", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", diff --git a/packages/react-wrapper/CHANGELOG.md b/packages/react-wrapper/CHANGELOG.md index 3fb609234f..43f88ad1e3 100644 --- a/packages/react-wrapper/CHANGELOG.md +++ b/packages/react-wrapper/CHANGELOG.md @@ -3,6 +3,85 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 4.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 +* **facets:** Rename `Filters` component to `FiltersList`. +* **facets:** Remove `MultiSelectFilters` component. Filters are multi-select by default. Apply the `SingleSelectModifier` using the `FilterEntityFactory` to make the desired `Facet` single select. +* **facets:** Refactor `HierarchicalFilter.children` field. Now, this field is a list of the `Filter.ids` of the children filter. All `HierarchicalFilter`s are flattened in the `Facet.filters` list. +* **facets:** Remove `facets` prop in the `Facets` component to provide `Facets` to the state. Use the `FacetsProvider` component instead. +* **facets:** Remove `UserChangedSelectedFilters` event from `Facets` component. Use `FacetsProvider` component instead. +* **facets:** Remove `UserClickedClearFacetFilters` event. `UserClickedClearAllFilters` is emitted instead. Its payload is now a list of `Facet.id`s. +* **facets:** Rename `UserClickedFacetAllFilter` event to `UserClickedAllFilter`. Its payload is now a list of `Facet.id`s. +* **facets:** Remove `BackendFacetsChanged` event. Use `FacetsChanged` event instead. +* **facets:** Remove `BackendFacetsProvided` event. Use `FacetsGroupProvided` instead. +* **facets:** Remove `FrontendFacetsChanged` event. Use `FacetsGroupProvided` instead. +* **facets:** Remove `FacetMultiSelectChanged` event. `Filter`s are multi-select by default. Apply the `SingleSelectModifier` using the `FilterEntityFactory` to make the desired `Facet` single select. +* **facets:** Change `UserModifiedEditableNumberRangeFilter` payload. Now it is the `EditableNumberRangeFilter` filter with the new range value. + +### Features + +* disable `@typescript-eslint/no-extra-parens` rule (#715) ([3718017](https://github.com/empathyco/x/commit/3718017c5528156f931bc8b1f2d208cdb50781ed)), closes [EX-6996](https://searchbroker.atlassian.net/browse/EX-6996) +* **facets-next:** add `HierarchicalFilterEntity` (#75) ([d633721](https://github.com/empathyco/x/commit/d633721b6c795ee9145925d366216edd616b0807)), closes [EX-4354](https://searchbroker.atlassian.net/browse/EX-4354) +* **facets-next:** add `SimpleFilterEntity` ([9b551a4](https://github.com/empathyco/x/commit/9b551a41d6e67c64942cfe26051a06ce7dc91a65)), closes [EX-4352](https://searchbroker.atlassian.net/browse/EX-4352) +* **facets:** remove old `facets` X Module and replace by `facets-next`. ([a47d99f](https://github.com/empathyco/x/commit/a47d99fd9ccbb046c5a5054a92e723f2675b7563)), closes [EX-3663](https://searchbroker.atlassian.net/browse/EX-3663) +* **plugin:** minimise initial duplicated requests using a debounce ([3ad1fd4](https://github.com/empathyco/x/commit/3ad1fd4ec949de1f1484919d0165f9e6eaa3d882)), closes [EX-4718](https://searchbroker.atlassian.net/browse/EX-4718) +* **plugin:** replace old bus implementation using the new `x-priority-bus` (#1086) ([f64f9b6](https://github.com/empathyco/x/commit/f64f9b68225c4ee422eb007784e0eec813c95228)), closes [EX-7283](https://searchbroker.atlassian.net/browse/EX-7283) +* replace `parcel` with `vite` (#739) ([7720502](https://github.com/empathyco/x/commit/7720502abfdee009506f4478ba3d71ea76051cb1)) +* update typescript ([73edca6](https://github.com/empathyco/x/commit/73edca61c1cea39d82a7ab94bc18c8bff94c138c)), closes [EX-5367](https://searchbroker.atlassian.net/browse/EX-5367) + + +### Bug Fixes + +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) + + +### Styling + +* add pre-commit hooks to run eslint and prettier ([3acc741](https://github.com/empathyco/x/commit/3acc7419b6ece4d7f353d0d1240677271a344bae)), closes [EX-4439](https://searchbroker.atlassian.net/browse/EX-4439) + + +### Testing + +* **e2e:** update `cypress` to version `12.1.0` and replace `cypress-cucumber-preprocessor` with `@badeball/cypress-cucumber-preprocessor` (#747) ([2adb2cd](https://github.com/empathyco/x/commit/2adb2cd03591c37934fb385b120822ef271c359f)) + + +### Build System + +* **dependencies:** fix Vue & Vuex versions (#686) ([177e851](https://github.com/empathyco/x/commit/177e8511f4458fa13c627210cdfbbf6d42a85b17)), closes [EX-6918](https://searchbroker.atlassian.net/browse/EX-6918) +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update `vue` to version `2.7` (#971) ([09fb0fe](https://github.com/empathyco/x/commit/09fb0fe5dbef020565571a4fafc89d2aac544c8e)), closes [EX-7730](https://searchbroker.atlassian.net/browse/EX-7730) +* **deps:** update dependencies ([491f9c5](https://github.com/empathyco/x/commit/491f9c5a27cf5eaa4dc3f31c97ea514bb8f3515b)) +* **deps:** update dependencies (#1024) ([e99425f](https://github.com/empathyco/x/commit/e99425fc315526afe40b1fd536bcfde1fc1af08a)) +* **deps:** Upgrade Cypress and Vue Cli plugins versions. (#399) ([630d6b0](https://github.com/empathyco/x/commit/630d6b0d767a3484140ecd252e2be10817e0900d)), closes [EX-5417](https://searchbroker.atlassian.net/browse/EX-5417) +* Fix colors.js dependency issue ([2ffcc22](https://github.com/empathyco/x/commit/2ffcc222f5666d7866c8d7cd3a0eec7c0bb1f938)), closes [EX-5293](https://searchbroker.atlassian.net/browse/EX-5293) +* update jest dependencies ([f3fee15](https://github.com/empathyco/x/commit/f3fee157d724292f5cbb7166908d48ef2fb4fe8c)), closes [EX-5027](https://searchbroker.atlassian.net/browse/EX-5027) +* Update TypeScript to 4.3.5.Update TSLib to 2.3.5. ([4cebdfc](https://github.com/empathyco/x/commit/4cebdfc11e1520552a687def3eda1bf0c132e031)), closes [EX-4435](https://searchbroker.atlassian.net/browse/EX-4435) +* upgrade dependencies ([b1d0e5d](https://github.com/empathyco/x/commit/b1d0e5df03cd48f3bb285830943bddf9bdc17acf)), closes [EX-4506](https://searchbroker.atlassian.net/browse/EX-4506) + + +### Continuous Integration + +* make Cypress cache depend on package. Make eslint cache restore last version if no exact match. ([2498972](https://github.com/empathyco/x/commit/24989726d8e5c6c3450b344fbbc623a3f7246b53)), closes [EX-7721](https://searchbroker.atlassian.net/browse/EX-7721) +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) +* use matrix steps and jest projects (#919) ([dec53f5](https://github.com/empathyco/x/commit/dec53f5da572a4a5f3c8519222c1ed94ed981967)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## [4.0.0-alpha.31](https://github.com/empathyco/x/compare/@empathyco/x-react-wrapper@4.0.0-alpha.30...@empathyco/x-react-wrapper@4.0.0-alpha.31) (2023-09-22) **Note:** Version bump only for package @empathyco/x-react-wrapper diff --git a/packages/react-wrapper/package.json b/packages/react-wrapper/package.json index f60d47719f..2827b9ca62 100644 --- a/packages/react-wrapper/package.json +++ b/packages/react-wrapper/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/x-react-wrapper", - "version": "4.0.0-alpha.31", + "version": "4.0.0", "description": "A proxy that transforms Vue components into React ones", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", diff --git a/packages/storage-service/CHANGELOG.md b/packages/storage-service/CHANGELOG.md index 77097e0151..d08bc8649b 100644 --- a/packages/storage-service/CHANGELOG.md +++ b/packages/storage-service/CHANGELOG.md @@ -3,6 +3,68 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 +* **storage-service:** `StorageService` has been renamed to `BrowserStorageService`. + +### Features + +* disable `@typescript-eslint/no-extra-parens` rule (#715) ([3718017](https://github.com/empathyco/x/commit/3718017c5528156f931bc8b1f2d208cdb50781ed)), closes [EX-6996](https://searchbroker.atlassian.net/browse/EX-6996) +* **plugin:** minimise initial duplicated requests using a debounce ([3ad1fd4](https://github.com/empathyco/x/commit/3ad1fd4ec949de1f1484919d0165f9e6eaa3d882)), closes [EX-4718](https://searchbroker.atlassian.net/browse/EX-4718) +* **storage-service:** Rename `StorageService` to `BrowserStorageService` ([6bf38fb](https://github.com/empathyco/x/commit/6bf38fb7d14323c84c949e21eaa9c692fb0014d7)), closes [EX-5073](https://searchbroker.atlassian.net/browse/EX-5073) +* update typescript ([73edca6](https://github.com/empathyco/x/commit/73edca61c1cea39d82a7ab94bc18c8bff94c138c)), closes [EX-5367](https://searchbroker.atlassian.net/browse/EX-5367) + + +### Bug Fixes + +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) + + +### Documentation + +* Add LICENSE and update package.json files ([b5760b0](https://github.com/empathyco/x/commit/b5760b098e158d6f8c2fb4696faf4ec42df21c83)), closes [EX-3931](https://searchbroker.atlassian.net/browse/EX-3931) + + +### Styling + +* add `@empathyco/eslint-plugin-x` to all packages ([e36dc80](https://github.com/empathyco/x/commit/e36dc8022196df4c977045ca2e9a38be17657b83)), closes [EX-4273](https://searchbroker.atlassian.net/browse/EX-4273) +* add pre-commit hooks to run eslint and prettier ([3acc741](https://github.com/empathyco/x/commit/3acc7419b6ece4d7f353d0d1240677271a344bae)), closes [EX-4439](https://searchbroker.atlassian.net/browse/EX-4439) + + +### Build System + +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update dependencies ([491f9c5](https://github.com/empathyco/x/commit/491f9c5a27cf5eaa4dc3f31c97ea514bb8f3515b)) +* Fix colors.js dependency issue ([2ffcc22](https://github.com/empathyco/x/commit/2ffcc222f5666d7866c8d7cd3a0eec7c0bb1f938)), closes [EX-5293](https://searchbroker.atlassian.net/browse/EX-5293) +* update jest dependencies ([f3fee15](https://github.com/empathyco/x/commit/f3fee157d724292f5cbb7166908d48ef2fb4fe8c)), closes [EX-5027](https://searchbroker.atlassian.net/browse/EX-5027) +* Update TypeScript to 4.3.5.Update TSLib to 2.3.5. ([4cebdfc](https://github.com/empathyco/x/commit/4cebdfc11e1520552a687def3eda1bf0c132e031)), closes [EX-4435](https://searchbroker.atlassian.net/browse/EX-4435) + + +### Continuous Integration + +* Fix publishing in x-components. Normalize build scripts. (#46) ([c3c2f85](https://github.com/empathyco/x/commit/c3c2f8519c0de1b164074e87e68e77ad1af0d702)), closes [EX-4413](https://searchbroker.atlassian.net/browse/EX-4413) +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* parallelize steps (#1174) ([3013595](https://github.com/empathyco/x/commit/3013595857c8dac33f36b2c0d08e747b0735c6a0)) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* restore build workflow (#1194) ([076ee49](https://github.com/empathyco/x/commit/076ee492388ba000ebdfa49d9f4356562c8bef19)) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) +* use matrix steps and jest projects (#919) ([dec53f5](https://github.com/empathyco/x/commit/dec53f5da572a4a5f3c8519222c1ed94ed981967)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## [2.0.0-alpha.15](https://github.com/empathyco/x/compare/@empathyco/x-storage-service@2.0.0-alpha.14...@empathyco/x-storage-service@2.0.0-alpha.15) (2023-06-27) **Note:** Version bump only for package @empathyco/x-storage-service diff --git a/packages/storage-service/package.json b/packages/storage-service/package.json index f1c702b9f9..a2cc7563c6 100644 --- a/packages/storage-service/package.json +++ b/packages/storage-service/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/x-storage-service", - "version": "2.0.0-alpha.15", + "version": "2.0.0", "description": "Storage service with TTL", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", diff --git a/packages/x-adapter-platform/CHANGELOG.md b/packages/x-adapter-platform/CHANGELOG.md index 0a1a64e020..4360a9c678 100644 --- a/packages/x-adapter-platform/CHANGELOG.md +++ b/packages/x-adapter-platform/CHANGELOG.md @@ -3,6 +3,108 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 +* MutableSchema now receives a Source and a Target object instead of a Schema +* $replace, $extends and $override function types now reflect the allowed operations more correctly. +* **facets:** Removed the `setFilter`mutation from `facets` X-Module. Use `mutateFilter` instead. +* **facets:** Modified the `HierarchicalFilter.children` Model type. Now it is an `Array` instead of an array of ids. +* Request types moved to `x-types` package. Change the imports from `x-adapter` to `x-type`. +* Removed `TaggingInfo` type. Use `TaggingRequest` from `@empathyco/x-types` instead. + +### Features + +* Adapt Result mapping according to new API standard (#1039) ([89186b6](https://github.com/empathyco/x/commit/89186b604d72f18bce257b88b536243c11c5ddf3)) +* **adapter:** add mapping for keywords when there's no title_raw (#1236) ([5b1ce10](https://github.com/empathyco/x/commit/5b1ce10eb48cd5a48c41e88fe35f3321e5be516d)) +* **adapter:** disable cancel http client (#658) ([3b5b86d](https://github.com/empathyco/x/commit/3b5b86d4725edefa084181a704df716a389eecbc)), closes [EX-6875](https://searchbroker.atlassian.net/browse/EX-6875) +* Add facets type field on Platform adapter (#784) ([96b97a8](https://github.com/empathyco/x/commit/96b97a88b98a785d5e491b75c85e90ac11261f29)), closes [EX-6373](https://searchbroker.atlassian.net/browse/EX-6373) +* add position on Banner and Promoted models (#800) ([e7393fb](https://github.com/empathyco/x/commit/e7393fbce8d0767d3c762aa714fe94e162203a12)), closes [EX-7293](https://searchbroker.atlassian.net/browse/EX-7293) +* add query suggestions (#528) ([bb9509f](https://github.com/empathyco/x/commit/bb9509f13f5ce6e37328d9c846fdad6278ddc861)) +* **banners:** add tagging info banners in platform adapter (#823) ([71bd570](https://github.com/empathyco/x/commit/71bd5702b963c41a2cd75e719aad9976ec2180b0)) +* change endpoint adapter ids in platform adapter (#616) ([ad630cf](https://github.com/empathyco/x/commit/ad630cfe29027972d9c0e3dc1f82889b4b01c700)), closes [EX-6662](https://searchbroker.atlassian.net/browse/EX-6662) +* default implementation ([3df8522](https://github.com/empathyco/x/commit/3df85225375f20c9c2808bdd4d885b3c7a62db6a)), closes [EX-5983](https://searchbroker.atlassian.net/browse/EX-5983) +* **endpoint-adapters:** add `internal` field to all `requests` but `tagging` (#1016) ([d718bc1](https://github.com/empathyco/x/commit/d718bc1a2b0449fc8d41f8d23cbb882adad3d8eb)), closes [EX-7780](https://searchbroker.atlassian.net/browse/EX-7780) +* experience controls adapter tests ([27de0ce](https://github.com/empathyco/x/commit/27de0ce41887b50ec7c37f87685f335f374c59ff)) +* **experience-controls:** experience controls module and adapter (#1307) ([6ae3f6b](https://github.com/empathyco/x/commit/6ae3f6b3d537910781dbfebf3b2e670eff391911)) +* **facets:** Move filters flattening from `x-adapter-platform` to `x-components`. (#626) ([2bebaeb](https://github.com/empathyco/x/commit/2bebaeb2863fe794f1b3bea924904651b9302ef6)), closes [EX-6484](https://searchbroker.atlassian.net/browse/EX-6484) +* move `Request` types to `x-types` package ([7cc85c1](https://github.com/empathyco/x/commit/7cc85c1d371b604b3188d8cc2076eab5fc9460e4)), closes [EX-6066](https://searchbroker.atlassian.net/browse/EX-6066) +* **platform-adapter:** add semantic queries to platform adapter (#1212) ([82bd567](https://github.com/empathyco/x/commit/82bd56704638b050e323d486c43ebcb8cae1d41d)) +* remove old adapter package and use the new one (#568) ([1632a59](https://github.com/empathyco/x/commit/1632a594b6905e6403c82b2189300eefd45b3691)), closes [EX-6286](https://searchbroker.atlassian.net/browse/EX-6286) +* **search:** add partial results support (#580) ([68922b8](https://github.com/empathyco/x/commit/68922b8e46495438131ce26b506670f7e7993ea0)), closes [EX-6465](https://searchbroker.atlassian.net/browse/EX-6465) +* **tagging:** add fallback for displayId (#1235) ([8fa9512](https://github.com/empathyco/x/commit/8fa95120b7fdccaf430824ab9570c7ad43cd0539)) +* **tagging:** track displayClick properties in result & tagging request (#1225) ([53a209e](https://github.com/empathyco/x/commit/53a209e5c9719a8ba0cff21f5d8d52b0dfe70c6d)) +* update tagging from banners and promoteds (#1274) ([4dd4666](https://github.com/empathyco/x/commit/4dd4666304e76a095d030e36be45590f913d1ad3)) +* **x-adapter:** Add `sendParamsInBody` option to `RequestOptions` (#577) ([9d04e6e](https://github.com/empathyco/x/commit/9d04e6eb7ceed81aeca4215db6e8302f0ab3705a)), closes [EX-6450](https://searchbroker.atlassian.net/browse/EX-6450) + + +### Bug Fixes + +* **adapter-platform:** fix objectFilter import in semantic queries schema (#1216) ([361baca](https://github.com/empathyco/x/commit/361baca52208924fd513cccd48ca8311f4c04716)) +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) +* **filters:** Editable number range filter should be unique (#1243) ([ec8b788](https://github.com/empathyco/x/commit/ec8b78829d16df0db50cfa35e0bdf5ba64529d26)) +* make promoted and banner position optional (#817) ([a2a8d5d](https://github.com/empathyco/x/commit/a2a8d5dcc03451e046d00f87f3545dfd46c050c5)), closes [EX-7333](https://searchbroker.atlassian.net/browse/EX-7333) +* mutable schema types (#960) ([8015921](https://github.com/empathyco/x/commit/8015921daf2c9e5ee3a6fce2c1f57458aeb278dd)), closes [EX-7702](https://searchbroker.atlassian.net/browse/EX-7702) +* number filter schema to map the right values (#861) ([3b52554](https://github.com/empathyco/x/commit/3b5255420f5c081640bf23ef34063d014f70c34c)) +* **platform-adapter:** change semantics url path (#1230) ([b8210b5](https://github.com/empathyco/x/commit/b8210b59960474a3ad86ffe1a9ee6bc35567ea6e)) +* Remove `@empathyco/x-platform-adapter` dependency from library code. (#575) ([104c7e1](https://github.com/empathyco/x/commit/104c7e10855a67b2adfa68d42d82431f9194ee15)), closes [EX-6437](https://searchbroker.atlassian.net/browse/EX-6437) +* **schemas:** flatten hierarchical filters (#543) ([e5956dd](https://github.com/empathyco/x/commit/e5956dd432a2ae9fb819bc05cde22c0f8ada7424)), closes [EX-6205](https://searchbroker.atlassian.net/browse/EX-6205) + + +### Code Refactoring + +* identifier results in the platform adapter ([d47dadb](https://github.com/empathyco/x/commit/d47dadbb457ab23ae3ed2bcd6d44b1d0f170aaf4)), closes [EX-6303](https://searchbroker.atlassian.net/browse/EX-6303) +* make extra params optional (#553) ([ef7493a](https://github.com/empathyco/x/commit/ef7493a00a4da73f544f3a32b9e8a1fd68ba23a0)), closes [EX-6335](https://searchbroker.atlassian.net/browse/EX-6335) +* next queries platform adapter ([882826d](https://github.com/empathyco/x/commit/882826d52bd2d0646250c42908bde22d23267ea4)), closes [EX-6306](https://searchbroker.atlassian.net/browse/EX-6306) +* recommendations in platform adapter (#538) ([cc954bc](https://github.com/empathyco/x/commit/cc954bc6f6f6ba04447d382aed9b8f60b15b975b)) +* refactor popular searches in platform adapter (#531) ([df281af](https://github.com/empathyco/x/commit/df281af94114658f4bf9071d859f57ad48ea5f89)) +* related tags in platform adapter ([beb1017](https://github.com/empathyco/x/commit/beb1017526aac9983bd1ef2002a3a754d4a0cfe2)), closes [EX-6311](https://searchbroker.atlassian.net/browse/EX-6311) +* search in platform adapter (#540) ([065dcf7](https://github.com/empathyco/x/commit/065dcf7bcd81e79ea5ffdf22c271b117f055f3b6)), closes [EX-6313](https://searchbroker.atlassian.net/browse/EX-6313) +* tagging in platform adapter (#539) ([2baa980](https://github.com/empathyco/x/commit/2baa980a3ccd5bc348c14cba67e30efd12b2edc8)), closes [EX-6312](https://searchbroker.atlassian.net/browse/EX-6312) + + +### Build System + +* add `report` folder to packed `tarball` (#1101) ([16f21e8](https://github.com/empathyco/x/commit/16f21e802c3d14d1fce70422cec9cb13c8ecfd4f)), closes [EX-8105](https://searchbroker.atlassian.net/browse/EX-8105) +* change `config` ([37be26e](https://github.com/empathyco/x/commit/37be26e83dbf3a200fb3fe23f4fc7221a83ca7e8)), closes [EX-5874](https://searchbroker.atlassian.net/browse/EX-5874) +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update `vue` to version `2.7` (#971) ([09fb0fe](https://github.com/empathyco/x/commit/09fb0fe5dbef020565571a4fafc89d2aac544c8e)), closes [EX-7730](https://searchbroker.atlassian.net/browse/EX-7730) +* **deps:** update dependencies ([491f9c5](https://github.com/empathyco/x/commit/491f9c5a27cf5eaa4dc3f31c97ea514bb8f3515b)) +* **deps:** update dependencies (#1004) ([7343506](https://github.com/empathyco/x/commit/73435063e97648ed5bb87600bb7cfbb5eb64b70c)) +* **deps:** update deps (#1062) ([59f29b9](https://github.com/empathyco/x/commit/59f29b9c5861f790a65b061eec628eb35d066b68)) +* sync duplicated dependencies (#567) ([912e968](https://github.com/empathyco/x/commit/912e9687851594871b3296a5fb26129327939d96)), closes [EX-6412](https://searchbroker.atlassian.net/browse/EX-6412) + + +### Documentation + +* add `license` and improve `readme` (#968) ([d6513fb](https://github.com/empathyco/x/commit/d6513fb77d6467e7490f9951c2111870b4770058)), closes [EX-6046](https://searchbroker.atlassian.net/browse/EX-6046) +* add missing release-tags and documentation (#1106) ([fbe7d46](https://github.com/empathyco/x/commit/fbe7d461daa37f9309dedaa46e87035e047e4a2a)), closes [EX-8119](https://searchbroker.atlassian.net/browse/EX-8119) +* **api-extractor:** add API extractor to `x-adapter-platform` (#563) ([8391bfb](https://github.com/empathyco/x/commit/8391bfbfa3902492c8b052e47a996869d0240200)), closes [EX-6384](https://searchbroker.atlassian.net/browse/EX-6384) + + +### Continuous Integration + +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* parallelize steps (#1174) ([3013595](https://github.com/empathyco/x/commit/3013595857c8dac33f36b2c0d08e747b0735c6a0)) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* restore build workflow (#1194) ([076ee49](https://github.com/empathyco/x/commit/076ee492388ba000ebdfa49d9f4356562c8bef19)) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) +* use matrix steps and jest projects (#919) ([dec53f5](https://github.com/empathyco/x/commit/dec53f5da572a4a5f3c8519222c1ed94ed981967)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## [1.0.0-alpha.88](https://github.com/empathyco/x/compare/@empathyco/x-adapter-platform@1.0.0-alpha.87...@empathyco/x-adapter-platform@1.0.0-alpha.88) (2023-10-11) **Note:** Version bump only for package @empathyco/x-adapter-platform diff --git a/packages/x-adapter-platform/package.json b/packages/x-adapter-platform/package.json index 550c4422d9..3e1374fe70 100644 --- a/packages/x-adapter-platform/package.json +++ b/packages/x-adapter-platform/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/x-adapter-platform", - "version": "1.0.0-alpha.88", + "version": "1.0.0", "description": "A search client for the Empathy Platform API", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", @@ -41,9 +41,9 @@ "prepublishOnly": "pnpm run build" }, "dependencies": { - "@empathyco/x-adapter": "^8.0.0-alpha.34", - "@empathyco/x-types": "^10.0.0-alpha.75", - "@empathyco/x-utils": "^1.0.0-alpha.23", + "@empathyco/x-adapter": "^8.0.0", + "@empathyco/x-types": "^10.0.0", + "@empathyco/x-utils": "^1.0.0", "tslib": "~2.5.0" }, "devDependencies": { diff --git a/packages/x-adapter/CHANGELOG.md b/packages/x-adapter/CHANGELOG.md index 42bba3e4e9..4ea15993e6 100644 --- a/packages/x-adapter/CHANGELOG.md +++ b/packages/x-adapter/CHANGELOG.md @@ -3,6 +3,91 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 8.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 +* MutableSchema now receives a Source and a Target object instead of a Schema +* $replace, $extends and $override function types now reflect the allowed operations more correctly. +* `getSafePropertyChain` moved to `@empathyco/x-utils` package. + +### Features + +* **adapter:** disable cancel http client (#658) ([3b5b86d](https://github.com/empathyco/x/commit/3b5b86d4725edefa084181a704df716a389eecbc)), closes [EX-6875](https://searchbroker.atlassian.net/browse/EX-6875) +* add `endpointAdapterFactory` (#378) ([25221ab](https://github.com/empathyco/x/commit/25221ab2ed407f7a7f86054da3a09d64b79d891b)), closes [EX-5388](https://searchbroker.atlassian.net/browse/EX-5388) +* add basic types ([b1217e2](https://github.com/empathyco/x/commit/b1217e2a6f9fa6307a477e44ee8a96d5f8897ea3)), closes [EX-5387](https://searchbroker.atlassian.net/browse/EX-5387) +* add support for `object` params in `httpClients` ([c51760b](https://github.com/empathyco/x/commit/c51760b07b2dac2e83f13964aac614d8fe6e8e8b)), closes [EX-6293](https://searchbroker.atlassian.net/browse/EX-6293) +* Add suppport to interpolate deep paramteres in the endpoint. (#523) ([b01f9e9](https://github.com/empathyco/x/commit/b01f9e94fdbe1cd2b001d77469afc8dd102eb796)), closes [EX-6295](https://searchbroker.atlassian.net/browse/EX-6295) +* default implementation ([3df8522](https://github.com/empathyco/x/commit/3df85225375f20c9c2808bdd4d885b3c7a62db6a)), closes [EX-5983](https://searchbroker.atlassian.net/browse/EX-5983) +* disable `@typescript-eslint/no-extra-parens` rule (#715) ([3718017](https://github.com/empathyco/x/commit/3718017c5528156f931bc8b1f2d208cdb50781ed)), closes [EX-6996](https://searchbroker.atlassian.net/browse/EX-6996) +* Do not flatten body params in fetch http client. (#624) ([375c37f](https://github.com/empathyco/x/commit/375c37f6263cbbb1e88c71d8d6e29e01080c4079)) +* **http-clients:** Add `beaconHttpClient` (#420) ([667958f](https://github.com/empathyco/x/commit/667958f667bf0e4612604d98c5dcf3091b6edeeb)), closes [EX-5842](https://searchbroker.atlassian.net/browse/EX-5842) +* **http-clients:** add `fetchHttpClient` ([8040281](https://github.com/empathyco/x/commit/8040281c827f5f631260715007eb26194d6b7f10)), closes [EX-5840](https://searchbroker.atlassian.net/browse/EX-5840) +* make empty string point to live env ([1d20789](https://github.com/empathyco/x/commit/1d2078941a616bfa7bd8a0e7119f21fd11e511d9)) +* **mappers:** add `combineMappers` util. ([ac41058](https://github.com/empathyco/x/commit/ac410581514bd6c2ae13150036fb0879a14512e1)), closes [EX-6294](https://searchbroker.atlassian.net/browse/EX-6294) +* **mappers:** Add `schemaMapperFactory` (#411) ([075b718](https://github.com/empathyco/x/commit/075b718372bccb4088edb29989ac8015758959b1)), closes [EX-5419](https://searchbroker.atlassian.net/browse/EX-5419) +* **mappers:** allow passing raw values to `subSchema.$context` using functions ([b79f84e](https://github.com/empathyco/x/commit/b79f84e5fdf66d4c84df97c1098206314cbf68ae)), closes [EX-6217](https://searchbroker.atlassian.net/browse/EX-6217) +* remove old adapter package and use the new one (#568) ([1632a59](https://github.com/empathyco/x/commit/1632a594b6905e6403c82b2189300eefd45b3691)), closes [EX-6286](https://searchbroker.atlassian.net/browse/EX-6286) +* **schemas:** add `createMutableSchema` utility ([6b505b9](https://github.com/empathyco/x/commit/6b505b9a92e2c9f56c9a2053ea8e1a4f03f9966e)), closes [EX-5435](https://searchbroker.atlassian.net/browse/EX-5435) +* **schemas:** add Schema types (#388) ([a58e5c3](https://github.com/empathyco/x/commit/a58e5c31c75f78371029457c8c2af8b7e212a484)), closes [EX-5433](https://searchbroker.atlassian.net/browse/EX-5433) +* split adapter interface into `EndpointAdapter` and `ExtendableEndpointAdapter` ([2e8e287](https://github.com/empathyco/x/commit/2e8e287d00f3fe3c2ef6f02d4cc6a843d84d683b)), closes [EX-6121](https://searchbroker.atlassian.net/browse/EX-6121) +* **utils:** add `interpolate` function ([90cad72](https://github.com/empathyco/x/commit/90cad720f6705ce9d2cf933f07a982c21fe80102)), closes [EX-5395](https://searchbroker.atlassian.net/browse/EX-5395) +* **x-adapter:** Add `sendParamsInBody` option to `RequestOptions` (#577) ([9d04e6e](https://github.com/empathyco/x/commit/9d04e6eb7ceed81aeca4215db6e8302f0ab3705a)), closes [EX-6450](https://searchbroker.atlassian.net/browse/EX-6450) +* **x-adapter:** clean empty params (#716) ([eeb4399](https://github.com/empathyco/x/commit/eeb4399c59b44691d31efbf49ad028dda1123229)), closes [EX-6959](https://searchbroker.atlassian.net/browse/EX-6959) + + +### Bug Fixes + +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) +* mutable schema types (#960) ([8015921](https://github.com/empathyco/x/commit/8015921daf2c9e5ee3a6fce2c1f57458aeb278dd)), closes [EX-7702](https://searchbroker.atlassian.net/browse/EX-7702) +* Remove `@empathyco/x-platform-adapter` dependency from library code. (#575) ([104c7e1](https://github.com/empathyco/x/commit/104c7e10855a67b2adfa68d42d82431f9194ee15)), closes [EX-6437](https://searchbroker.atlassian.net/browse/EX-6437) + + +### Code Refactoring + +* add types to `getSafePropertyChain` and move it to `@empatyco/x-utils` (#940) ([5118210](https://github.com/empathyco/x/commit/511821063b8b08751c15f00f233e7b611a74b2cc)), closes [EX-7647](https://searchbroker.atlassian.net/browse/EX-7647) +* reestructure folders organisation ([ec25168](https://github.com/empathyco/x/commit/ec25168327e4a136fe25a226a24c1dd47f721d3a)), closes [EX-6298](https://searchbroker.atlassian.net/browse/EX-6298) +* remove undefined from return type of mapper factory ([e088967](https://github.com/empathyco/x/commit/e0889672b850c481578c4ddd42b74474802088b0)), closes [EX-5926](https://searchbroker.atlassian.net/browse/EX-5926) + + +### Documentation + +* add `license` and improve `readme` (#968) ([d6513fb](https://github.com/empathyco/x/commit/d6513fb77d6467e7490f9951c2111870b4770058)), closes [EX-6046](https://searchbroker.atlassian.net/browse/EX-6046) +* add mutable schemas examples (#967) ([e5e2bd9](https://github.com/empathyco/x/commit/e5e2bd92082de2256cd5a6e8b7cff029bdd65585)), closes [EX-6046](https://searchbroker.atlassian.net/browse/EX-6046) +* create Readme for x-adapter (#921) ([55fc422](https://github.com/empathyco/x/commit/55fc4223ab41e407892e68bf3fe4af7fba5f527a)) + + +### Build System + +* change `config` ([37be26e](https://github.com/empathyco/x/commit/37be26e83dbf3a200fb3fe23f4fc7221a83ca7e8)), closes [EX-5874](https://searchbroker.atlassian.net/browse/EX-5874) +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update `vue` to version `2.7` (#971) ([09fb0fe](https://github.com/empathyco/x/commit/09fb0fe5dbef020565571a4fafc89d2aac544c8e)), closes [EX-7730](https://searchbroker.atlassian.net/browse/EX-7730) +* **deps:** update dependencies ([491f9c5](https://github.com/empathyco/x/commit/491f9c5a27cf5eaa4dc3f31c97ea514bb8f3515b)) +* **deps:** update eslint-plugin dependencies (#447) ([51d60f0](https://github.com/empathyco/x/commit/51d60f0e11fa9667a784bbdb10ba1f39159b382f)), closes [EX-5383](https://searchbroker.atlassian.net/browse/EX-5383) + + +### Continuous Integration + +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* parallelize steps (#1174) ([3013595](https://github.com/empathyco/x/commit/3013595857c8dac33f36b2c0d08e747b0735c6a0)) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* restore build workflow (#1194) ([076ee49](https://github.com/empathyco/x/commit/076ee492388ba000ebdfa49d9f4356562c8bef19)) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) +* use matrix steps and jest projects (#919) ([dec53f5](https://github.com/empathyco/x/commit/dec53f5da572a4a5f3c8519222c1ed94ed981967)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## [8.0.0-alpha.34](https://github.com/empathyco/x/compare/@empathyco/x-adapter@8.0.0-alpha.33...@empathyco/x-adapter@8.0.0-alpha.34) (2023-09-18) **Note:** Version bump only for package @empathyco/x-adapter diff --git a/packages/x-adapter/package.json b/packages/x-adapter/package.json index 8d8a171021..4cb6b29aa6 100644 --- a/packages/x-adapter/package.json +++ b/packages/x-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/x-adapter", - "version": "8.0.0-alpha.34", + "version": "8.0.0", "description": "A utils library to create a client for any API", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", @@ -37,8 +37,8 @@ "prepublishOnly": "pnpm run build" }, "dependencies": { - "@empathyco/x-deep-merge": "^2.0.0-alpha.3", - "@empathyco/x-utils": "^1.0.0-alpha.23", + "@empathyco/x-deep-merge": "^2.0.0", + "@empathyco/x-utils": "^1.0.0", "tslib": "~2.5.0" }, "devDependencies": { diff --git a/packages/x-archetype-utils/CHANGELOG.md b/packages/x-archetype-utils/CHANGELOG.md index 635eb8273c..9de11757db 100644 --- a/packages/x-archetype-utils/CHANGELOG.md +++ b/packages/x-archetype-utils/CHANGELOG.md @@ -3,6 +3,64 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 + +### Features + +* add data-test to searchbar and hover underline to docs links (#996) ([c384ede](https://github.com/empathyco/x/commit/c384edea8b289b2508692aacd95b73d49abe8df6)), closes [EX-7806](https://searchbroker.atlassian.net/browse/EX-7806) +* add importable home `template` (#994) ([a31c3ea](https://github.com/empathyco/x/commit/a31c3eadf412ee732ca4b3724a85ef8faa300061)), closes [EX-7633](https://searchbroker.atlassian.net/browse/EX-7633) +* create archetype utils package (#701) ([6e4f8f6](https://github.com/empathyco/x/commit/6e4f8f6f15eb687b082849ee1a1aa17645cce08d)), closes [EX-6930](https://searchbroker.atlassian.net/browse/EX-6930) +* injector utility for the archetype and build config to override the one in X (#1258) ([08eb5c1](https://github.com/empathyco/x/commit/08eb5c1a07c421684c472aa6ff11db3dcecc8dc5)) +* move `i18n` plugin (#713) ([4348f55](https://github.com/empathyco/x/commit/4348f55987fe0ceb7777c06094e42f17ff4f735a)), closes [EX-6966](https://searchbroker.atlassian.net/browse/EX-6966) +* **plugin:** replace old bus implementation using the new `x-priority-bus` (#1086) ([f64f9b6](https://github.com/empathyco/x/commit/f64f9b68225c4ee422eb007784e0eec813c95228)), closes [EX-7283](https://searchbroker.atlassian.net/browse/EX-7283) + + +### Bug Fixes + +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) +* now styles should be accurate to the designs (#999) ([7638670](https://github.com/empathyco/x/commit/7638670d3d4f22983fcaeb0277fb9b394ece2218)), closes [EX-7809](https://searchbroker.atlassian.net/browse/EX-7809) +* Update home styles to match `inputGroup`. (#1079) ([eef82a1](https://github.com/empathyco/x/commit/eef82a1574ab922556a83712ebf6e5f78651a9c9)), closes [EX-8014](https://searchbroker.atlassian.net/browse/EX-8014) + + +### Styling + +* update prettier and format code (#1026) ([a18cc17](https://github.com/empathyco/x/commit/a18cc172b6638962d53192905cd466f12bccacac)), closes [EX-7877](https://searchbroker.atlassian.net/browse/EX-7877) + + +### Build System + +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update `vue` to version `2.7` (#971) ([09fb0fe](https://github.com/empathyco/x/commit/09fb0fe5dbef020565571a4fafc89d2aac544c8e)), closes [EX-7730](https://searchbroker.atlassian.net/browse/EX-7730) +* **deps:** update deps (#1046) ([b6957df](https://github.com/empathyco/x/commit/b6957df9d88c0d94c2543047991a63afadd707ff)) +* **deps:** update deps (#1062) ([59f29b9](https://github.com/empathyco/x/commit/59f29b9c5861f790a65b061eec628eb35d066b68)) + + +### Continuous Integration + +* export webpack config from `x-archetype-utils` (#760) ([0d7bfa2](https://github.com/empathyco/x/commit/0d7bfa2a63b5aaa3b220a0338fcefdaedc888f32)), closes [EX-7222](https://searchbroker.atlassian.net/browse/EX-7222) +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* parallelize steps (#1174) ([3013595](https://github.com/empathyco/x/commit/3013595857c8dac33f36b2c0d08e747b0735c6a0)) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* restore build workflow (#1194) ([076ee49](https://github.com/empathyco/x/commit/076ee492388ba000ebdfa49d9f4356562c8bef19)) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) +* use matrix steps and jest projects (#919) ([dec53f5](https://github.com/empathyco/x/commit/dec53f5da572a4a5f3c8519222c1ed94ed981967)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## [1.0.0-alpha.4](https://github.com/empathyco/x/compare/@empathyco/x-archetype-utils@1.0.0-alpha.3...@empathyco/x-archetype-utils@1.0.0-alpha.4) (2023-09-18) **Note:** Version bump only for package @empathyco/x-archetype-utils diff --git a/packages/x-archetype-utils/package.json b/packages/x-archetype-utils/package.json index b794828229..a66e193772 100644 --- a/packages/x-archetype-utils/package.json +++ b/packages/x-archetype-utils/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/x-archetype-utils", - "version": "1.0.0-alpha.4", + "version": "1.0.0", "description": "Utilities for x-archetype", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", @@ -36,12 +36,12 @@ "prepublishOnly": "pnpm run build" }, "dependencies": { - "@empathyco/x-deep-merge": "^2.0.0-alpha.3", + "@empathyco/x-deep-merge": "^2.0.0", "tslib": "~2.5.0", "vue-i18n": "~8.28.2" }, "devDependencies": { - "@empathyco/x-utils": "^1.0.0-alpha.23", + "@empathyco/x-utils": "^1.0.0", "@types/jest": "~27.5.0", "@types/node": "~18.16.0", "@vue/test-utils": "~1.0.3", diff --git a/packages/x-bus/CHANGELOG.md b/packages/x-bus/CHANGELOG.md index a787b193e0..ab7e805e30 100644 --- a/packages/x-bus/CHANGELOG.md +++ b/packages/x-bus/CHANGELOG.md @@ -3,6 +3,50 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 + +### Features + +* add `x-priority-bus` (#990) ([718d3d2](https://github.com/empathyco/x/commit/718d3d278e58a0f0d173ff4511245d59b1e6f036)), closes [EX-7458](https://searchbroker.atlassian.net/browse/EX-7458) +* **plugin:** replace old bus implementation using the new `x-priority-bus` (#1086) ([f64f9b6](https://github.com/empathyco/x/commit/f64f9b68225c4ee422eb007784e0eec813c95228)), closes [EX-7283](https://searchbroker.atlassian.net/browse/EX-7283) + + +### Bug Fixes + +* add missing `rxjs` dependency and narrow `setTimeout` type (#1052) ([86d64b4](https://github.com/empathyco/x/commit/86d64b4be7249bcb802982dfb5690688e35b88c9)), closes [EX-7928](https://searchbroker.atlassian.net/browse/EX-7928) +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) + + +### Build System + +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update dependencies ([491f9c5](https://github.com/empathyco/x/commit/491f9c5a27cf5eaa4dc3f31c97ea514bb8f3515b)) + + +### Continuous Integration + +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* parallelize steps (#1174) ([3013595](https://github.com/empathyco/x/commit/3013595857c8dac33f36b2c0d08e747b0735c6a0)) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* restore build workflow (#1194) ([076ee49](https://github.com/empathyco/x/commit/076ee492388ba000ebdfa49d9f4356562c8bef19)) +* use matrix steps and jest projects (#919) ([dec53f5](https://github.com/empathyco/x/commit/dec53f5da572a4a5f3c8519222c1ed94ed981967)) + + +### Others + +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## [1.0.0-alpha.4](https://github.com/empathyco/x/compare/@empathyco/x-bus@1.0.0-alpha.3...@empathyco/x-bus@1.0.0-alpha.4) (2023-09-18) **Note:** Version bump only for package @empathyco/x-bus diff --git a/packages/x-bus/package.json b/packages/x-bus/package.json index d7b9656d58..3aa9e0fede 100644 --- a/packages/x-bus/package.json +++ b/packages/x-bus/package.json @@ -1,6 +1,6 @@ { "name": "@empathyco/x-bus", - "version": "1.0.0-alpha.4", + "version": "1.0.0", "description": "Event bus to help with events orchestration", "author": "Empathy Systems Corporation S.L.", "homepage": "https://github.com/empathyco/x/tree/main/packages/x-bus#readme", @@ -39,8 +39,8 @@ "url": "https://github.com/empathyco/x/issues" }, "dependencies": { - "@empathyco/x-priority-queue": "^1.0.0-alpha.4", - "@empathyco/x-utils": "^1.0.0-alpha.23", + "@empathyco/x-priority-queue": "^1.0.0", + "@empathyco/x-utils": "^1.0.0", "rxjs": "~7.8.0", "tslib": "~2.5.0" }, diff --git a/packages/x-components/CHANGELOG.md b/packages/x-components/CHANGELOG.md index 8e135c7b5e..b7d7bc883e 100644 --- a/packages/x-components/CHANGELOG.md +++ b/packages/x-components/CHANGELOG.md @@ -3,6 +3,1131 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 3.0.0 (2023-10-19) + + +### ⚠ BREAKING CHANGES + +* setPageSize search module mutation has been replaced by the setConfig mutation. +setTaggingConfig tagging module mutation and setFacetsConfig facets module mutation have been replaced by the mergeConfig mutation. + +EMP-2328 +* the property 'querySuggestions' in '' now returns the query suggestions that should be displayed based on the module's config. A new property called 'fullQuerySuggestions' returns all the query suggestions in the module + +EMP-1463 +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 +* **design-system:** The `x-components` design system has been deprecated. +The exported theme is no longer available. If you need support for the old design system you should import `@empathyco/x-components/design-system/deprecated-full-theme.css`. +* **design-system:** `x-grid-list` and `x-grid-list__item` classes have been removed from `BaseGrid` component. +* **design-system:** `x-grid-list--cols-{columns}` has been renamed to `x-base-grid--cols-{columns}` +* **design-system:** `x-list` class has been removed from the following components: + + `BaseModal`, `BaseSuggetions`, `BaseTabsPanel`, `Facets`, `FiltersList`, `FiltersSearch`, `IdentifierResults`, `MyHistory`, `PartialResultList`, `ResultVariantSelector`, `Recommendations`, `RelatedTags`, `SlidingPanel`, `SelectedFiltersList`. + +* **design-system:** `FixedHeaderAndAsidesLayout` `MultiColumnMaxWidthLayout` and `SingleColumnLayout` have been deprecated. +* **design-system:** `BaseModal` default opacity has changed from `0.7` to `0.3`. +* **design-system:** `x-list__item` class has been removed from `BaseTabsPanel` component. +* **design-system:** `x-message` class has been removed from `Redirection` component. + +EMP-133 + +Co-authored-by: Diego Pascual +Co-authored-by: Manuel Navarro +* **design-system:** Old `design-system` `progress-bar` styles are now located in the `deprecated-full-theme.css` file. +* **design-system:** Renamed `x-progress-bar__line` class to `x-progress-bar-fill`. +* `base-column-picker-list` structure changes. It now wraps the buttons in a div instead of using ul and li. Additionally, the class for the selected option has been changed to `x-selected`. +* **design-system:** Old `design-system` `Tag` styles are now located in the `deprecated-full-theme.css` file. +* **design-system:** Old `x-tag--is-curated` and `x-tag--is-selected` classes are no longer used by `RelatedTag` component. +* **design-system:** design system scroll styles are deprecated. To continue using them import from deprecated-full-theme.css +* **design-system:** Old design-system `Icon` styles are now located in the `deprecated-full-theme.css` file. +Removed `checkbox-card`, `nq1`, `nq2`, `nq3`, and `nq4 icons`. +* **components:** class `x-picture__image` renamed to `x-picture-image`, deprecate classes `x-picture__image--placeholder` and `x-picture__image--fallback` +* **components:** Renamed `SlidingPanel` css classes `x-sliding-panel--at-start` and `x-sliding-panel--at-end` to `x-sliding-panel-at-start` and `x-sliding-panel-at-end` respectively. +* **components:** Renamed `SlidingPanel` buttons css classes `x-sliding-panel__button-left` and `x-sliding-panel__button-right` to `x-sliding-panel-button-left` and `x-sliding-panel-button-right` respectively. +* **components:** Old design-system `SlidingPanel` styles (including the updated button classes) are now located in the `deprecated-full-theme.css` file. +* **history-queries:** Renamed `removeHistoryQueryClass` prop to `removeButtonClass`. +* Rename `x-grid` class to `x-grid-list`. +* Rename `x-grid__item` class to `x-grid-list__item`. +* Rename `x-grid--cols-{cols}` class to `x-grid-list--cols-{cols}`. +* **design-system:** suggestion and suggestion group styles are now deprecated. To continue using them import from `deprecated-full-theme.css`. +* Rename `NextQueryPreviewMounted` to `NextQueryPreviewMountedHook` and `QueryPreviewRemoved` to `QueryPreviewUnmountedHook` +* **components:** Removes `queryHTML` slot scope prop from `BaseSuggestion`, `PopularSearch` `QuerySuggestion` and `HistoryQuery`. Use the new `Highlight` component instead. +* the event `SearchResponseProvided` was renamed to `SearchResponseChanged` +* **design-system:** the old design system button styles are now located in the `deprecated-full-theme.css`, if a setup is not using the new design system, it must import this file. +* **components:** `facets` are now optional in `Suggestion`. +* **tagging:** `tagging` property of `Taggable` and `queryTagging` property of `SearchResponse` are optional. +* **result:** `Result` model properties are optional, except `id`, `modelName` and `tagging`. +* **facets:** Removed the `setFilter`mutation from `facets` X-Module. Use `mutateFilter` instead. +* **facets:** Modified the `HierarchicalFilter.children` Model type. Now it is an `Array` instead of an array of ids. +* `--x-number-aspect-ratio-picture` is now inverted. Previously a value of 2 meant that it was twice taller than wider. Now it means twice wider than taller. +* `XAPI` is now available now at `window.InterfaceX`. +* **facets:** Renamed method `registerFilterModifier` in `FilterEntityFactory` to `registerModifierByFacetId`. +* **facets:** Changed `modifiers` parameter of `registerFilterModifier` in `FilterEntityFactory` from a single array in favour of rest parameters. +* Request types moved to `x-types` package. Change the imports from `x-adapter` to `x-type`. +* Removed `TaggingInfo` type. Use `TaggingRequest` from `@empathyco/x-types` instead. +* **eslint:** Vue config now also extends the recommended config from vuejs-accesibility plugin. +* Remove `selected` and `previous` logic from related tags. +* Remove `EmpathyRequestRelatedTagsQueryMapper`. +* **components:** Removed `CollapseFromTop` Animation. Use `animateScale()` instead. +* **components:** Removed `TranslateFromLeft` and `TranslateFromRight` components. Use `animateTranslate('left')` and `animateTranslate('right')` instead. +* **facets:** Remove `BaseFilter` component. Use `RenderlessFilter`instead. +* **components:** `SlidingPanel` buttons do not have the round variant set by default. +* **components:** ArrowIcon changed to ArrowLeftIcon. +* **storage-service:** `StorageService` has been renamed to `BrowserStorageService`. +* **scroll:** `BaseIdScroll` has been renamed to `Scroll`. It should be imported from `@empathyco/x-components/scroll` +* **scroll:** `BaseMainScroll` has been renamed to `WindowScroll`. It should be imported from `@empathyco/x-components/scroll` +* **scroll:** `BaseScrollToTop` has been renamed to `ScrollToTop`. It should be imported from `@empathyco/x-components/scroll` +* **scroll:** `UserReachedScrollStart` event now emits a boolean indicating the change of this state. +* **scroll:** `UserAlmostReachedScrollEnd` event now emits a boolean indicating the change of this state. +* **scroll:** `UserReachedScrollEnd` event now emits a boolean indicating the change of this state. +* Slots that are created using properties like the `modelName` or the `id` of different objects, now are named using the kebab-case version of those values. This affects the following components: `BaseGrid`, `Facets` and `SelectedFiltersList`. Examples: +`