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

930 Коммитов

Автор SHA1 Сообщение Дата
sarah 2b51979d1c
Reset release notes (#2197) 2024-01-11 11:11:46 -08:00
Jacob Viau 2bd3b2de3f
Update release notes, rev CosmosDB, add test case (#2195) 2024-01-10 14:01:11 -08:00
sarah ff22cec60e
initial sample (#2178) 2024-01-10 13:41:19 -08:00
sarah 1c50e7ba37
Reset Release Notes (#2191) 2024-01-10 10:36:39 -08:00
Daniel Marbach d9eb09c233
Remove closure in DefaultFunctionExecutor (#2182) 2024-01-09 14:47:46 -08:00
savagemonitor b48153553f
Fix issue where IReadOnlyList<T> wasn't a valid binding type. (#2174)
* Basic modification to get IReadOnlyList working.

* Update IsListInterface to check to see if the input type is one of the valid types or if any of the types available on the input type is one of the valid types.

* Update the code to check all of the generic interfaces on the generic List type instead of checking the inheritance hierarchy.

* Update the parameter binder to use a hashset as per PR feedback.

---------

Co-authored-by: Matthew J. Hayward <savagemonitor@live.com>
2024-01-09 14:32:32 -08:00
Jacob Viau 7450b07ec0
Fix unit tests when ran locally (#2190) 2024-01-09 13:14:40 -08:00
sarah 796aec1b12
Release Prep for Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore (#2188) 2024-01-09 12:34:56 -08:00
Matthew Henderson 49cc0270da
Adding issue assignment automation (#2145) 2024-01-09 10:18:55 -08:00
Surgupta 16a995deb6
Adding functions uri in environment variables in FunctionsNetHost (#2171)
* Updated cmdline args in FNH
2023-12-27 14:50:03 -08:00
Shyju Krishnankutty b872d4ed6d
Populating parameter value for nullable types when input binding data is missing the value for the parameter (#2155)
* Populating nullable or reference type parameter properly.

* Minor clean up

* Version bump and release notes.

* Fixed a failing test to reflect the new Worker.Core version.
2023-12-20 16:30:26 -08:00
Fabio Cavalcante c47ab817f4 Processing host provided X-Forwarded-* headers 2023-12-15 10:10:43 -08:00
sarah 5045bf5bd3
Bump Extensions sample's Kafka version (#2152) 2023-12-13 12:30:59 -08:00
Shyju Krishnankutty 63536f4721
Adding a Info level log entry after function app assembly load. (#2148) 2023-12-12 16:18:36 -08:00
sarah 423efb7cbb
Add DefaultValue attribute to Kafka trigger attribute's IsBatched prop (#2139) 2023-12-12 13:26:58 -08:00
sarah f694329065
Update Extensions sample's packages (#2138) 2023-12-07 11:49:29 -08:00
Lilian Kasem a074ca9c2c
Reset worker extension release notes (#2134) 2023-12-07 10:57:03 -08:00
Shyju Krishnankutty 463cc82e01
Worker Sdk 1.16.4 release preparation. (#2133) 2023-12-07 09:03:04 -08:00
Lilian Kasem 3013ff0069
Refactor CosmosDBConverter to remove use reflection (#1924)
Co-authored-by: Jacob Viau <javia@microsoft.com>
2023-12-06 09:38:42 -08:00
Fabio Cavalcante 7bba67bb29 Updating issue management policies 2023-12-05 17:34:54 -08:00
Shyju Krishnankutty 8636715735
Avoid executing source generators outside of an Azure Functions project (#2119)
* Checking generators are running inside valid azure functions project

* Checking generators are running inside valid azure functions project

* Minor cleanup

* Minor cleanup on release notes.

* Added comment to props file about the usage of "FunctionsExecutionModel" property.
2023-12-04 15:28:53 -08:00
Jacob Viau db6b438ae8
Update ServiceBus dependencies (#2064)
* Update ServiceBus dependencies

* Fix test

* Switch to Azure.Identity 1.10.2 explicit ref
2023-12-04 12:58:14 -08:00
Shyju Krishnankutty 5ff83ce0fd
Remove new language features from generated type (#2108)
* Remove new language features such as "target-typed object creation" & "nullable reference types" as they fail in NetFX project if no explicit "LangVersion" msbuild property

* Adding CSharp language versions to test matrix
2023-11-30 11:54:53 -08:00
sarah 014190d4b7
[SourceGen] Add GeneratedCode Attribute (#2104) 2023-11-29 16:27:30 -08:00
Shyju Krishnankutty 207c19533a
Adding support for executing functions from referenced assemblies, to the source generated executor implementation. (#2089)
* Adding support for executing functions from referenced assemblies, to the source generated executor implementaion.

* Release note and version bump

* Picking only public functions as valid functions for metadata generation and executor.

* Minor cleanup

* Get full type name including assembly identity for all types.

* Minor cleanup

* Switching initializing the defaultExecutor to a Lazy approach.

* A bit more cleanup.

* PR feedback fixes

* PR feedback fixes
2023-11-29 14:52:47 -08:00
Shyju Krishnankutty 0733bbdcb1
Generate correct ScriptFile value when generating metadata. (#2103)
* Emit ".exe" for functions from NetFX entry point assemblies

* Added test for NETFX project and updated release notes.

* Minor cleanup

* Removing the unused dependent assembly project.
2023-11-29 13:05:46 -08:00
Shyju Krishnankutty 1808ec77be
Replace - with _ when generating namespace for generated types (#2097)
* Replace - with _ when generating namespace for generated types.

* Generate valid namespace when root namespace contains -

* Moving the logic to use rootnamespace to msbuil target

* Replace "-" with "_" when using the RootNamespace if customer app does not have an overridden (fixed) root namespace value.

* Reverting a test change which is not relevant anymore.

* Fix release notes
2023-11-28 15:54:15 -08:00
sarah 5ee6e55d82
[SourceGen] Bug fix for scenarios with $return output binding (#2098) 2023-11-28 13:36:11 -08:00
Fabio Cavalcante a5fc0632d2 Updating Event Grid WebJobs extension reference 2023-11-22 18:31:25 -08:00
Shyju Krishnankutty c319c6c134
Update samples to net8 (#2074)
* Update samples to net8 and global.json

* Install net7.

* Using Major.x format
2023-11-22 14:52:11 -08:00
Zitong Yang 2f4e4a92e9 [SignalR] Update extension version to 1.12.0 2023-11-22 11:10:00 -08:00
Shyju Krishnankutty 31f3a8b378
Generate correct value for defaultWorkerPath in worker.config when AOT publishing is enabled (#1980)
* Generate value for `defaultWorkerPath` in worker.config for publishAOT case.

* Using TargetExt variable

* Rebasing on main., took release notes from main. then updated to reflect changes from this PR.

* Version bump for Sdk project
2023-11-15 16:35:39 -08:00
Shyju Krishnankutty 01b1b79a31
Using a SymbolVisitor implementation to locate function methods from referenced assemblies (#2057)
* Using a SymbolVisitor implementation to locate function methods from referenced assemblies.

* Minor cleanup

* logging placeholder

* Revert "logging placeholder"

This reverts commit d504ecf968.
2023-11-13 10:30:43 -08:00
Fabio Cavalcante 7f13e41185 Revert "Setting text encoding to fix the newline char issue when using StreamReader (#2023)"
This reverts commit f7606fc2bf.
2023-11-10 20:40:41 -08:00
Shyju Krishnankutty 172ddf560e
Adding support for locating functions within nested types and nested namespaces from referenced assemblies (#2054)
* Adding support to locate functions from nested types and nested namesapces

* Release notes and version bump
2023-11-10 15:39:19 -08:00
Fabio Cavalcante bef360980a Release prep for Worker (Core, Grpc) and ASP.NET Core 2023-11-08 17:33:59 -08:00
Shyju Krishnankutty 15f520f7dc Linux test fix 2023-11-08 17:29:33 -08:00
Shyju Krishnankutty 95d3b052f4
Fixing the new test added in #2033 to handle changes added in #2035 (#2044) 2023-11-08 16:13:43 -08:00
Shyju Krishnankutty 6cd0ea1373
1.16.1 SDK release prep (#2043) 2023-11-08 15:49:00 -08:00
David Lee 5dca0f12e0
Fix incorrect invocation of functions with names only differ in casing (#2033)
Co-authored-by: Fabio Cavalcante <facaval@microsoft.com>
2023-11-08 15:47:59 -08:00
Lilian Kasem 4edd4d33b3 Run worker pipeline on extension changes 2023-11-08 13:41:57 -08:00
Sarah Vu af03e09f92 bump timer, prep release notes 2023-11-08 13:06:30 -08:00
Shyju Krishnankutty 6b2e257111
Handle self-contained application load (#2036)
* Updates to handle self-contained application load.

* Removing stopwatch instrumentation.
2023-11-08 11:05:12 -08:00
Shyju Krishnankutty e853ae5564
Reverted: Default to optimized function executor (#2012) (#2037)
* Revert "Default to optimized function executor"

* Release notes update
2023-11-08 10:19:53 -08:00
Fabio Cavalcante a4a95a6e72 Preparing ASP.NET Core packages for release 2023-11-07 18:32:28 -08:00
Endi Zhupani 384ef0d404 Added default encoding in case it is not specified by the client 2023-11-07 18:02:59 -08:00
Fabio Cavalcante cc4b9acdab Updating ExtensionStartupRunnerGenerator to ensure public types and members are documented 2023-11-07 17:45:17 -08:00
Fabio Cavalcante 81b2a01c32 Updating generated function executor to ensure public types and members are documented 2023-11-07 17:45:17 -08:00
Fabio Cavalcante 0dab4aba6d Updating generated metadata provider to ensure public types and members are documented 2023-11-07 17:45:17 -08:00
Elinor Fung b528b47c37
Make NativeHostIntegration p/invokes blittable (#1989)
* Make native host integration p/invokes blittable

* Bump DotNetIsolatedNativeHost patch version

* Stop allocating GCHandle for NativeHostApplicaiton

* Remove unused parameters
2023-11-07 16:33:28 -08:00