Skip to content

Latest commit

 

History

History
461 lines (323 loc) · 32.7 KB

CHANGELOG.md

File metadata and controls

461 lines (323 loc) · 32.7 KB

14.1.4 (2024-05-28)

Bug Fixes

14.1.3 (2024-05-27)

Bug Fixes

  • add missing functions to FunctionUI (29d8231)
  • deps: update dependency @ant-design/icons to v5.3.7 (f705d92)
  • deps: update dependency @types/lodash to v4.17.4 (1820200)
  • deps: update dependency antd to v5.17.2 (d0ab3b6)
  • deps: update dependency antd to v5.17.4 (5bfe5fa)
  • deps: update dependency monaco-editor to ^0.48.0 (afa76a2)
  • deps: update dependency monaco-editor to ^0.49.0 (e956cd3)
  • deps: update dependency proj4 to v2.11.0 (06bdfbd)
  • deps: update dependency typescript-json-schema to ^0.63.0 (3e3f003)

14.1.2 (2023-12-21)

Bug Fixes

14.1.1 (2023-12-21)

Bug Fixes

14.1.0 (2023-12-04)

Features

  • add disableSprite property (eefedc1)
  • add Sprite support to ImageField (fe90cd3)
  • deps: update geostyler-style and ol-parser (68050f5)

Bug Fixes

  • adapt icon related typing (f52d2b8)
  • add missing i18n for sprite label (5b68e8d)
  • fix border radius for stacked buttons (ece9977)
  • update config and typing (034946d)

14.0.0 (2023-11-24)

⚠ BREAKING CHANGES

  • Following props of <BooleanExpressionInput> changed: label was replaced with labelOn and labelOff. checkboxProps was renamed to switchProps and now accepts the properties of antd <Switch>.

