8.2.0
What's Changed
- Add
encrypt
attribute support - Add improved warnings on attribute recreation and deletion
- Fix
null
parsing error when using create attribute command - Type generation fixes and improvements:
- Add
--strict
/-s
flag toappwrite types
command to generate types in strict mode. This automatically converts the casing of attributes to match the language's naming conventions - Add automatic package import to
dart
language which uses package detection to import the correct package - Add
Document
class extension to generated types indart
andjs
language to support internal attributes like$id
and$collectionId
etc. - Add proper enum support to
js
language - Fix indentation in
java
,kotlin
andswift
to use 2 spaces instead of 4 for consistency across all languages - Fix doc comments to use correct syntax in various languages (for eg.
///
instead of/*
) - Update enums in
dart
to use lowerCamelCase instrict
mode as per constant_identifier_names
- Add
Full Changelog: 8.1.1...8.2.0