- Allow latest
package:http
. - Generate
@Deprecated
annotations for associated members. - Add positional parameters to all schema types.
- Package version must be provided or default is to set
publish_to: none
. - Added
Function
to the set of reserved names. - Remove extra parenthesis from date encoding.
- Generate much smaller code for trivial types:
String
,bool
,int
,double
. - Require Dart 3.5 or later.
- Generates null-safe code. Note: the code in this package is not null-safe (yet) due to dependencies.
- Require Dart
2.12
or greater. - Optional, named parameters are now sorted by name.
generate
command: added[--no]--delete-existing
flag.
- Add support for scopes defined in openid-connect 1.0.
- Bumped
_discoveryapis_commons
to allow0.2.x
.
- Fixed suggestions from pana in the generated code.
- Support methods that have uploadMedia, but are not resumable.
- Fixed test generator adding
dataWrapper
support.
- Widen constraint on
package:http
to allow version0.12.0
- Generate packages with pubspecs that accept sdk 2.0.0 and above.
- Make the generator Dart 2.0 clean.
- Support data-wrapping of response bodies. This is a deprecated feature, but it is being used by the Translate v2 API.
- Ignore unnecessary_cast lint in generated files.
- Add .toDouble() conversion where necessary.
- More Dart 2 fixes. Add .map() and .cast() to Lists and Maps to get the types right at runtime.
- More type annotations for Dart 2.
- Use type arguments for
Map
, since dynamic is no longer bottom. - Avoid unnecessary imports of
dart:convert
.
- Minor cleanups.
- Add support for global request parameters, currently whitelisted to only allow
"fields"
.
- Widen dependency constraint on
package:args
.
- Use
< 2.0.0
sdk constraint in generatedpubspec.yaml
files (following the new guideline).
- Avoid unused imports in generated tests.
- Use new-style /// comments for generated code.
- Use
package:dart_style
for formatting the generated code. - Use
< 2.0.0-dev.infinity
sdk constraint in generatedpubspec.yaml
files.
- Make generated code strong mode clean.
- Make generated code use
package:test
instead ofpackage:unittest
.
- Make
package:discoveryapis_generator
strong mode clean.
- Require at least Dart
1.14
for generated libraries. Code requiresdart:convert
BASE64
which was added to that release.
- Remove crypto dependency from generated libraries and upgrade sdk dependency to dart 1.13
- Update the code generator to only generate imports for libraries that are used (this avoids having analysis warnings for unused imports in the generate code).
- Add a command-line option to not generate library prefixes for the
dart:core
anddart:async
libraries (--no-core-prefixes
).
- Make findPackageRoot handle 'file:' paths.
- Fix bug in windows path handling.
- Add support for generating API files inside an existing package instead of generating an entirely new package.
- Changed the generators command names to 'package' and 'files' respectively to make it clear what is being generated.
- Added support for generating a client stub API using the same message classes as used on the server.
- Updated README
- Change generator to use the discoveryapis_commons package for generated code
- Remove googleapis commands and split out separate googleapis library
- Merged new generator implementation from experimental branch to master
- Set
uploadType
asmultipart
by default - Rev up bot_io
- Added Geo JSON support
- Added support for schema array object
- Added support for schema any object
- Updated generated dependencies
- Cleaned up hop runner