Skip to content

Commit

Permalink
(release): 9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
steveblue committed Nov 4, 2024
1 parent 2924497 commit ce2f21d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 199 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
# Changelog

## 9.0.0

- Breaking: Fix issues with load due to asynchronous node dimension handling
- Chore: Updated peer dependencies to support angular 18 and newer dependencies
- Chore: Updated documentation portal to run on Storybook

This release causes possible breaking changes to how ngx-graph displays on load. The changes should make ngx-graph load more reliably.

If you have developed in the repository previously, you may need to delete your node_modules and run yarn after updating to the latest on master. This repository switched from npm to yarn. Multiple development commands in the package.json have moved. See the README.md for an up to date reference.

## 8.4.0

- Fix; Fixes a styling issue when using ngx-graph and ngx-charts on the same page
- Fix: Fixes a styling issue when using ngx-graph and ngx-charts on the same page
- Chore: Updated peer dependencies to support new angular versions

## 8.3.0
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,32 +254,32 @@ https://swimlane.github.io/ngx-graph/

## Building ngx-graph

To get started with development, clone a fork of the repository and run `npm install --legacy-peer-deps`.

Run `npm run build:lib` to build ngx-graph. This must be done prior to building the demo.
To get started with development, clone a fork of the repository and run `yarn`.

## Development server

Run `npm run start` to serve the demo at `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
Run `yarn start` to serve Storybook at `http://localhost:6006/`. Storybook serves as the development and test environment for ngx-graph.

## Building

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
Run `yarn build:storybook` to build Storybook to check for production issues. The build artifacts will be stored in the `dist/` directory.

Run `yarn build:lib` to build ngx-graph.

## Running tests

Run `npm run test` to execute the linter
Run `yarn test` to execute the linter.

## Release

- Checkout master (`git checkout master`)
- Pull master (`git pull`)
- Refresh node modules (`yarn ci`)
- Run tests (`yarn test`)
- Run tests (`yarn ci`)
- Examine log to determine next version (X.Y.Z)
- Run `git checkout -b release/X.Y.Z`
- Update version in `projects/swimlane/ngx-graph/package.json`.
- Update changelog in `CHANGELOG.md`
- Run `yarn package` to check the package format
- Run `git commit -am "(release): X.Y.Z"`
- Run `git tag X.Y.Z`
- Run `git push origin HEAD --tags`
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"e2e": "ng e2e",
"prettier": "prettier --write \"projects/**/*.{js,ts,scss,css,md,mdx,json}\"",
"prettier:ci": "prettier --check \"projects/**/*.{js,ts,scss,css,md,mdx,json}\"",
"copy-files": "cp README.md projects/dist/ngx-graph/README.md && cp LICENSE projects/dist/ngx-graph/LICENSE",
"copy-files": "cp README.md dist/ngx-graph/README.md && cp LICENSE dist/ngx-graph/LICENSE && cp CHANGELOG.md dist/ngx-graph/CHANGELOG.md",
"ci": "run-s lint prettier:ci",
"preversion": "npm run ci",
"package": "run-s build:lib copy-files",
Expand Down Expand Up @@ -47,7 +47,7 @@
"msagl-js": "0.0.51",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rxjs": "7.8.1",
"rxjs": "^7.8.1",
"transformation-matrix": "^2.16.1",
"tslib": "^2.3.1",
"webcola": "^3.4.0",
Expand Down
186 changes: 0 additions & 186 deletions projects/swimlane/ngx-graph/package-lock.json

This file was deleted.

4 changes: 2 additions & 2 deletions projects/swimlane/ngx-graph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swimlane/ngx-graph",
"version": "9.0.0-beta.3",
"version": "9.0.0",
"description": "Graph visualization for angular",
"repository": {
"type": "git",
Expand Down Expand Up @@ -40,7 +40,7 @@
"d3-dispatch": "^3.0.1",
"d3-ease": "^3.0.1",
"d3-force": "^3.0.0",
"d3-scale": "^3.2.3",
"d3-scale": "^4.0.2",
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"d3-timer": "^3.0.1",
Expand Down

0 comments on commit ce2f21d

Please sign in to comment.