Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Releases: AnErrupTion/Better-xNet

Better-xNet 3.4.3 - More optimizations

03 Nov 09:32
0dd564d
Compare
Choose a tag to compare

3.4.3 :

  • Optimized the HttpUtils's GetPageSource() and TestWebsite() functions.
  • Made some minor changes in the CookieStorage class and HttpRequest.Request() function (private).
  • Now using an improved version of the MemoryStream class called MemoryTributary and edited it to match xNet's needs. This version is used in the HttpResponse.ToString() method.
  • Also made some minor changes in the ProxyHelper and ProxyClient.

Better-xNet 3.4.2.1 - CRITICAL BUG FIX!!

02 Nov 13:46
8f914f3
Compare
Choose a tag to compare
  • Fixing a critical bug with the TLS version 1.3 support, the library now uses TLS version 1.2 and is reverted back to .NET Framework 4.5.

Better-xNet 3.4.2 | One of the biggest update so far!

02 Nov 13:18
8dc44ef
Compare
Choose a tag to compare

3.4.2 :

  • Better-xNet is now using .NET Framework 4.8 for latest bug fixes, etc. If you still need a version that is on .NET Framework 4.5, ask in the project's issues.
  • The default protocol when doing a request on a https website is TLS version 1.3.
  • Deleted the classes MD5Hashes and SecureRandoms and renamed the class TextHelper to HtmlHelper.
  • Removed the Get() and Post() function, renamed the Raw() function to Send() and made it public.
  • Renamed the "IgnoreProtocolErrors" variable to "CheckBadStatusCode". Its default value is set to false.
  • Added the missing HTTP methods : CONNECT, OPTIONS, TRACE and PATCH.
  • Removed the "string.Format()" function in some of the User Agents because it was useless.
  • Added the Pale Moon and Waterfox Classic User-Agents.
  • Deprecated the IE (Internet Explorer) User-Agent.
  • Optimized and updated some User-Agents.
  • Renamed the ChromiumEdgeUserAgent() function to "ChromiumEdgeBetaUserAgent".
  • Dropped support for the XP-Opera support (the last version of Opera for Windows XP).
  • Removed Windows XP and Windows Vista in the User-Agents list to prevent incompatibilities with the modern browsers.
  • Removed all unsupported Android versions to prevent incompatibilities with the modern browsers.
  • Made some minor changes in the CookieStorage class.
  • Removed the cookie storage in the GetPageSource() and TestWebsite() functions, it was useless.
  • To now use a proxy in req.Proxy, you need to do : ProxyClient.Parse(the proxy type as string in UPPER CASE, the proxy address as string in ip:port format). Example : ProxyClient.Parse("SOCKS4", "177.10.144.22:1080"). Note : if you specify null at the proxy type, the default proxy type will be HTTP.
  • Deleted the WinInet and SafeNativeMethods, they would cause errors with the new proxy "method".

Better-xNet 3.4.1

16 Oct 11:27
825f1c4
Compare
Choose a tag to compare

3.4.1 :

  • Fixed a problem with the User-Agents.
  • Removed the Http.RandomUserAgent() function, it was glitched.
  • Removed all non-working Bots User-Agents (Duckduckbot, SogouPicspider, Sogouheadspider, Sogouwebspider and SogouOrionspider).

Better-xNet 3.4.0

13 Oct 12:57
d8c187a
Compare
Choose a tag to compare

3.4.0 :

  • Even more optimized the HttpResponse.ToString() method.
  • The HttpUtils.GetPageSource() function should now return an empty string if it can't get the page source.
  • Added more Android versions for the User-Agents (1.0 -> 4.0.4)

Better-xNet 3.3.9

12 Oct 20:02
24bbb28
Compare
Choose a tag to compare

3.3.9 :

  • Fixed the Html (TextHelper) class not properly renamed.
  • Added search engine bots (Googlebot, Bingbot, etc...) in User-Agents.
  • Updated all HTTP Headers (took them from Leaf.xNet)
  • Optimized a bit the HttpResponse.ToString() method.
  • Marked the WinInet and SafeNativeMethods classes deprecated.

Better-xNet 3.3.8

05 Oct 10:08
0530af7
Compare
Choose a tag to compare

3.3.8 :

  • Added the RandomUserAgent() function.
  • Dropped support for string address, must use Uri (HttpRequest, HttpUtils).
  • Made the Raw() function private.
  • Dropped support for Socks4A proxies.

Better-xNet 3.3.7

28 Sep 16:41
8b66167
Compare
Choose a tag to compare

IMPORTANT :

  • Fixed all User-Agents.
  • Switched to .NET Framework 4.5 to fix issue X-rus#54.

Other :

  • Added all missing HTTP Status Codes (102, 103, 207, 208, 226, 308, 418 -> 429, 431, 451, 506 -> 508, 510, 511) and removed duplicate ones (including some of the Pull Request X-rus#58).
  • Moved all events (DownloadProgressChangedEventArgs, MultiThreadingProgressEventArgs, etc..) to "xNet.Events".
  • Removed the HttpHelper class, it was useless.
  • Loading some User-Agents should now be faster due to removing useless parts.
  • Added Brave and Chromium-based Edge User-Agent.
  • Added back the updated Opera Mini User-Agent for Android only.
  • Made the HttpUtils class static.
  • Added the "TestWebsite" function in the HttpUtils class, made to test a website's availability with a 10s timeout by default.
  • Getting a webpage's source with the "GetPageSource" function is now faster.

Better-xNet 3.3.6

28 Sep 09:49
ba6f3ee
Compare
Choose a tag to compare

3.3.6 :

  • Switched the assembly's title and description.
  • Renamed the "Html.cs" class to "TextHelper.cs" and moved it to "xNet.Text.TextHelper".
  • Added the "SecureRandoms.cs" class that contains secure cryptographical randoms. It's in "xNet.Text.Cryptography.SecureRandoms".
  • Added back the MD5 functions from the 3.1.4 DLL (thanks to @nguyenvu1981 for giving me the link of the 3.1.4 version of xNet). The class is in "xNet.Text.Cryptography.MD5Hashes".
  • Added back the MultiThreading with his other classes "AsyncEvent" and 2 others from the 3.1.4 DLL. They're in "xNet.Threading.MultiThreading", "xNet.Threading.AsyncEvent", etc..

Better-xNet 3.3.5

08 Sep 09:54
d9972e9
Compare
Choose a tag to compare

3.3.5 :

  • Renamed a folder in the project (just to match the GitHub code).
  • Added Windows 8.1 version for the User-Agents.
  • Translated all exceptions messages to English.