Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Core Refactor - migrate to secondary entrypoints to optimize the bundle size #1625

Conversation

alecarn
Copy link
Collaborator

@alecarn alecarn commented Feb 5, 2024

This is a refactor of how the core package is structured. We propose to compose with secondary entrypoint to enable a better tree shakable library. There will not be a visible difference for the igo2 application, but each application that only uses part of the lib will have a major gain over a reduced bundle size.

Linked PR in the assembly - infra-geo-ouverte/igo2#1141

@alecarn alecarn requested a review from pelord February 5, 2024 13:29
@alecarn alecarn self-assigned this Feb 5, 2024
@alecarn alecarn changed the title Core Refactor - migrate to sub-entrypoints to optimize de bundle size (BREAKING CHANGE) Core Refactor - migrate to secondary entrypoints to optimize de bundle size (BREAKING CHANGE) Feb 5, 2024
@alecarn alecarn changed the title Core Refactor - migrate to secondary entrypoints to optimize de bundle size (BREAKING CHANGE) Core Refactor - migrate to secondary entrypoints to optimize de bundle size Feb 5, 2024
@alecarn alecarn changed the title Core Refactor - migrate to secondary entrypoints to optimize de bundle size Core Refactor - migrate to secondary entrypoints to optimize the bundle size Feb 7, 2024
Base automatically changed from release/17.0.0 to next February 19, 2024 20:58
alecarn and others added 10 commits March 8, 2024 07:50
* fix(geo): do not upgrade flexsearch since it seem not compatible with TS
nextapps-de/flexsearch#342
* feat: update Angular v17

* fix(geo): do not upgrade flexsearch since it seem not compatible with TS
nextapps-de/flexsearch#342

* feat(demo): Convert all components, directives and pipes to standalone

* feat(demo): Remove unnecessary NgModule classes

* fix(core/language): TranslateModule call forRoot only once with provideRootTranslation

- IgoLanguageModule only export the TranslateModule

BREAKING CHANGE: IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
- provideDefaultLanguageLoader and provideLanguageLoader are replaced by DEFAULT_LANGUAGE_LOADER and set directly inside the TranslationConfig

* feat: remove extra module and rework navigation

* fix(demo): main clean up

* fix(test)

* fix(workspace): code deleted by error
BREAKING CHANGE: IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
BREAKING CHANGE: 'provideDefaultLanguageLoader' and 'provideLanguageLoader' are replaced by 'DEFAULT_LANGUAGE_LOADER' and set directly inside the TranslationConfig
- refact(compression): convert and move to utils packages BREAKING CHANGE
@alecarn alecarn force-pushed the 1405--core-analysis-of-the-size-of-our-packages-and-strategies-to-optimize-them branch from a641d41 to 753fd2e Compare March 8, 2024 13:23
@alecarn alecarn merged commit 4aeca83 into next Mar 8, 2024
4 checks passed
@alecarn alecarn deleted the 1405--core-analysis-of-the-size-of-our-packages-and-strategies-to-optimize-them branch March 8, 2024 13:29
alecarn pushed a commit that referenced this pull request May 30, 2024
# [17.0.0-next.1](v16.3.0...v17.0.0-next.1) (2024-05-30)

### Bug Fixes

