Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Releases: gaetandezeiraud/bsdiff-node

v2.5.0

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 14 Nov 08:09

What's Changed

  • fix: fix Chinese path error in Windows by @jrainlau in #26

New Contributors

Full Changelog: 2.4.0...v2.5.0

v2.4.0

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 17 Oct 06:45

bsdiff-node is now context-aware. Fix #19

v2.3.1

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 04 May 08:17

Fix MSVC warnings

v2.3.0

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 22 Mar 08:02

Merge Pull requests #17
Fix Windows 32 bits system patch failed.

v2.2.4

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 21 Nov 08:13
update README

v2.2.2

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 17 Sep 17:32
update README

v2.2.0

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 11 Dec 19:57
Support nodejs 13 (#13)

v2.1.1

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 04 Dec 12:35
Update dependencies

v2.1.0

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 27 Sep 08:47

Allow larger than 2GB files to be read.
By @jwkblades here mendsley/bsdiff#24

read and write return a signed int, meaning that they can only read
up to 2 billion bytes (2GB) at a time. bsdiff and bspatch were expecting
the entire file to be read (or written, respectively) in a single call
to read or write, which is only possible if they are less than 2GB
in size. There are also other times in which a single function call
would be inadequate for IO, for instance in the case where a device is
busy. The fix for this was to place the functions in a loop and continue
as long as at least 1 byte was transferred (in or out). If an error, or 0
return value, comes back from the transfer, break out of the loop and
return the total number of bytes that had been transferred up to that
point.

v2.0.8

Choose a tag to compare

@gaetandezeiraud gaetandezeiraud released this 11 Jul 18:10
Update npm modules