Граф коммитов

129 Коммитов

Автор SHA1 Сообщение Дата
Lilian Kasem 518edf3dc6 Refactor deferred binding attributes (#1723) 2023-07-19 17:12:31 -07:00
Lilian Kasem cb03a976d1 Update analyzer and fix tests (#1741) 2023-07-17 16:28:12 -07:00
Surgupta eb710d9eec Adding BlobContainerClient scenario in analyzer (#1690) 2023-07-17 16:28:12 -07:00
Surgupta 318daafd1a Analyzer to check if a blob container is not binding to an iterable type parameter (#1645) 2023-07-17 16:28:12 -07:00
Lilian Kasem ccbcba6ad1 [Analyzer] Warning for extension constrained types (#1505) 2023-07-17 16:28:12 -07:00
Lilian Kasem 8b400d5bba Analyzer for code suggestion for extension supported binding types (#1604) 2023-07-17 16:28:12 -07:00
Lilian Kasem 94bb624a14 Update SupportsDeferredBinding diagnostic code & update docs (#1377) 2023-07-17 16:28:12 -07:00
Lilian Kasem 4e8b57a290 Add analyzer for SupportsDeferredBindingAttribute (#1367) 2023-07-17 16:28:12 -07:00
Lilian Kasem cce053deaf Reset release notes 2023-07-12 14:35:26 -07:00
Lilian Kasem e453de8d38 Prepare package versions and release notes for release (#1676) 2023-07-11 14:52:32 -07:00
Lilian Kasem 424fc1d3ae Refactor deferred binding attributes (#1723) 2023-07-11 14:52:32 -07:00
Surgupta ce7b2a4b7d Implementing bypass deferred binding in Source Generator (#1610) 2023-07-11 14:52:32 -07:00
surgupta-msft f3bccb3418 Implement bypass deferred binding (#1462) 2023-07-11 14:52:32 -07:00
Fabio Cavalcante f3b49344ea Reset release notes for Worker and SDK packages 2023-07-03 13:49:01 -07:00
sarah 6910409b8b
[Source Gen] Add retry options diagnostic descriptors (#1683) 2023-06-27 16:38:55 -07:00
Fabio Cavalcante bdc8f0417e Removing preview for SDK release 2023-06-26 16:32:07 -07:00
Fabio Cavalcante ccb3e0c3e9 Updating Worker packages for release 2023-06-26 13:23:05 -07:00
Shyju Krishnankutty ee532e7e17 Update release notes. 2023-06-21 15:37:36 -07:00
Shyju Krishnankutty ed86b21b63 Setting _ToolingSuffix for V8.0 TargetFrameworkVersion 2023-06-21 15:37:36 -07:00
sarah bac51c595f
[SourceGen] Cleanup of parser class (#1605) 2023-06-21 10:01:24 -07:00
sarah df11dbc11a
[SourceGen] Bug fix for when DefaultValue is not present on an IsBatched prop (#1602) 2023-06-09 16:56:56 -07:00
sarah 6d96b04a52
[SourceGen] Add retry options to worker-indexing scenarios (#1548) 2023-06-09 16:19:39 -07:00
Fabio Cavalcante 80df8772c7 Updating SDK version reference for extension build project 2023-05-31 16:47:28 -07:00
Jacob Viau 3ae8854acb
Add retries to generate function metadata on IOException (#1532) 2023-05-15 16:04:09 -07:00
Shyju Krishnankutty 83ff2ce534
[Source Gen]Fixing 1525 - Function executor generator produces code with syntax error 2023-05-15 10:20:05 -07:00
Fabio Cavalcante 1c9b7e09ca Update release_notes.md for SDK 2023-05-04 17:47:23 -07:00
Brett Samblanet da59203a4c
Bumping SDK minor version to 10 (#1494) 2023-04-26 11:30:40 -07:00
Vijay Ramakrishnan 4c2b2daaa0
Add support for Azure AD auth (#1486) 2023-04-24 08:00:50 -07:00
sarah 4204b013ef
[Source Gen] Cleanup (#1453)
* Reorganize metadata generator files into their own folder
* Refactor to use KnownTypes struct introduced in another sourcegen PR
2023-04-19 12:05:57 -07:00
Shyju Krishnankutty c344590e4d
Bumping minor version of Kafka,Timer and EH. Removing preview suffix of SDK package (#1434)
* Bumping version to publish Extensions.Abstractions with Retry attribute changes.

* Bumping minor version for EH,Kafka & Timer extensions. Removing preview suffix from SDK package.
2023-03-30 16:12:24 -07:00
Shyju Krishnankutty d3822f291f
[Source Gen] Generate function executor code (#1309)
* Finally a green test for happy use case.

* WIP

* Handing async and void cases. More tests.

* 🙈

* 🙊

* 🙉

* Clean up and addressing some PR feedback

* Added the extension method to register the executor to service collection.

* Cleanup

* Rebased on main. Fixed package versions (to bump on only preview)

* Minor cleanup

* Updating tests to reflect the renaming of the public types (IInputBindingFeature)

* Cleanup after rebasing on main.

* Removed an unused line (from rebase merge)

* nit fixes based on PR feedback.

* Addressing PR feedback. raw literal string indendation is still driving me crazy!

* Changing the build prop to "FunctionsEnableExecutorSourceGen"

* Bit of a cleanup. Removed an unused type.

* Simplified GetTypesDictionary method

* Added summary comment for IsStatic prop.
2023-03-22 12:04:03 -07:00
sarah d7baa523b7
[Source Gen] Fix cardinality validation to include all scenarios (#1402)
* edit diag descriptors for cardinality

* refactor cardinality validation
2023-03-16 11:18:13 -07:00
sarah 0fd7bf6aef
[SourceGen] Diagnostics Cleanup (#1393)
* add two multiple bindings diagnostics tests, cleanup

* add multiple http response failure test

---------

Co-authored-by: Lilian Kasem <likasem@microsoft.com>
2023-03-06 11:17:36 -08:00
Shyju Krishnankutty f1477c21c3
[Source Gen] Fixing incorrect entrypoint property value in metadata when namespace is different than assembly name. (#1385)
Fixes #1299 

- Fixed the source gen so that it will use the correct fully qualified name of the parent class when building the EntryPoint property value in metadata. Previously we were using the assembly name to build the namespace part of this value.
- Fixed tests to reflect this.
- Added a new test for nested types scenario.
2023-02-24 10:28:22 -08:00
sarah 3ccafc2cbe
[Source Gen] Revise props for enabling generation (#1356) 2023-02-24 09:40:01 -08:00
sarah 81b8290e57
[SourceGen] Add AuthLevel back to HttpTriggers (#1319) 2023-02-10 11:22:08 -08:00
Shyju Krishnankutty 88f7bfb82f
[SDK] Fixing publish path to not copy FunctionMetadataloader.dll (#1302) 2023-02-08 12:17:25 -08:00
Lilian Kasem 172a1101b5
Reset release notes (#1316) 2023-02-07 09:36:36 -08:00
Lilian Kasem 470f909f33
Version bumps for new release (#1315) 2023-02-06 16:54:20 -08:00
Lilian Kasem dac0e1b540
Implement SupportsDeferredBindingAttribute (#1275) 2023-01-18 11:18:03 -08:00
Shyju Krishnankutty 88d3d7f9dc
Avoid registering metadata loader extension when running in the native worker (#1258) 2023-01-11 16:53:56 -08:00
sarah ae0cbe0f08
[SourceGen] Add MSBuild prop to disable source-generated function metadata (#1200) 2023-01-09 16:44:34 -08:00
Fabio Cavalcante 00d4386c9c
Updating samples and tests targets and dependencies (#1203)
* Updating samples and tests targets and dependencies

* PR feedback
2022-12-16 14:12:46 -08:00
Fabio Cavalcante e06ba262c8
Updating source generator to use raw literal strings (#1211) 2022-12-05 15:48:21 -08:00
Fabio Cavalcante 4c7e2f39d5
Replacing TextWriter with raw string literals (#1209) 2022-12-05 15:47:39 -08:00
sarah 3f5c4d8bcd
[Source Gen] Test Cleanup (#1208) 2022-12-02 09:32:05 -08:00
sarah 0a57480651
[Source Gen] Create JSON directly instead of using anonymous type (#1191)
* Serialize bindings during compilation time in source-generator instead of runtime.
2022-12-01 11:53:49 -08:00
sarah c936ce7ed4
fix namespace typo in source-gen (#1186) 2022-11-21 09:02:40 -08:00
sarah 320be4e3f1
[SourceGen] Handle default values in binding attributes (#1131)
Check for and handle default values in binding attribute properties, standardize casing for properties and parameters in binding anonymous type representations.
2022-11-09 12:51:53 -08:00
Lilian Kasem 6bb0845c3f
Initialize new GrpcModelBindingData & bump Sdk to 1.8.0 preview 3 (#1150) 2022-11-03 12:03:06 -07:00