Skip to content

Releases: CiscoM31/godata

v1.0.11

07 May 22:30
a12ce3f

Choose a tag to compare

What's Changed

Improve geo spacial query support

  • Support geo.distance() and geo.intersects() queries
  • Add support for Edm.GeographyPoint type

Changes to existing behavior

  • Treat geo.intersects() function as having a boolean return value. fixes prior bug where it was treated as non-boolean
  • Change parsing of Edm.GeographyPoint literal to parse into Token.Value as string ' '
  • Change parsing of Edm.GeographyPolygon and Edm.GeometryPolygon literal to parse into Token.Value as string ' , ...'

Full Changelog: v1.0.10...v1.0.11

v1.0.10

29 Jan 18:22
7dbcffb

Choose a tag to compare

What's Changed

Add additional $select and $expand query validation

  • Disallow $ symbol in $select statement
  • Disallow empty path segments in $expand statement.

Full Changelog: v1.0.9...v1.0.10

v1.0.9

05 Dec 17:44
11c3954

Choose a tag to compare

What's Changed

*Support 'case' statement as defined at https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#sec_case. This PR's implementation supports up to 10 cases in the case statement.

The parse-tree representation of 'case' is a node of type ExpressionTokenCase, containing a list of ExpressionTokenCasePair nodes, one for each colon-delimited expression pair. Each ExpressionTokenCasePair node has two children. Child 0 is the boolean expression and child 1 is the value expression.

Full Changelog: v1.0.8...v1.0.9

v1.0.8

20 Jul 00:03
e424590

Choose a tag to compare

What's Changed

  • Each $compute item specifies the name of a new field to be created in the response schema. Permit field nesting by supporting the path separator / for the computed field name.
  • Fix splitting of $compute parameter based on comma separator. The existing implementation incorrectly split on all commas including those located within a single $compute item such as to separate function arguments.

Full Changelog: v1.0.7...v1.0.8

Disallow extraneous commas in $expand $select $orderby query options

08 Feb 18:00
9bbe242

Choose a tag to compare

What's Changed

  • Disallow extraneous commas when the ComplianceIgnoreInvalidComma compliance flag is set in the Go context (ie ctx function argument in the godata.ParseRequest() function). See PR for additional details.

Full Changelog: v1.0.6...v1.0.7

v1.0.6

25 Oct 19:56
79f323b

Choose a tag to compare

What's Changed

  • Add support for $compute.
  • Add support for custom functions within odata query (functions introduced by application using godata package).
  • Introduce implementation interface as abstraction for types GoDataQuery and ExpandItem.

Full Changelog: v1.0.5...v1.0.6

v1.0.5

15 Nov 22:16
f32e8f0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.4...v1.0.5

Fix tokenization of empty string token in filter

21 Jun 19:06
d70e191

Choose a tag to compare

Merge pull request #27 from CiscoM31/empty-token

Fix tokenization of empty token

Fix static analysis issues identified by golangci-lint

18 Jun 15:28
d11446f

Choose a tag to compare

  1. Add missing error handling
  2. Fix static analysis issues

Fix go module name

18 Jun 06:07
05913fa

Choose a tag to compare

Merge pull request #25 from CiscoM31/fix-go-mod

fix module name in go.mod