Skip to content

Commit

Permalink
Merge pull request #250 from Esri/js-4.02
Browse files Browse the repository at this point in the history
prepare for js-v4.0.2 release
  • Loading branch information
tmaurer3 authored Oct 27, 2023
2 parents c7418a9 + c8d45c3 commit a5c3bab
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion HOWTO-RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Update version numbers in src/LercLib/include/Lerc_c_api.h and CMakeLists.txt

- Config build environment. For 4.0 release: Node.js v16 LTS, npm 8.11
- Update the following files in OtherLanguages/js
- Update version numbers in package.json
- Run npm version xxx to update version numbers in package.json
- Update CHANGELOG.md
- Update copyright year in Gruntfile.js, README.md and README.hbs
- If applicable, update usage in README.md and README.hbs
Expand Down
7 changes: 5 additions & 2 deletions OtherLanguages/js/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased][HEAD]

## [4.0.1][HEAD] - 2022-07-19
## [4.0.2] - 2023-10-27
* Fixed a small memory leak when nDepth is more than 1 and when noData value is actually used in one or more bands.

## [4.0.1] - 2022-07-19
* Export typings.

## [4.0.0][HEAD] - 2022-07-15
## [4.0.0] - 2022-07-15

Now uses web assembly, as a result:
* The existing Javascript decoder ```js/LercDecode.js``` is deprecated. It will be removed in next major release.
Expand Down
2 changes: 1 addition & 1 deletion OtherLanguages/js/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const copyright = `/*! Lerc 4.0
Copyright 2015 - 2022 Esri
Copyright 2015 - 2023 Esri
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion OtherLanguages/js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ A function for decoding both LERC1 and LERC2 byte streams capable of handling mu

## Licensing

Copyright © 2017-2022 Esri
Copyright © 2017-2023 Esri

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion OtherLanguages/js/dist/LercDecode.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! Lerc 4.0
Copyright 2015 - 2022 Esri
Copyright 2015 - 2023 Esri
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down Expand Up @@ -176,6 +176,7 @@ Contributors: Thomas Maurer, Wenxue Ju
bandCountWithNoData
};
if (bandCountWithNoData) {
_free(ptr);
return headerInfo;
}
if (depthCount === 1 && bandCount === 1) {
Expand Down
4 changes: 2 additions & 2 deletions OtherLanguages/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion OtherLanguages/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lerc",
"version": "4.0.1",
"version": "4.0.2",
"browser": "LercDecode.js",
"bugs": {
"url": "https://github.com/esri/lerc/issues"
Expand Down

0 comments on commit a5c3bab

Please sign in to comment.