Skip to content

Releases: terrestris/shogun-util

v6.0.1

13 Jul 10:02
Compare
Choose a tag to compare

6.0.1 (2023-07-13)

Bug Fixes

  • pass keep client config param recursively (b9950e4)

v6.0.0

06 Jul 14:22
Compare
Choose a tag to compare

6.0.0 (2023-07-06)

Bug Fixes

  • move to array in gerneric type (dc830da)

Features

  • introduce GenericService as abstract base service (7821c87)

BREAKING CHANGES

  • generics in graphql service require single instances
    now
  • refactor services such that they inherit from
    GenericService

MIGRATION NOTES

Due to the changes in datatype of field data in GraphQLResponse (generic is now a simple type and not an array anymore) you may change the datatype of your result

OLD - Deprecated

const query: GraphQLQueryObject = {
      query: findLayerById,
      variables: {
        id: 4711
      }
    };

const data: Layer[] = await client.graphql().sendQuery<Layer>(query);
// data is always an array

NEW

const query: GraphQLQueryObject = {
    query: findLayerById,
    variables: {
    id: 4711
    }
};

// result is a layer
const {
    findLayerById: result
} = await client.graphql().sendQuery<Layer>(query);


// result will be a layer array if generic is set as array
const {
    findAllLayers: result
} = await client.graphql().sendQuery<Layer[]>(query);

v5.7.0

05 Jul 07:15
Compare
Choose a tag to compare

5.7.0 (2023-07-05)

Features

  • introduce graphQL query to find application by id (575000c)

v5.6.2

26 Jun 11:51
Compare
Choose a tag to compare

5.6.2 (2023-06-26)

Bug Fixes

  • fix detection of wms time dimension attributes after switch to fast-xml-parser (b2a4579)

v5.6.1

21 Jun 09:47
Compare
Choose a tag to compare

5.6.1 (2023-06-21)

Bug Fixes

v5.6.0

19 Jun 07:10
Compare
Choose a tag to compare

5.6.0 (2023-06-19)

Features

  • optionally keep client config (57731de)

v5.5.0

02 Jun 12:21
Compare
Choose a tag to compare

5.5.0 (2023-06-02)

Features

  • add searchConfig to layer (29093ef)

v5.4.1

02 Jun 08:36
Compare
Choose a tag to compare

5.4.1 (2023-06-02)

Bug Fixes

  • fixes edit form component types (6c0f020)
  • sync edit form component types with backend (aa1912f)

v5.4.0

01 Jun 13:56
Compare
Choose a tag to compare

5.4.0 (2023-06-01)

Features

  • add models to specify form configurations (f8c2c92)
  • adds editable flag to layer (484457c)

v5.3.2

08 May 06:40
Compare
Choose a tag to compare

5.3.2 (2023-05-08)

Bug Fixes

  • only fetch layers with layerId (1f708b4)