Skip to content

Releases: CiscoM31/godata

v1.0.10

29 Jan 18:22
7dbcffb
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  1. Add missing error handling
  2. Fix static analysis issues

Fix go module name

18 Jun 06:07
05913fa
Compare
Choose a tag to compare
Merge pull request #25 from CiscoM31/fix-go-mod

fix module name in go.mod

Bug fixes

18 Jun 05:27
fd052c9
Compare
Choose a tag to compare
  1. Fix unescaping of string tokens that contain two consecutive single quotes
  2. Fix static analysis issues