* **auth:** include submodule scss ([8b40bcf](8b40bcf))
* **auth:** use IgoAuthModule instead of TranslateModule ([3277105](3277105))
* **build:** clean up exports in the distributed package.json [#1616](#1616) ([#1617](#1617)) ([ecd7013](ecd7013))
* bump node engine version to a min of 18.13 ([e95a1ca](e95a1ca))
* **common:** export EntityOperation like it used to ([#1658](#1658)) ([32bbddb](32bbddb))
* **context:** add workspace option with layers when we export context ([#1660](#1660)) ([a904cbd](a904cbd))
* **context:** poi-button add PoiService provider ([7388ac4](7388ac4))
* **context:** revert change causing duplicate list ([fd525c2](fd525c2))
* **core:** remove duplicated load of config BREAKING CHANGE ([ae2dd97](ae2dd97))
* **demo:** add doc for icons ([0526198](0526198))
* **demo:** directions add required search sources ([3f251e7](3f251e7))
* **geo:** check Capability contains layers list before loop ([#1570](#1570)) ([f4959eb](f4959eb))
* **geo:** ensure ogc filter accept today and now ([#1622](#1622)) ([551e258](551e258))
* **geo:** garantine no comma in the beginning and end of search term ([#1608](#1608)) ([d5e20f8](d5e20f8))
* **geo:** import and export shp file ([#1665](#1665)) ([67725f7](67725f7))
* **geo:** inporting vector (igo2 issues [#1146](#1146)) ([fb9d1eb](fb9d1eb))
* **geo:** print add option to show hide north arrow direction ([#1672](#1672)) ([8b0e11b](8b0e11b))
* **geo:** Print set the same horizontal margin for the map ([#1662](#1662)) ([ca633c1](ca633c1))
* **geo:** register svg icon for layer-list ([de1fa78](de1fa78))
* **icon:** revert some icon change ([04fd431](04fd431))
* **integration:** check if workspace search source is defined ([#1609](#1609)) ([0fd5c83](0fd5c83))
* **integration:** fix advanced coordinate error Maximum call stack size exceeded ([#1620](#1620)) ([f0c5db6](f0c5db6))
* **integration:** update coordinate if projection system change ([#1661](#1661)) ([382f913](382f913))
* missing auth dependencies in geo and integration ([5269984](5269984))
* ol version to 9.1.0 ([7483865](7483865))
* **search-bar:** trigger search on click ([114f911](114f911))
* **utils:** remove moment.js and delete datetime.utils BREAKING CHANGE- This file was added in the v16 but was not documented. Maybe we could mute this one ([c08cdd1](c08cdd1))
* **utils:** Vitejs raise an error without the default import ([9354bd3](9354bd3))

* Core Refactor - migrate to secondary entrypoints to optimize the bundle size (#1625) ([4aeca83](4aeca83)), closes [#1625](#1625) [#1556](#1556)
* Release/17.0.0 (#1640) ([0cd2dcf](0cd2dcf)), closes [#1640](#1640) [#1551](#1551) [#1543](#1543) [#1563](#1563) [#1556](#1556) [#1610](#1610) [#1619](#1619)

### Features

* **auth:** configure auth with provider ([e046947](e046947))
* **auth:** remove auth.module for circular dependency ([2bc4906](2bc4906))
* automate the release and publishing with semantic-release ([#1683](#1683)) ([bc4e61e](bc4e61e))
* **directions:** added possibility to toggle between two routing sources ([#1644](#1644)) ([ef607e2](ef607e2))
* **geo:** add modularity for search and direction ([#1669](#1669)) ([cd199eb](cd199eb))
* **geo:** change printed text to Sans Serif font ([#1626](#1626)) ([748099a](748099a))
* **geo:** print - add map attribution under the map ([#1670](#1670)) ([dcb3dda](dcb3dda))
* **geo:** update Openlayers to v9 ([#1642](#1642)) ([06ed562](06ed562))
* **integration:** catalog keep selection when changing tools ([#1654](#1654)) ([946d9f4](946d9f4))
* replace our icon library @mdi/angular-material with the Google Font - Material Symbol ([#1664](#1664)) ([f74c495](f74c495))

### BREAKING CHANGES

* **geo:** - SearchState and SearchService no more provided in root. They depend on the SearchSource who are no more provided in the root.
- Analytics capability is provided with the SearchService directly.
- DirectionModule, provideDirectionsSourceService is removed, use the provideDirection.
* **auth:** Replace by provideAuth and call the component directly
* **auth:** AuthModule is deprecated and use the provideAuthentification for the configuration
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
* 'provideDefaultLanguageLoader' and 'provideLanguageLoader' are replaced by 'DEFAULT_LANGUAGE_LOADER' and set directly inside the TranslationConfig

* build(packagr): keep only one config

* feat(core): split in submodule for bundle optimization BREAKING CHANGES
- refact(compression): convert and move to utils packages BREAKING CHANGE

* build(clean-exports): account all keys in the exports object
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
- provideDefaultLanguageLoader and provideLanguageLoader are replaced by DEFAULT_LANGUAGE_LOADER and set directly inside the TranslationConfig

* feat(demo): Convert all components, directives and pipes to standalone
* ToolboxColor is now a type
alecarn pushed a commit that referenced this pull request May 30, 2024
# [17.0.0-next.1](v16.3.0...v17.0.0-next.1) (2024-05-30)

### Bug Fixes

* **auth:** include submodule scss ([8b40bcf](8b40bcf))
* **auth:** use IgoAuthModule instead of TranslateModule ([3277105](3277105))
* build ([0aa3f8e](0aa3f8e))
* **build:** clean up exports in the distributed package.json [#1616](#1616) ([#1617](#1617)) ([ecd7013](ecd7013))
* bump node engine version to a min of 18.13 ([e95a1ca](e95a1ca))
* bump version ([22ded11](22ded11))
* bump version ([b7f70d2](b7f70d2))
* bump version ([20e4e41](20e4e41))
* **common:** export EntityOperation like it used to ([#1658](#1658)) ([32bbddb](32bbddb))
* **context:** add workspace option with layers when we export context ([#1660](#1660)) ([a904cbd](a904cbd))
* **context:** poi-button add PoiService provider ([7388ac4](7388ac4))
* **context:** revert change causing duplicate list ([fd525c2](fd525c2))
* **core:** remove duplicated load of config BREAKING CHANGE ([ae2dd97](ae2dd97))
* **demo:** add doc for icons ([0526198](0526198))
* **demo:** directions add required search sources ([3f251e7](3f251e7))
* **geo:** check Capability contains layers list before loop ([#1570](#1570)) ([f4959eb](f4959eb))
* **geo:** ensure ogc filter accept today and now ([#1622](#1622)) ([551e258](551e258))
* **geo:** garantine no comma in the beginning and end of search term ([#1608](#1608)) ([d5e20f8](d5e20f8))
* **geo:** import and export shp file ([#1665](#1665)) ([67725f7](67725f7))
* **geo:** inporting vector (igo2 issues [#1146](#1146)) ([fb9d1eb](fb9d1eb))
* **geo:** print add option to show hide north arrow direction ([#1672](#1672)) ([8b0e11b](8b0e11b))
* **geo:** Print set the same horizontal margin for the map ([#1662](#1662)) ([ca633c1](ca633c1))
* **geo:** register svg icon for layer-list ([de1fa78](de1fa78))
* **icon:** revert some icon change ([04fd431](04fd431))
* **integration:** check if workspace search source is defined ([#1609](#1609)) ([0fd5c83](0fd5c83))
* **integration:** fix advanced coordinate error Maximum call stack size exceeded ([#1620](#1620)) ([f0c5db6](f0c5db6))
* **integration:** update coordinate if projection system change ([#1661](#1661)) ([382f913](382f913))
* missing auth dependencies in geo and integration ([5269984](5269984))
* ol version to 9.1.0 ([7483865](7483865))
* release ([c401c56](c401c56))
* **search-bar:** trigger search on click ([114f911](114f911))
* **utils:** remove moment.js and delete datetime.utils BREAKING CHANGE- This file was added in the v16 but was not documented. Maybe we could mute this one ([c08cdd1](c08cdd1))
* **utils:** Vitejs raise an error without the default import ([9354bd3](9354bd3))

* Core Refactor - migrate to secondary entrypoints to optimize the bundle size (#1625) ([4aeca83](4aeca83)), closes [#1625](#1625) [#1556](#1556)
* Release/17.0.0 (#1640) ([0cd2dcf](0cd2dcf)), closes [#1640](#1640) [#1551](#1551) [#1543](#1543) [#1563](#1563) [#1556](#1556) [#1610](#1610) [#1619](#1619)

### Features

* **auth:** configure auth with provider ([e046947](e046947))
* **auth:** remove auth.module for circular dependency ([2bc4906](2bc4906))
* automate the release and publishing with semantic-release ([#1683](#1683)) ([bc4e61e](bc4e61e))
* **directions:** added possibility to toggle between two routing sources ([#1644](#1644)) ([ef607e2](ef607e2))
* **geo:** add modularity for search and direction ([#1669](#1669)) ([cd199eb](cd199eb))
* **geo:** change printed text to Sans Serif font ([#1626](#1626)) ([748099a](748099a))
* **geo:** print - add map attribution under the map ([#1670](#1670)) ([dcb3dda](dcb3dda))
* **geo:** update Openlayers to v9 ([#1642](#1642)) ([06ed562](06ed562))
* **integration:** catalog keep selection when changing tools ([#1654](#1654)) ([946d9f4](946d9f4))
* replace our icon library @mdi/angular-material with the Google Font - Material Symbol ([#1664](#1664)) ([f74c495](f74c495))

### BREAKING CHANGES

* **geo:** - SearchState and SearchService no more provided in root. They depend on the SearchSource who are no more provided in the root.
- Analytics capability is provided with the SearchService directly.
- DirectionModule, provideDirectionsSourceService is removed, use the provideDirection.
* **auth:** Replace by provideAuth and call the component directly
* **auth:** AuthModule is deprecated and use the provideAuthentification for the configuration
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
* 'provideDefaultLanguageLoader' and 'provideLanguageLoader' are replaced by 'DEFAULT_LANGUAGE_LOADER' and set directly inside the TranslationConfig

* build(packagr): keep only one config

* feat(core): split in submodule for bundle optimization BREAKING CHANGES
- refact(compression): convert and move to utils packages BREAKING CHANGE

* build(clean-exports): account all keys in the exports object
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
- provideDefaultLanguageLoader and provideLanguageLoader are replaced by DEFAULT_LANGUAGE_LOADER and set directly inside the TranslationConfig

* feat(demo): Convert all components, directives and pipes to standalone
* ToolboxColor is now a type
alecarn pushed a commit that referenced this pull request May 30, 2024
# [17.0.0-next.1](v16.3.0...v17.0.0-next.1) (2024-05-30)

### Bug Fixes

* **auth:** include submodule scss ([8b40bcf](8b40bcf))
* **auth:** use IgoAuthModule instead of TranslateModule ([3277105](3277105))
* build ([edec59d](edec59d))
* **build:** clean up exports in the distributed package.json [#1616](#1616) ([#1617](#1617)) ([ecd7013](ecd7013))
* bump node engine version to a min of 18.13 ([e95a1ca](e95a1ca))
* bump version ([e315fc1](e315fc1))
* **common:** export EntityOperation like it used to ([#1658](#1658)) ([32bbddb](32bbddb))
* **context:** add workspace option with layers when we export context ([#1660](#1660)) ([a904cbd](a904cbd))
* **context:** poi-button add PoiService provider ([7388ac4](7388ac4))
* **context:** revert change causing duplicate list ([fd525c2](fd525c2))
* **core:** remove duplicated load of config BREAKING CHANGE ([ae2dd97](ae2dd97))
* **demo:** add doc for icons ([0526198](0526198))
* **demo:** directions add required search sources ([3f251e7](3f251e7))
* **geo:** check Capability contains layers list before loop ([#1570](#1570)) ([f4959eb](f4959eb))
* **geo:** ensure ogc filter accept today and now ([#1622](#1622)) ([551e258](551e258))
* **geo:** garantine no comma in the beginning and end of search term ([#1608](#1608)) ([d5e20f8](d5e20f8))
* **geo:** import and export shp file ([#1665](#1665)) ([67725f7](67725f7))
* **geo:** inporting vector (igo2 issues [#1146](#1146)) ([fb9d1eb](fb9d1eb))
* **geo:** print add option to show hide north arrow direction ([#1672](#1672)) ([8b0e11b](8b0e11b))
* **geo:** Print set the same horizontal margin for the map ([#1662](#1662)) ([ca633c1](ca633c1))
* **geo:** register svg icon for layer-list ([de1fa78](de1fa78))
* **icon:** revert some icon change ([04fd431](04fd431))
* **integration:** check if workspace search source is defined ([#1609](#1609)) ([0fd5c83](0fd5c83))
* **integration:** fix advanced coordinate error Maximum call stack size exceeded ([#1620](#1620)) ([f0c5db6](f0c5db6))
* **integration:** update coordinate if projection system change ([#1661](#1661)) ([382f913](382f913))
* missing auth dependencies in geo and integration ([5269984](5269984))
* ol version to 9.1.0 ([7483865](7483865))
* **search-bar:** trigger search on click ([114f911](114f911))
* **utils:** remove moment.js and delete datetime.utils BREAKING CHANGE- This file was added in the v16 but was not documented. Maybe we could mute this one ([c08cdd1](c08cdd1))
* **utils:** Vitejs raise an error without the default import ([9354bd3](9354bd3))

* Core Refactor - migrate to secondary entrypoints to optimize the bundle size (#1625) ([4aeca83](4aeca83)), closes [#1625](#1625) [#1556](#1556)
* Release/17.0.0 (#1640) ([0cd2dcf](0cd2dcf)), closes [#1640](#1640) [#1551](#1551) [#1543](#1543) [#1563](#1563) [#1556](#1556) [#1610](#1610) [#1619](#1619)

### Features

* **auth:** configure auth with provider ([e046947](e046947))
* **auth:** remove auth.module for circular dependency ([2bc4906](2bc4906))
* automate the release and publishing with semantic-release ([#1683](#1683)) ([bc4e61e](bc4e61e))
* **directions:** added possibility to toggle between two routing sources ([#1644](#1644)) ([ef607e2](ef607e2))
* **geo:** add modularity for search and direction ([#1669](#1669)) ([cd199eb](cd199eb))
* **geo:** change printed text to Sans Serif font ([#1626](#1626)) ([748099a](748099a))
* **geo:** print - add map attribution under the map ([#1670](#1670)) ([dcb3dda](dcb3dda))
* **geo:** update Openlayers to v9 ([#1642](#1642)) ([06ed562](06ed562))
* **integration:** catalog keep selection when changing tools ([#1654](#1654)) ([946d9f4](946d9f4))
* replace our icon library @mdi/angular-material with the Google Font - Material Symbol ([#1664](#1664)) ([f74c495](f74c495))

### BREAKING CHANGES

* **geo:** - SearchState and SearchService no more provided in root. They depend on the SearchSource who are no more provided in the root.
- Analytics capability is provided with the SearchService directly.
- DirectionModule, provideDirectionsSourceService is removed, use the provideDirection.
* **auth:** Replace by provideAuth and call the component directly
* **auth:** AuthModule is deprecated and use the provideAuthentification for the configuration
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
* 'provideDefaultLanguageLoader' and 'provideLanguageLoader' are replaced by 'DEFAULT_LANGUAGE_LOADER' and set directly inside the TranslationConfig

* build(packagr): keep only one config

* feat(core): split in submodule for bundle optimization BREAKING CHANGES
- refact(compression): convert and move to utils packages BREAKING CHANGE

* build(clean-exports): account all keys in the exports object
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
- provideDefaultLanguageLoader and provideLanguageLoader are replaced by DEFAULT_LANGUAGE_LOADER and set directly inside the TranslationConfig

* feat(demo): Convert all components, directives and pipes to standalone
* ToolboxColor is now a type
alecarn pushed a commit that referenced this pull request May 30, 2024
# [17.0.0-next.1](v16.3.0...v17.0.0-next.1) (2024-05-30)

### Bug Fixes

* **auth:** include submodule scss ([8b40bcf](8b40bcf))
* **auth:** use IgoAuthModule instead of TranslateModule ([3277105](3277105))
* build ([edec59d](edec59d))
* **build:** clean up exports in the distributed package.json [#1616](#1616) ([#1617](#1617)) ([ecd7013](ecd7013))
* bump node engine version to a min of 18.13 ([e95a1ca](e95a1ca))
* bump version ([e315fc1](e315fc1))
* **common:** export EntityOperation like it used to ([#1658](#1658)) ([32bbddb](32bbddb))
* **context:** add workspace option with layers when we export context ([#1660](#1660)) ([a904cbd](a904cbd))
* **context:** poi-button add PoiService provider ([7388ac4](7388ac4))
* **context:** revert change causing duplicate list ([fd525c2](fd525c2))
* **core:** remove duplicated load of config BREAKING CHANGE ([ae2dd97](ae2dd97))
* **demo:** add doc for icons ([0526198](0526198))
* **demo:** directions add required search sources ([3f251e7](3f251e7))
* **geo:** check Capability contains layers list before loop ([#1570](#1570)) ([f4959eb](f4959eb))
* **geo:** ensure ogc filter accept today and now ([#1622](#1622)) ([551e258](551e258))
* **geo:** garantine no comma in the beginning and end of search term ([#1608](#1608)) ([d5e20f8](d5e20f8))
* **geo:** import and export shp file ([#1665](#1665)) ([67725f7](67725f7))
* **geo:** inporting vector (igo2 issues [#1146](#1146)) ([fb9d1eb](fb9d1eb))
* **geo:** print add option to show hide north arrow direction ([#1672](#1672)) ([8b0e11b](8b0e11b))
* **geo:** Print set the same horizontal margin for the map ([#1662](#1662)) ([ca633c1](ca633c1))
* **geo:** register svg icon for layer-list ([de1fa78](de1fa78))
* **icon:** revert some icon change ([04fd431](04fd431))
* **integration:** check if workspace search source is defined ([#1609](#1609)) ([0fd5c83](0fd5c83))
* **integration:** fix advanced coordinate error Maximum call stack size exceeded ([#1620](#1620)) ([f0c5db6](f0c5db6))
* **integration:** update coordinate if projection system change ([#1661](#1661)) ([382f913](382f913))
* missing auth dependencies in geo and integration ([5269984](5269984))
* ol version to 9.1.0 ([7483865](7483865))
* retry publish ([237bc1b](237bc1b))
* **search-bar:** trigger search on click ([114f911](114f911))
* **utils:** remove moment.js and delete datetime.utils BREAKING CHANGE- This file was added in the v16 but was not documented. Maybe we could mute this one ([c08cdd1](c08cdd1))
* **utils:** Vitejs raise an error without the default import ([9354bd3](9354bd3))

* Core Refactor - migrate to secondary entrypoints to optimize the bundle size (#1625) ([4aeca83](4aeca83)), closes [#1625](#1625) [#1556](#1556)
* Release/17.0.0 (#1640) ([0cd2dcf](0cd2dcf)), closes [#1640](#1640) [#1551](#1551) [#1543](#1543) [#1563](#1563) [#1556](#1556) [#1610](#1610) [#1619](#1619)

### Features

* **auth:** configure auth with provider ([e046947](e046947))
* **auth:** remove auth.module for circular dependency ([2bc4906](2bc4906))
* automate the release and publishing with semantic-release ([#1683](#1683)) ([bc4e61e](bc4e61e))
* **directions:** added possibility to toggle between two routing sources ([#1644](#1644)) ([ef607e2](ef607e2))
* **geo:** add modularity for search and direction ([#1669](#1669)) ([cd199eb](cd199eb))
* **geo:** change printed text to Sans Serif font ([#1626](#1626)) ([748099a](748099a))
* **geo:** print - add map attribution under the map ([#1670](#1670)) ([dcb3dda](dcb3dda))
* **geo:** update Openlayers to v9 ([#1642](#1642)) ([06ed562](06ed562))
* **integration:** catalog keep selection when changing tools ([#1654](#1654)) ([946d9f4](946d9f4))
* replace our icon library @mdi/angular-material with the Google Font - Material Symbol ([#1664](#1664)) ([f74c495](f74c495))

### BREAKING CHANGES

* **geo:** - SearchState and SearchService no more provided in root. They depend on the SearchSource who are no more provided in the root.
- Analytics capability is provided with the SearchService directly.
- DirectionModule, provideDirectionsSourceService is removed, use the provideDirection.
* **auth:** Replace by provideAuth and call the component directly
* **auth:** AuthModule is deprecated and use the provideAuthentification for the configuration
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
* 'provideDefaultLanguageLoader' and 'provideLanguageLoader' are replaced by 'DEFAULT_LANGUAGE_LOADER' and set directly inside the TranslationConfig

* build(packagr): keep only one config

* feat(core): split in submodule for bundle optimization BREAKING CHANGES
- refact(compression): convert and move to utils packages BREAKING CHANGE

* build(clean-exports): account all keys in the exports object
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
- provideDefaultLanguageLoader and provideLanguageLoader are replaced by DEFAULT_LANGUAGE_LOADER and set directly inside the TranslationConfig

* feat(demo): Convert all components, directives and pipes to standalone
* ToolboxColor is now a type
alecarn pushed a commit that referenced this pull request Aug 22, 2024
# [17.0.0](v16.3.0...v17.0.0) (2024-08-22)

### Bug Fixes

* **auth:** include submodule scss ([8b40bcf](8b40bcf))
* **auth:** use IgoAuthModule instead of TranslateModule ([3277105](3277105))
* build ([edec59d](edec59d))
* **build:** clean up exports in the distributed package.json [#1616](#1616) ([#1617](#1617)) ([ecd7013](ecd7013))
* bump node engine version to a min of 18.13 ([e95a1ca](e95a1ca))
* bump version ([e315fc1](e315fc1))
* **common:** export EntityOperation like it used to ([#1658](#1658)) ([32bbddb](32bbddb))
* **context:** add workspace option with layers when we export context ([#1660](#1660)) ([a904cbd](a904cbd))
* **context:** poi-button add PoiService provider ([7388ac4](7388ac4))
* **context:** revert change causing duplicate list ([fd525c2](fd525c2))
* **core:** add more details to test (Re-Trigger pipeline) ([af7d981](af7d981))
* **core:** remove duplicated load of config BREAKING CHANGE ([ae2dd97](ae2dd97))
* **demo:** add doc for icons ([0526198](0526198))
* **demo:** directions add required search sources ([3f251e7](3f251e7))
* deploy ([3f11802](3f11802))
* **feature-details:** fix depot url regex ([#1690](#1690)) ([57c425c](57c425c))
* **geo:** check Capability contains layers list before loop ([#1570](#1570)) ([f4959eb](f4959eb))
* **geo:** color-picker style adjustments for the modal ([#1681](#1681)) ([8e0561e](8e0561e))
* **geo:** ensure ogc filter accept today and now ([#1622](#1622)) ([551e258](551e258))
* **geo:** garantine no comma in the beginning and end of search term ([#1608](#1608)) ([d5e20f8](d5e20f8))
* **geo:** import and export shp file ([#1665](#1665)) ([67725f7](67725f7))
* **geo:** inporting vector (igo2 issues [#1146](#1146)) ([fb9d1eb](fb9d1eb))
* **geo:** ogc filter, remove invalid character for the As filter ([#1651](#1651)) ([2303525](2303525))
* **geo:** print add option to show hide north arrow direction ([#1672](#1672)) ([8b0e11b](8b0e11b))
* **geo:** Print set the same horizontal margin for the map ([#1662](#1662)) ([ca633c1](ca633c1))
* **geo:** register svg icon for layer-list ([de1fa78](de1fa78))
* **icon:** revert some icon change ([04fd431](04fd431))
* **integration:** check if workspace search source is defined ([#1609](#1609)) ([0fd5c83](0fd5c83))
* **integration:** fix advanced coordinate error Maximum call stack size exceeded ([#1620](#1620)) ([f0c5db6](f0c5db6))
* **integration:** update coordinate if projection system change ([#1661](#1661)) ([382f913](382f913))
* lint commit message ([#1684](#1684)) ([02fcf07](02fcf07))
* missing auth dependencies in geo and integration ([5269984](5269984))
* ol version to 9.1.0 ([7483865](7483865))
* release-demo path ([3180d05](3180d05))
* retry publish ([237bc1b](237bc1b))
* **search-bar:** trigger search on click ([114f911](114f911))
* **utils:** remove moment.js and delete datetime.utils BREAKING CHANGE- This file was added in the v16 but was not documented. Maybe we could mute this one ([c08cdd1](c08cdd1))
* **utils:** Vitejs raise an error without the default import ([9354bd3](9354bd3))

* Core Refactor - migrate to secondary entrypoints to optimize the bundle size (#1625) ([4aeca83](4aeca83)), closes [#1625](#1625) [#1556](#1556)
* Release/17.0.0 (#1640) ([0cd2dcf](0cd2dcf)), closes [#1640](#1640) [#1551](#1551) [#1543](#1543) [#1563](#1563) [#1556](#1556) [#1610](#1610) [#1619](#1619)

### Features

* **auth:** configure auth with provider ([e046947](e046947))
* **auth:** remove auth.module for circular dependency ([2bc4906](2bc4906))
* automate the release and publishing with semantic-release ([#1683](#1683)) ([bc4e61e](bc4e61e))
* **directions:** added possibility to toggle between two routing sources ([#1644](#1644)) ([ef607e2](ef607e2))
* **geo:** add modularity for search and direction ([#1669](#1669)) ([cd199eb](cd199eb))
* **geo:** change printed text to Sans Serif font ([#1626](#1626)) ([748099a](748099a))
* **geo:** print - add map attribution under the map ([#1670](#1670)) ([dcb3dda](dcb3dda))
* **geo:** update Openlayers to v9 ([#1642](#1642)) ([06ed562](06ed562))
* **integration:** catalog keep selection when changing tools ([#1654](#1654)) ([946d9f4](946d9f4))
* **ogcFilters:** add multiple selection for autocomplete with chips ([#1274](#1274)) ([c0235b0](c0235b0))
* replace our icon library @mdi/angular-material with the Google Font - Material Symbol ([#1664](#1664)) ([f74c495](f74c495))

### BREAKING CHANGES

* **geo:** - SearchState and SearchService no more provided in root. They depend on the SearchSource who are no more provided in the root.
- Analytics capability is provided with the SearchService directly.
- DirectionModule, provideDirectionsSourceService is removed, use the provideDirection.
* **auth:** Replace by provideAuth and call the component directly
* **auth:** AuthModule is deprecated and use the provideAuthentification for the configuration
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
* 'provideDefaultLanguageLoader' and 'provideLanguageLoader' are replaced by 'DEFAULT_LANGUAGE_LOADER' and set directly inside the TranslationConfig

* build(packagr): keep only one config

* feat(core): split in submodule for bundle optimization BREAKING CHANGES
- refact(compression): convert and move to utils packages BREAKING CHANGE

* build(clean-exports): account all keys in the exports object
* IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
- provideDefaultLanguageLoader and provideLanguageLoader are replaced by DEFAULT_LANGUAGE_LOADER and set directly inside the TranslationConfig

* feat(demo): Convert all components, directives and pipes to standalone
* ToolboxColor is now a type
@alecarn
Copy link
Collaborator Author

alecarn commented Aug 22, 2024

🎉 This PR is included in version 17.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant