Skip to content

Commit 9e1a803

Browse files
authored
Merge pull request #1324 from shlinkio/develop
Release 4.2.0
2 parents d18ebf8 + 1ba2241 commit 9e1a803

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+6921
-6488
lines changed

.eslintrc

-10
This file was deleted.

.github/dependabot.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ updates:
1212
fontawesome:
1313
patterns:
1414
- '@fortawesome/*'
15-
eslint:
15+
eslint-plugins: # TODO Add eslint back once updated to v9
1616
patterns:
1717
- '@shlinkio/eslint-config-js-coding-standard'
18-
- '@typescript-eslint/*'
19-
- 'eslint'
18+
- 'typescript-eslint'
19+
- '*eslint-plugin*'
2020
shlink:
2121
patterns:
2222
- '@shlinkio/*'
@@ -34,6 +34,9 @@ updates:
3434
patterns:
3535
- 'vitest'
3636
- '@vitest/*'
37+
workbox:
38+
patterns:
39+
- 'workbox*'
3740
ignore:
3841
# Bootstrap can introduce visual breaking changes on styles
3942
# Ignore it, since the plan is to remove it anyway

.github/workflows/docker-image-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
uses: shlinkio/github-actions/.github/workflows/docker-build-and-publish.yml@main
10+
uses: shlinkio/github-actions/.github/workflows/docker-publish-image.yml@main
1111
secrets: inherit
1212
with:
1313
image-name: shlinkio/shlink-web-client

CHANGELOG.md

+25-1
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,36 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).
66

7+
## [4.2.0] - 2024-10-07
8+
### Added
9+
* [shlink-web-component#411](https://github.com/shlinkio/shlink-web-component/issues/411) Add support for `ip-address` redirect conditions when Shlink server is >=4.2
10+
* [shlink-web-component#196](https://github.com/shlinkio/shlink-web-component/issues/196) Allow active date range to be changed by selecting a range in visits and visits-comparison line charts.
11+
* [shlink-web-component#307](https://github.com/shlinkio/shlink-web-component/issues/307) Add new setting to disable short URL deletions confirmation.
12+
* [shlink-web-component#435](https://github.com/shlinkio/shlink-web-component/issues/435) Allow toggling between displaying raw user agent and parsed browser/OS in visits table.
13+
* [shlink-web-component#197](https://github.com/shlinkio/shlink-web-component/issues/197) Allow line charts to be expanded to the full size of the viewport, both in individual visits views, and when comparing visits.
14+
* [shlink-web-component#382](https://github.com/shlinkio/shlink-web-component/issues/382) Initialize QR code modal with all params unset, so that they fall back to the server defaults. Additionally, allow them to be unset if desired.
15+
16+
### Changed
17+
* Use `ShlinkWebSettings` from `@shlinkio/shlink-web-component` to replace local settings UI.
18+
* Update to `@shlinkio/eslint-config-js-coding-standard` 3.0, and migrate to ESLint flat config.
19+
* Remove dependency on `uuid` package, and use `crypto.randomUUID()` instead.
20+
21+
### Deprecated
22+
* *Nothing*
23+
24+
### Removed
25+
* *Nothing*
26+
27+
### Fixed
28+
* *Nothing*
29+
30+
731
## [4.1.2] - 2024-04-17
832
### Added
933
* *Nothing*
1034

1135
### Changed
12-
* *Nothing*
36+
* Use new reusable workflow to publish docker image
1337

1438
### Deprecated
1539
* *Nothing*

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM node:21.7-alpine as node
1+
FROM node:22.9-alpine as node
22
COPY . /shlink-web-client
33
ARG VERSION="latest"
44
ENV VERSION ${VERSION}
55
RUN cd /shlink-web-client && npm ci && npm run build
66

7-
FROM nginxinc/nginx-unprivileged:1.25-alpine
7+
FROM nginxinc/nginx-unprivileged:1.27-alpine
88
ARG UID=101
99
LABEL maintainer="Alejandro Celaya <[email protected]>"
1010

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The application runs 100% in the browser, so you can safely access any shlink in
3131

3232
If you want to deploy shlink-web-client in a container-based cluster (kubernetes, docker swarm, etc), just pick the [shlinkio/shlink-web-client](https://hub.docker.com/r/shlinkio/shlink-web-client/) image and do it.
3333

34-
It's a lightweight [nginx:alpine](https://hub.docker.com/r/library/nginx/) image serving the static app on port 80.
34+
It's a lightweight [nginx:alpine](https://hub.docker.com/r/library/nginx/) image serving the static app on port 8080.
3535

3636
### Self-hosted
3737

docker-compose.override.yml.dist

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3'
2-
31
services:
42
shlink_web_client_node:
53
user: 1000:1000

docker-compose.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
version: '3'
2-
31
services:
42
shlink_web_client_node:
53
container_name: shlink_web_client_node
6-
image: node:20.7-alpine
4+
image: node:22.3-alpine
75
command: /bin/sh -c "cd /home/shlink/www && npm install && npm run start"
86
volumes:
97
- ./:/home/shlink/www

eslint.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import shlink from '@shlinkio/eslint-config-js-coding-standard';
2+
3+
/* eslint-disable-next-line no-restricted-exports */
4+
export default shlink;

0 commit comments

Comments
 (0)