Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up4.0 - .NET Standard support. #133
Conversation
nozzlegear
added some commits
Mar 30, 2017
nozzlegear
added some commits
May 30, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nozzlegear
Jun 23, 2017
Owner
Will be returning to this PR this weekend to hopefully get it finished up and merged, just been sidetracked with a major project.
|
Will be returning to this PR this weekend to hopefully get it finished up and merged, just been sidetracked with a major project. |
nozzlegear
added some commits
Jun 29, 2017
nozzlegear
added
the
enhancement
label
Jul 3, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nozzlegear
Jul 3, 2017
Owner
Looks like all tests are passing, and all of the major changes are now committed! I just need to update the documentation and add some tests for partial object updates. Once that's done this PR can be merged and v4 will be released.
|
Looks like all tests are passing, and all of the major changes are now committed! I just need to update the documentation and add some tests for partial object updates. Once that's done this PR can be merged and v4 will be released. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Congrats!!! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Kirlac
Jul 5, 2017
Just wanted to give you a heads up, I was having issues with the IsAuthenticWebhook(IEnumerable<KeyValuePair<string, StringValues>> requestHeaders, string requestBody, string shopifySecretKey) function. It was looking for the header X-Shopify-Hmac-SHA256 but on the requests I was receiving it was coming through as X-Shopify-Hmac-Sha256
I worked around it temporarily by removing and readding the header with uppercase "SHA" first, but you may want to make the check case insensitive. I considered fixing it myself and issuing a PR, but it seemed like a lot of work for a one line change :D
Great work by the way. You've made my job of integrating with shopify significantly easier!
Kirlac
commented
Jul 5, 2017
|
Just wanted to give you a heads up, I was having issues with the I worked around it temporarily by removing and readding the header with uppercase "SHA" first, but you may want to make the check case insensitive. I considered fixing it myself and issuing a PR, but it seemed like a lot of work for a one line change :D Great work by the way. You've made my job of integrating with shopify significantly easier! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nozzlegear
Jul 5, 2017
Owner
@Kirlac Thanks for the warning! Case-insensitive checking is a great suggestion, I believe it's what I already do in the JS version of this lib too. I'll make sure it gets in!
|
@Kirlac Thanks for the warning! Case-insensitive checking is a great suggestion, I believe it's what I already do in the JS version of this lib too. I'll make sure it gets in! |
nozzlegear
added some commits
Jul 12, 2017
nozzlegear
merged commit dfe6ec8
into
master
Jul 13, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nozzlegear
Jul 13, 2017
Owner
Merged! That took far longer than I thought it would. All tests are passing and I'm planning on publishing to Nuget by Friday evening.
|
Merged! That took far longer than I thought it would. All tests are passing and I'm planning on publishing to Nuget by Friday evening. |
nozzlegear
deleted the
4.0
branch
Jul 13, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nozzlegear
Jul 15, 2017
Owner
v4 has been released on Nuget! It supports .NET Standard 1.4+ and .NET Framework 4.5+. My next task will be updating all of the current guides and the book for those that have it.
|
v4 has been released on Nuget! It supports .NET Standard 1.4+ and .NET Framework 4.5+. My next task will be updating all of the current guides and the book for those that have it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
clement911
Jul 15, 2017
Contributor
Are there any known issues when migrating from v3?
Is it just a matter of fixing compile errors?
|
Are there any known issues when migrating from v3? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nozzlegear
Jul 15, 2017
Owner
Thanks! There are no known issues as far as I'm aware, I was able to migrate one of my own apps pretty easily. The biggest changes will be removing the Shopify prefix from everything, passing an id to any update methods you already use, and changing RequestEngine.ExecutionPolicy = ... to ShopifyService.SetGlobalExecutionPolicy(policy) or service.SetExecutionPolicy(policy) if you use execution policies.
|
Thanks! There are no known issues as far as I'm aware, I was able to migrate one of my own apps pretty easily. The biggest changes will be removing the |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
clement911
Jul 17, 2017
Contributor
That sounds easy enough! I think I'll wait until asp.net core 2.0 is released and migrate to ShopifySharp v4 at the same time,
|
That sounds easy enough! I think I'll wait until asp.net core 2.0 is released and migrate to ShopifySharp v4 at the same time, |
nozzlegear commentedApr 26, 2017
•
edited
Edited 1 time
-
nozzlegear
edited May 30, 2017 (most recent)
Now that the 4.0 branch is building and running automated tests (#118) on AppVeyor, I'm opening this pull request to track further progress and let people who really need dotnet core support right now use the latest version. AppVeyor is automatically building the 4.0 branch and saving the artifacts right here. You can use the zip file or the nuget package to add ShopifySharp 4.0 to your project.
Note that major changes are still planned for this branch, and I make no guarantee that the AppVeyor builds will be compatible with one another. In fact, I guarantee that they won't be because I still have breaking changes to commit. Use at your own risk!
For those planning on building features for the 4.0 release, ShopifySharp is now using xUnit for tests. New tests should all follow the format of other tests in 4.0. You can use the Article test as an example, but I would highly recommend that you use the provided ShopifySharp Test snippet in the VSCode folder instead. Create a new
*_Tests.csfile and typetest-shopifysharpin VSCode:Some to-do items that I'm tracking with this pull request, in addition to all of the open issues marked for milestone 4.0:
ShopifyEventtoEvent.