Skip to content

Releases: kubukoz/smithy-playground

v0.1.2

18 Jul 14:55
30587c4
Compare
Choose a tag to compare

Deprecation warnings

When a deprecated field or union member is used (or if the target shape used by them is deprecated), it'll be highlighted as a warning with the deprecation tag (text strikethrough).
This also applies to enum values that were parsed by value instead of name (see #45 from v0.1.1.

Deprecated operations/services aren't handled in a special way yet. (this was added in 0.3.8)

image

What's Changed

Full Changelog: v0.1.1...v0.1.2

v0.1.1

12 Jul 20:30
0c798b4
Compare
Choose a tag to compare

What's Changed

  • Optional/deprecated docs in #44
  • Prefer enum names to values in #45

Full Changelog: v0.1.0...v0.1.1

v0.0.27

11 Jul 23:46
Compare
Choose a tag to compare

What's Changed

More verbose completion descriptions

Previously, you'd see the types of the fields you're getting completions for:

image

Now you'll get more context, e.g. for a string MyString you'll know that it's a String:

image

UUID support

UUIDs are now supported in queries (written in string literals). There are also completions which insert a random UUID (similar to timestamp completions).

Timestamp errors

Previously, you would never see a timestamp parsing failure, due to a bug in smithy4s. There is now a workaround for that, so you'll immediately know if you mistype a timestamp.

The underlying issue in smithy4s has been fixed and will be released in the 0.14.0 release.

Full Changelog: v0.0.26...v0.0.27

v0.0.26

11 Jul 18:25
Compare
Choose a tag to compare

What's Changed

Since 0.0.22 (last major change), we have the following changes:

More precise struct completions

Previously, you could get field name suggestions even if your cursor wasn't in a struct (e.g. if you were in a list that's supposed to contain structs). This fixes that issue for structs, unions and maps. Done in #35

Set compilation

set shapes can now be used as inputs. Use the same syntax as for lists.

Notably, duplicate values will be detected and treated as a warning (it won't affect your ability to make requests, but duplicate entries will be dropped):

image

(done in #37 + updated on main)

Quoted/unquoted string completions

String-like values (enums, timestamps) are now better supported in completions. Previously, if you tried to complete an enum inside a list, you'd get its value without quotes (which are required) - this is now fixed.

Known issue: timestamps can be completed in map key positions, but won't parse.

Internal improvements

Lots of internal changes that will make it easier to develop the extension in the future.

Full Changelog: v0.0.22...v0.0.25

v0.0.22

27 Jun 14:48
Compare
Choose a tag to compare

Full Changelog: v0.0.21...v0.0.22

v0.0.14

09 May 13:16
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/kubukoz/mithy-playground/compare/v0.0.13...v0.0.14

v0.0.12 - library updates

25 Apr 18:36
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.11...v0.0.12