Skip to content

1.3.0

Compare
Choose a tag to compare
@lbguilherme lbguilherme released this 23 Oct 18:24
a2de06c

Playground Bookmark (#96)

You can now bookmark endpoints on the playground. They are kept in your local storage.

image

Hidden annotation (#111)

The is a new annotation: @hidden. It can be added to functions so that they won't show in generated client targets nor in the playground. But they will still exist and work. This can be used for deprecating an old function that no one should use anymore, but that exists for compactibility reasons.

@hidden // old function
fn getUsers(): User[]

Or to create REST-only functions, in combination with @rest:

@hidden
@rest GET /menu/{menuId}/products
fn getProducts(menuId: uuid): Product[]

Minor features:

  • Accept dates encoded as ISO 8601 on Node and Browser targets (#86)
  • Add constructor to all Flutter types, with proper annotation on required fields (#93)
  • Collect request duration (basic stats) on Android (#101, #102)
  • Improve Flutter type encoding and decoding (#109)

Fixes:

  • Fix deserialization of fields that are Kotlin reserved words on Android (#85)
  • Fix bigint on latest TypeScript (#87, #92)
  • Fix display of response and error on playground (#98, #99)
  • Fix throwing errors not covered by @throws annotation (#103)
  • Fix "Error:" prefix on error messages (#113)

Other changes:

  • Change identation to 2 spaces on the entire codebase, and add prettier (#106)
  • Add strict eslint to all typescript projects (#108)
  • Add Node 14 on CI
  • Add Flutter 1.12, 1.17, 1.20 and 1.22 on CI (#107)
  • Update dependencies

Thanks to @bira37, @joshuapassos, @MichelRibeiro1, @renatovassao, @daniloapr, @danielpsantiago, @lbguilherme, @dgadelha, @kevinoliveira!