Features

  • add editors visibility fields to composition (#2387) (eaa7882)
  • add LineEditor graphicFill and graphicStroke to composition (#2383) (02a8a20)
  • i18n: update translation for zh_CN (320f349)
  • replace checkbox with switch for boolean fields (#2385) (a654004)

Bug Fixes

  • deps: update dependency @monaco-editor/react to v4.5.2 (#2354) (a50c89a)
  • deps: update dependency monaco-editor to ^0.41.0 (#2343) (49f919f)
  • deps: update dependency typescript-json-schema to ^0.60.0 (#2357) (ec1cfd0)
  • fixes rule generation for 0 values (2b533ef)
  • remove Forms and set vertical layout in BulkEditor (#2388) (4abf02e)
  • visibility of classification button (#2380) (5e2f050)

13.1.1 (2023-08-14)

Bug Fixes

  • deps: update dependency typescript-json-schema to ^0.59.0 (f899617)
  • move thrown error to SLDRenderer (699a86e)

13.1.0 (2023-07-13)

Features

  • add onActiveParserChange to CodeEditor (#2314) (cc646cd)
  • add FunctionUI to ColorField (c7a838b)

Bug Fixes

  • deps: update dependency geostyler-openlayers-parser to v4.2.1 (d597f49)
  • deps: update dependency monaco-editor to ^0.40.0 (ffe268d)
  • deps: update dependency typescript-json-schema to ^0.58.0 (2960294)
  • readd OpenLayers as default rendererType (46c3d5c)
  • set ColorPicker to full width (e601c23)

13.0.1 (2023-06-23)

Bug Fixes

  • add missing GeoStylerContextInterface export (0f8214e)

13.0.0 (2023-06-22)

⚠ BREAKING CHANGES

  • removes the 'data' / 'internalDataDef' prop from several components and removes the Preview component
    • removed all default exports from react components
  • removed many exported *DefaultProps types
  • modifies API of GeoStylerContext.unsupportedProperties
  • removes legacy UnsupportedPropertiesContext
    • removes legacy CompositionContext and CompositionUtil
  • removes the withDefaultsContext and use GeoStylerContext instead
  • removes properties from Style and RuleTable and use GeoStylerContext instead
  • removes legacy DefaultValueContext
  • removes iconEditorProps and iconLibraries from Editor and CardStyle
  • removes iconLibraries and imageFieldProps from IconEditor
  • remove several props from Style and RuleGeneratorWindow and use GeoStylerContext instead
  • removes filterUIProps from FilterEditorWindow and FilterTree
  • enableClassification property in Rules is replaced with disableClassification
  • The 'react-color' colorpicker was replaced with 'ColorPicker' of 'antd'. All react-color specific props were removed and replaced with the props of antd's colorpicker. Also, the prop 'color' was renamed to 'value'.
  • removes the DataProvider

Co-authored-by: Kai Volland volland@terrestris.de

  • changed value property of LineCapField and LineJoinField from cap / join to value
  • This removes the deprecated CompositionContext in favor of the new GeoStylerContext composition from Editor. This also removes the property colorRamps from Editor without replacement. This will be re-added soon.
  • This removes the properties showAmount and showDuplicates from RuleCard. Please use GeoStylerContext.composition.Rule.amount and GeoStylerContext.composition.Rule.duplicate instead.
  • This removes the properties showAmountColumn and showDuplicatesColumn from and thereby also from <Style>. Please use GeoStylerContext.composition.Rule.amount.visibility and GeoStylerContext.composition.Rule.duplicate.visibility instead.
  • OpacityField, WidthField and SizeField now expect the corresponding value to passed as value instead of opacity, width, size as this conflicted with some properties of the Inputs
  • the javascript file of the browser build is now called geostyler.js.iife.js
  • This removes the defaultValues property from RasterEditor. Please use GeoStylerContext.composition instead.
  • This removes the support for the deprecated CompositionContext in favor of the new GeoStylerContext for the RasterEditor. Please use GeoStylerContext.composition now.
  • Peer dependencies of antd and @ant-design/icons do require versions 5.x
  • This removes the support for the deprecated CompositionContext in favor of the new GeoStylerContext for the TextEditor. This also removes the defaultValues property for the TextEditor. Please use GeoStylerContext.composition instead.
  • This removes the support for the deprecated CompositionContext in favor of the new GeoStylerContext for the WellKnownNameEditor. This also removes the defaultValues property for the WellKnownNameEditor. Please use GeoStylerContext.composition instead.
  • This removes the support for the deprecated CompositionContext in favor of the new GeoStylerContext for the MarkEditor. This also removes the defaultValues property from MarkEditor.
  • This removes the support of the deprecated CompositionContext in favor of the new GeoStylerContext for the LineEditor. This also removes the defaultValue property from LineEditor. Please use GeoStylerContext.composition instead. For now, composition of graphicFill and graphicStroke was changed without replacement. Support will be re-added again in the future.
  • This removes the support of the deprecated CompositionContext in favor of the new GeoStylerContext for the IconEditor. This also removes the defaultValues property from IconEditor. Please use GeoStylerContext.composition instead.
  • This removes the support of the deprecated CompositionContext in favor of the new GeoStylerContext for the FillEditor. This also removes the defaultValues property from FillEditor. Please use GeoStylerContext.composition instead.

Features

  • add 'data' prop to GeoStylerContext (760f557)
  • add Croatian translations (06c5ee2)
  • add SLDRenderer to CompositionContext (1766f40)
  • add support for all EPSG codes to PreviewMap (6df76dd)
  • introduce FunctionUI and ExpressionInputs (697b73a)
  • introduces StringExpressionSelect (32fbbc7)
  • make use of useGeoStylerLocale (2f05973)
  • remove DataProvider (#2210) (15ca661)
  • remove deprecated Rule and compact property (e683b3f)
  • removes legacy UnsupportedPropertiesContext (736f91c)
  • replace react-rnd window like components with antd modals (9333f4b)
  • replace remove symbolizer button with removable tabs (#2152) (34ad73d)
  • update geostyler dependencies (a4ca370)
  • update GeoStylerContext (4b7ba05)
  • Use ExpressionInputs in Symbolizer Fields (#2136) (94f13e6)
  • use GeoStylerContext composition for ColorMapEditor (#2135) (86d7db2)
  • use GeoStylerContext composition for ComparisonFilter (#2141) (4e22016)
  • use GeoStylerContext composition for Editor (#2148) (fb84746)
  • use GeoStylerContext composition for MarkEditor (#2125) (d1bbfd0)
  • use GeoStylerContext composition for RasterChannelEditor (#2134) (e02312e)
  • use GeoStylerContext composition for RasterEditor (#2131) (5039e1d)
  • use GeoStylerContext composition for RuleCard and RuleOverview (#2145) (346ffad)
  • use GeoStylerContext composition for Rules and RuleTable (#2142) (ad98b61)
  • use GeoStylerContext composition for TextEditor (#2130) (1a2e01c)
  • use GeoStylerContext composition for WellKnownNameEditor (#2129) (60e84bb)
  • use GeoStylerContext composition on FillEditor (#2119) (b0e0949)
  • use GeoStylerContext composition on IconEditor (#2121) (8549a2c)
  • use GeoStylerContext composition on LineEditor (#2123) (b05f3db)
  • visibility field (#2155) (7b9c05d)

Bug Fixes

  • add missing typings (c2ec232)
  • add missing whitespace (938e082)
  • add the symbolizer kind to the tab label (dfda25d)
  • add typing (da047eb)
  • antd-update: include reset css (a63a464)
  • antd-update: migrate to antd v5 (451ab9b)
  • change 3 strings in french (6e0aeae)
  • clone symbolizers before parsing (46ed80d)
  • CodeEditor: model only for geostyler-style (1f89c9a)
  • correct the renovate JSON (ee71abd)
  • deps: update dependency @types/lodash to v4.14.195 (594331c)
  • deps: update dependency monaco-editor to ^0.39.0 (30be095)
  • deps: update dependency typescript-json-schema to ^0.57.0 (eadfab7)
  • fix RuleTable example (a3f0053)
  • improve test performance (#2143) (4dd5a8c)
  • remove unused import (81a7257)
  • resolve some ts any warnings (8b99cc5)
  • set role (4f72ecd)
  • update CodeEditor to allow JSON objects (df05b06)
  • update error messages (585eaec)
  • update outline opacity label for en_US (c3dc256)
  • update RuleCard example (3e09ece)

Miscellaneous Chores

  • update peer dependencies of antd (9b94844)

  • Use antd ColorPicker for ColorField (#2213) (9ed225d), closes #2213

Code Refactoring

  • update and refactor usage of GeoStylerContext (82cb955)
  • use vite for dev & browser build (#2133) (e8d9dac)

12.0.0 (2023-03-13)

⚠ BREAKING CHANGES

  • This updates the props of the Renderer component. Now, props depend on the provided renderer type. For SLD, only the props for the SLDRenderer will be applicable, for OpenLayers, only the props for the oLRenderer will be applicable.
  • Multiple props of components that are related to have been updated. Mainly, existing properties were removed in order to prepare for the usage of GeoStylerContext.
  • The property unknownSymbolizerText of was moved to the locale property in order to provide translations.
  • Removes props filterUiProps, iconLibraries, colorRamps from Rules. Moves showAmount, showDuplicates to RuleCard and to ruleCardProps on Rules.
  • Moved src/Component/Symbolizer/Renderer/Renderer to src/ComponentRenderer/OlRenderer. Moved src/Component/Symbolizer/SLDRenderer to src/Component/Renderer/SLDRenderer. Moved src/Renderer/Renderer to src/Renderer/Renderer. Added OlRenderer specific props to Renderer.
  • Removed prop was replaced with props colorRamps, useBrewerColorRamps and colorSpaces in order to harmonize CardStyle with Style.
  • The label prop was removed from MaxScaleDenominator and MinScaleDenominator. The labels are now part of i18n and can be configured via the locale property.

Features

  • prepare GeoStylerContext (e5529a3)
  • update CompositionContext type (5edda76)
  • use vertical form layout (9cc8e08)

Bug Fixes

  • add missing GeoStylerContext to index.ts (5f74578)
  • adds dynamic translation (2ba62a7)
  • adjust paddings and margins on form items (88c7a78)
  • fixing imports (108a72a)
  • make all CompositionContext props optional (5d8c8b5)
  • remove Omit on oLRendererProps typing (96f867a)
  • remove unneded lines (f8402c0)
  • set missing property in CardStyle (76f6d90)

breaking

  • change props of Renderer component (748a67c)
  • move Editor property unknownSymbolizerText to locale (8148ca7)
  • refactor renderer components (ce87e0f)
  • remove label as a prop from MaxScaleDenominator and MinScaleDenominator (ed3c2af)
  • remove ruleGeneratorProps from CardStyle (c527753)
  • remove unnecessary props from Rules (f037cf7)
  • update props of CardStyle related components (66b1ed1)

11.1.1 (2023-01-16)

Bugfixes

  • apply suggestions from code review (b8486e8)
  • make RuleGeneratorUtil less prone to errors (d55fd15)

11.1.0 (2023-01-11)

Features

  • add offset fields to IconEditor (ab6af25)
  • add offset fields to WellKnownNameEditor (590d1e0)
  • add perpendicular offset field to LineEditor (adadc54)
  • expand FilterTree by default (0e88d75)

Bugfixes

  • adapt path and defaultValue for editors (cb74226)
  • remove internal state handling for CardStyle (58635a1)

11.0.0 (2022-12-13)

⚠ BREAKING CHANGES

  • This forces a major release for a previously wrongly formatted commit message (commit sha 30e19de16a6310dcd79bf4e4292b33bf80004c0d) that lead to the unintended release of version 10.3.1, which includes a breaking change. The code of this release will be identical with the code of version 10.3.1.

Breaking changes

10.3.1 (2022-12-13)

⚠ BREAKING CHANGES

  • The components DragDroppable, DropIndicator, Removable as well as DndUtil and the useDragDrop hook were removed. Component RemovableItem was moved from src/Components/Removable/RemovableItem/RemovableItem.tsx one level up to src/Components/RemovableItem/RemovableItem.tsx. The newly introduced ref forwarding for SymbolizerCard and RuleCard were removed.

  • replace react-dnd with dnd-kit (30e19de)

10.3.0 (2022-12-07)

Features

  • add Drag and Drop for rules and symbolizers to CardStyle (33dbbbb)

Bugfixes

10.2.0 (2022-11-24)

Features

  • add uploadButtonProps to DataLoader (7c4976c)
  • adds srsName field to the WfsParserInput (0c2a1c1)

Bugfixes

  • add check for empty extent to PreviewMap (e8a881c)
  • add ColorRampCombo to index exports (9e0b985)
  • fix onValueChange for between comparions (f38330b)
  • fix style of ColorRampCombo (d36790a)
  • use UploadButtonProps (4fbd55f)

10.1.0 (2022-11-17)

Features

Dependencies

  • update version to 10.0.0 (791a7a7)

Changes in configuration

Bugfixes

  • add check for string before using .toLowerCase() in TextFilterField (fea7117)
  • extend version range to allow ol >=6 (abbcc98)
  • fix onStyleChange for async readStyle (9416ddd)
  • introduce useRef for timeout (1ed49f4)

10.0.0 (2022-11-15)

Features

  • introduces FieldUtil (d592d99)
  • introduces UnsupportedPropertiesContext (1fc6be5)

Changes in configuration

  • fix copy/paste left-over in .releaserc (a115028)
  • introduce husky (46f8c7d)
  • introduce semanti release (d3820a7)

Bugfixes

  • add missing CardLayout to index.ts (11299e0)
  • close curly braces on template attributes (84fc4d1)
  • fix the width of some input fields (e3de4cf)
  • fixes label in FillEditor (cbc757e)
  • fixes uploadbutton loading icon (a4cc6ed)
  • remove unused import in example (8856067)
  • undo propName adaption (483c032)
  • zoom to data if provided (a6d4440)

Breaking changes

  • add nullToUndefined to onChange listener (43757e2)
  • applies translations to FilterEditor (f2286e8)
  • package updates (#1951) (6c3b917)
  • update geostyler-wfs-parser (acc20e9)