Releases: infra-geo-ouverte/igo2-lib
v18.0.0-next.7
v18.0.0-next.6
v18.0.0-next.5
18.0.0-next.5 (2024-11-12)
Bug Fixes
- core: language add static loader and options to ignores libs locale (0bd0ab9)
v18.0.0-next.4
18.0.0-next.4 (2024-11-12)
Bug Fixes
- core: language add ability to define the default language (a3c059e)
v18.0.0-next.3
v18.0.0-next.2
v18.0.0-next.1
18.0.0-next.1 (2024-09-03)
BREAKING CHANGES
- Angular v18 update
- some argument of MANY methods has been removed for unused reason
- Overlay directive and service are remove since it's not functional
v17.0.1-next.2
17.0.1-next.2 (2024-09-03)
relaunch pipeline, commit not detected in merge squash (8737313)
v17.0.1-next.1
17.0.1-next.1 (2024-08-29)
Bug Fixes
- demo: add node_modules in stylePreprocessorOptions for mat-datetimepicker (409c512)
v17.0.0
17.0.0 (2024-08-22)
Bug Fixes
- auth: include submodule scss (8b40bcf)
- auth: use IgoAuthModule instead of TranslateModule (3277105)
- common: export EntityOperation like it used to (#1658) (32bbddb)
- context: add workspace option with layers when we export context (#1660) (a904cbd)
- context: poi-button add PoiService provider (7388ac4)
- demo: add docs for the new icons library (0526198)
- demo: directions add required search sources (3f251e7)
- geo: fix depot url regex for the feature-details (#1690) (57c425c) @LAMM26
- geo: check if Capability contains layers list before loop (#1570) (f4959eb)
- geo: color-picker style adjustments for the modal (#1681) (8e0561e)
- geo: ensure ogc filter accept today and now (#1622) (551e258)
- geo: garantine no comma in the beginning and end of search term (#1608) (d5e20f8)
- geo: import and export shp file (#1665) (67725f7)
- geo: inporting vector (igo2 issues #1146) (fb9d1eb)
- geo: ogc filter, remove invalid character for the As filter (#1651) (2303525)
- geo: print add option to show hide north arrow direction (#1672) (8b0e11b)
- geo: print change printed text to Sans Serif font (#1626) (748099a) @aziz-access
- geo: print add map attribution under the map (#1670) (dcb3dda)
- geo: print set the same horizontal margin for the map (#1662) (ca633c1)
- geo: register svg icon for layer-list (de1fa78)
- integration: check if workspace search source is defined (#1609) (0fd5c83)
- integration: fix advanced coordinate error Maximum call stack size exceeded (#1620) (f0c5db6)
- integration: update coordinate if projection system change (#1661) (382f913) @pelord
- integration: catalog keep selection when changing tools (#1654) (946d9f4)
- missing auth dependencies in geo and integration (5269984)
- search-bar: trigger search on click (114f911)
Features
- auth: configure auth with provider (e046947) @alecarn
- directions: added possibility to toggle between two routing sources (#1644) (ef607e2)
- geo: add modularity for search and direction (#1669) (cd199eb)
- ogcFilters: add multiple selection for autocomplete with chips (#1274) (c0235b0)
BREAKING CHANGES
Lots of effort has been made to migrate the library to a more modular and tree shakable structure for performance optimisation and lightweight bundle size.
Secondary entrypoints or submodule structure
These packages (Auth, Common, Core) have been converted to secondary entrypoint structure to optimize bundle size. This change will affect how you import the package.
Before:
import { IgoConfigModule } from '@igo2/core';
After:
import { IgoConfigModule } from '@igo2/core/config';
Standalone component
In our simplification and optimization efforts, we have changed the structure of some components to be standalone and no longer depend on a module instanciation. You will see many 'deprecated' modules and we encourage you to import the component directly or the associated provider. You will see a intellisense note for the deprecatetion to guide you in this migration.
Icon library
The icon library as change, @mdi/angular-material
is replaced by the Google Font - Material Symbol
. This will allow to optimize the bundle size and modernize our icons (#1664) (f74c495)
Core
Loading the configuration caused some issues and we are optimizing the loading to avoid duplicating loading for translation. (ae2dd97)
• provideConfigLoader and provideConfigOptions is removed, you need to call provideConfig() directly
• The behavior change for the CoreModule, the provideTranslation is not include by default. Instead we encourage you to directly declare the provideConfig
and provideTranslation
in you main file or you will need to call the CoreModule.forRoot()
to include the config and translation provider.
IgoLanguageModule no longer declares the forRoot for TranslateModule. In the lazy loaded route, this was instantiating multiple instances of the TranslateModule and causing issues with mutliple services for the translation.
• defaultLanguageLoader is not exported anymore
CompressionService has been converted to a simple Typescript class compression.utils.ts
and moved to the utils package. It's no more injectable instead import it directly.
Geo
SearchState and SearchService are no longer provided in the root. They depend on SearchSource instances and are not imported into the root by default. The Analytic capability is provided via providerSearch
and handled directly in the SearchService.
Before:
providers: [
SearchService,
provideSearchSourceService(),
provideDefaultIChercheSearchResultFormatter(),
provideDefaultCoordinatesSearchResultFormatter(),
provideILayerSearchResultFormatter()
]
After:
providers: [
provideSearch([withIChercheSource(), withWorkspaceSource()], {
analytics: true
}),
SearchState
]
DirectionModule, provideDirectionsSourceService is removed, use the provideDirection()
.
Auth
AuthModule has been removed and replaced by the provideAuthentification
provideAuthentification(
withMicrosoftSupport('add'),
withMicrosoftSupport('b2c')
)
'provideDefaultLanguageLoader' and 'provideLanguageLoader' are not exported anymore. Use the provideTranslation and you could define a custom loader and provide it in the provider options.
Utils
Remove moment.js from it's dependencies and delete datetime.utils.ts (c08cdd1)
Developer
- automate the release and publishing wit...