Skip to content

Commit 0251ea8

Browse files
Merge pull request #219 from sebastienbarbier/develop
Release v2.1.0
2 parents 7ed5b8e + 5779333 commit 0251ea8

25 files changed

+7472
-7834
lines changed

.eslintrc

Lines changed: 0 additions & 44 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx pretty-quick

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2121
See for sample https://raw.githubusercontent.com/favoloso/conventional-changelog-emoji/master/CHANGELOG.md
2222
-->
2323

24+
## [2.1.0] - 2025-MM-DD
25+
### ✨ Feature
26+
- Notes (#197)
27+
- Show total daily spent in list of transaction (#210)
28+
### 🛠 Improvements
29+
- Migrate encryption library (#161)
30+
### 🐛 Bug Fixes
31+
- Fix Subscription expiring soon when self-hosted (#196)
32+
### 🔒 Security
33+
- Update dependencies (#202)
34+
2435
## [2.0.2] - 2025-10-27
2536
### 📚 Documentation
2637
- Fix documentation (#156)

babel.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ module.exports = {
66
targets: {
77
node: "current",
88
},
9+
modules: "auto",
910
},
1011
],
1112
],
13+
plugins: [
14+
"@babel/plugin-transform-runtime",
15+
],
1216
};

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@
6363
# built documents.
6464
#
6565
# The short X.Y version.
66-
version = '2.0'
66+
version = '2.1'
6767
# The full version, including alpha/beta/rc tags.
68-
release = '2.0.2'
68+
release = '2.1.0'
6969

7070
# The language for content autogenerated by Sphinx. Refer to documentation
7171
# for a list of supported languages.

docs/encryption.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ Seven23 utilizes robust encryption mechanisms to safeguard user data confidentia
44

55
## Dependencies
66

7-
Current version of the project still use the archived [`square/js-jose`](https://github.com/square/js-jose) library, but will soon be migrated to the recommanded [`panva/jose`](https://github.com/panva/jose).
8-
9-
Both libraries leverage the browser's native encryption capabilities, ensuring a smooth and secure user experience.
7+
The project uses the recommended [`panva/jose`](https://github.com/panva/jose) library. This library leverage the browser’s native encryption capabilities to ensure a smooth and secure user experience.
108

119
## Secret Key
1210

eslint.config.mjs

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
import react from "eslint-plugin-react";
2+
import prettier from "eslint-plugin-prettier";
3+
import globals from "globals";
4+
import js from "@eslint/js";
5+
6+
export default [
7+
js.configs.recommended,
8+
{
9+
files: ["**/*.js", "**/*.jsx"],
10+
plugins: {
11+
react,
12+
prettier,
13+
},
14+
15+
languageOptions: {
16+
globals: {
17+
...globals.browser,
18+
...globals.node,
19+
Generator: true,
20+
test: "readonly",
21+
},
22+
23+
ecmaVersion: 12,
24+
sourceType: "module",
25+
26+
parserOptions: {
27+
parser: "@babel/eslint-parser",
28+
requireConfigFile: false,
29+
ecmaFeatures: {
30+
jsx: true,
31+
},
32+
},
33+
},
34+
35+
rules: {
36+
"react/jsx-uses-react": 2,
37+
"react/jsx-uses-vars": 2,
38+
"react/react-in-jsx-scope": 0,
39+
"react/prop-types": 0,
40+
curly: [2],
41+
quotes: [1, "double"],
42+
"linebreak-style": [2, "unix"],
43+
semi: [2, "always"],
44+
"comma-dangle": [0],
45+
46+
"no-unused-vars": [2, {
47+
vars: "all",
48+
args: "none",
49+
}],
50+
51+
"no-console": [0],
52+
},
53+
},
54+
{
55+
files: ["**/*.test.js", "**/*.spec.js"],
56+
languageOptions: {
57+
globals: {
58+
...globals.browser,
59+
...globals.node,
60+
test: "readonly",
61+
expect: "readonly",
62+
describe: "readonly",
63+
it: "readonly",
64+
beforeEach: "readonly",
65+
afterEach: "readonly",
66+
beforeAll: "readonly",
67+
afterAll: "readonly",
68+
jest: "readonly",
69+
},
70+
},
71+
rules: {
72+
"no-unused-vars": [2, {
73+
vars: "all",
74+
args: "none",
75+
varsIgnorePattern: "^_",
76+
}],
77+
},
78+
}
79+
];

jest.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ module.exports = {
145145
// The test environment that will be used for testing
146146
testEnvironment: "node", // or jsdom
147147

148+
// Transform ES modules from node_modules
149+
transformIgnorePatterns: [
150+
"node_modules/(?!(jose)/)"
151+
],
152+
148153
// Options that will be passed to the testEnvironment
149154
// testEnvironmentOptions: {},
150155

0 commit comments

Comments
 (0)