Skip to content

Commit

Permalink
v4.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
SlicedSilver committed Mar 21, 2023
1 parent bda42df commit c6e06b9
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 7 deletions.
2 changes: 1 addition & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ There are several included e2e tests available which can be run individually. Pl
## Deploying a new version

1. Update any documentation pages which refer to a specific version. For example, the `Android` and `iOS` pages.
1. Run `npm run docusaurus docs:version MAJ:MIN` in `website` folder to create new versioned docs.
1. Run `npm run docusaurus docs:version MAJ.MIN` in `website` folder to create new versioned docs.
Note that there is not patch version in docs, only major and minor parts.
1. (optional) Remove docs for the oldest version (see <https://docusaurus.io/docs/versioning#deleting-an-existing-version>).
1. Handle the new version in `import-lightweight-charts-version.ts`: add a package reference for that version to `website/package.json` (e.g. `"lightweight-charts-MAJ.MIN": "npm:lightweight-charts@~MAJ.MIN.0"`) and a import of that package in a matching case statement.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "4.1.0",
"version": "4.0.1",
"name": "lightweight-charts",
"author": "TradingView, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"@types/react": "^17.0",
"cross-env": "~7.0.3",
"docusaurus-plugin-typedoc": "0.18.0",
"lightweight-charts": "~4.0.0",
"lightweight-charts": "~4.0.1",
"lightweight-charts-local": "file:..",
"lightweight-charts-3.8": "npm:lightweight-charts@~3.8.0",
"lightweight-charts-4.0": "npm:lightweight-charts@~4.0.0",
"lightweight-charts-4.0": "npm:lightweight-charts@~4.0.1",
"prism-react-renderer": "~1.3.5",
"raw-loader": "~4.0.2",
"react": "^17.0",
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-4.0/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ In `/gradle_module/build.gradle`
```groovy
dependencies {
//...
implementation 'com.tradingview:lightweightcharts:4.0.0'
implementation 'com.tradingview:lightweightcharts:3.8.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-4.0/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sidebar_position: 0

## Requirements

First of all, Lightweight Charts is _a client-side_ library.
First of all, Lightweight Charts is _a client-side_ library.
This means that it does not and cannot work on the server-side (i.e. NodeJS), at least out of the box.

The code of `lightweight-charts` package is targeted to [_es2016_ language specification](https://262.ecma-international.org/7.0/).
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-4.0/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Requires iOS 10.0+
[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate LightweightCharts into your Xcode project using CocoaPods, specify it in your `Podfile`:

```ruby
pod 'LightweightCharts', '~> 4.0.0'
pod 'LightweightCharts', '~> 3.8.0'
```

### Swift Package Manager
Expand Down
25 changes: 25 additions & 0 deletions website/versioned_docs/version-4.0/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,31 @@ sidebar_position: 8
<!-- markdownlint-disable no-emphasis-as-heading -->
<!-- ^ using emphasis as headings so we don't have duplicate headers -->

## 4.0.1

**Enhancements**

- Add the ability to specify font colour for the Priceline labels. [#1274](https://github.com/tradingview/lightweight-charts/issues/1274) [#1287](https://github.com/tradingview/lightweight-charts/issues/1287)
- Ignore resize method if `autoSize` is active, and added API to check if active. [#1301](https://github.com/tradingview/lightweight-charts/issues/1301)

**Bug fixes**

- Typo in customization guide. Thanks [@UcheAzubuko](https://github.com/UcheAzubuko). [#1284](https://github.com/tradingview/lightweight-charts/issues/1284)
- Inability to immediately add markers when `autoSize` chart option is enabled. Thanks [@victorbrambati](https://github.com/victorbrambati). [#1271](https://github.com/tradingview/lightweight-charts/issues/1271) [#1281](https://github.com/tradingview/lightweight-charts/issues/1281)
- First render when using `autosize` doesn't show the latest bars. Thanks [@victorbrambati](https://github.com/victorbrambati) [#1281](https://github.com/tradingview/lightweight-charts/issues/1281). [#1282](https://github.com/tradingview/lightweight-charts/issues/1282)
- Series rendering bug when outside of visible range. [#1293](https://github.com/tradingview/lightweight-charts/issues/1293) [#1294](https://github.com/tradingview/lightweight-charts/issues/1294)
- Auto contrast text color for crosshair labels. [#1309](https://github.com/tradingview/lightweight-charts/issues/1309) [#1310](https://github.com/tradingview/lightweight-charts/issues/1310)
- Hit box from the text of marker incorrectly shifted to the right. [#1270](https://github.com/tradingview/lightweight-charts/issues/1270) [#1305](https://github.com/tradingview/lightweight-charts/issues/1305)

As always, we thank you for your support and help in making Lightweight Charts™ the best product on the financial web. And a big shout out to our hero contributors [@victorbrambati](https://github.com/victorbrambati), and [@UcheAzubuko](https://github.com/UcheAzubuko)!

You can always send us your feedback via GitHub.

We look forward to hearing from you! And as always, happy trading!
Team TradingView

See [issues assigned to this version's milestone](https://github.com/tradingview/lightweight-charts/milestone/25?closed=1) or [changes since the last published version](https://github.com/tradingview/lightweight-charts/compare/v4.0.0..v4.0.1).

## 4.0.0

Long overdue as it’s been nearly 1 year since our last major update, but behold before all the changes that have happened over the last 12 months.
Expand Down

0 comments on commit c6e06b9

Please sign in to comment.