Skip to content

Commit

Permalink
Merge pull request #287 from gbmhunter/develop
Browse files Browse the repository at this point in the history
Release of v4.7.0
  • Loading branch information
gbmhunter authored Oct 29, 2023
2 parents 20a40d3 + bfca9cd commit e075cb4
Show file tree
Hide file tree
Showing 29 changed files with 1,476 additions and 187 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"mreset",
"ninjaterm",
"notistack",
"Overridable",
"scrollback",
"validatorjs"
]
Expand Down
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## Unreleased

## [4.7.0] - 2023-10-29

### Added

- vitest has been setup for running unit tests (Playwright is still used for E2E tests).
- Added ability to configure cursor behavior when new line and carriage return characters are received.

### Fixed

- Fixed bug where fake port dialog could be opened by any key press, now only opened with 'f'.
- Fixed issue where sometimes loading the URL `/app` would cause a 404 by adding a redirect to the Netlify config file.

### Changed

- Service worked is now only registered when the URL /app is opened, which should allow for UI notifications when the app needs updating.
- The "Update available" snackbar has better coloured buttons.

## [4.6.6] - 2023-10-26

### Changed
Expand Down Expand Up @@ -513,7 +530,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Added auto-scroll to TX pane, closes #89.
- Added special delete behaviour for backspace button when in "send on enter" mode, closes #90.

[unreleased]: https://github.com/gbmhunter/NinjaTerm/compare/v4.6.5...HEAD
[unreleased]: https://github.com/gbmhunter/NinjaTerm/compare/v4.7.0...HEAD
[4.7.0]: https://github.com/gbmhunter/NinjaTerm/compare/v4.6.5...v4.7.0
[4.6.5]: https://github.com/gbmhunter/NinjaTerm/compare/v4.6.4...v4.6.5
[4.6.4]: https://github.com/gbmhunter/NinjaTerm/compare/v4.6.3...v4.6.4
[4.6.3]: https://github.com/gbmhunter/NinjaTerm/compare/v4.6.2...v4.6.3
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ npm start

## Testing

### Unit Tests

Unit tests are run with `vitest`, which has good integration with Vite.

### E2E Tests

End-to-end (E2E) (a.k.a. integration tests) are performed using [Playwright](https://playwright.dev/). The Playwright tests are located in the `tests/` directory, and the Playwright config is at `playwright.config.ts`.
Expand Down
7 changes: 7 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[build]
command = "npm run build"
publish = "dist"

# This is needed for react-router to work,
# otherwise you get 404s
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
Loading

0 comments on commit e075cb4

Please sign in to comment.