mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add 0.2.1 changelog (#607)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { useChangelogStorage } from "src/hooks";
|
import { useChangelogStorage } from "src/hooks";
|
||||||
import Version from "./Version";
|
import Version from "./Version";
|
||||||
import { V010, V011, V020 } from "./versions";
|
import { V010, V011, V020, V021 } from "./versions";
|
||||||
|
|
||||||
const Changelog: React.FC = () => {
|
const Changelog: React.FC = () => {
|
||||||
const [{ data, loading }, setOpenState] = useChangelogStorage();
|
const [{ data, loading }, setOpenState] = useChangelogStorage();
|
||||||
@@ -21,6 +21,15 @@ const Changelog: React.FC = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h1 className="mb-4">Changelog:</h1>
|
<h1 className="mb-4">Changelog:</h1>
|
||||||
|
<Version
|
||||||
|
version="v0.2.1"
|
||||||
|
date="2020-06-10"
|
||||||
|
openState={openState}
|
||||||
|
setOpenState={setVersionOpenState}
|
||||||
|
defaultOpen
|
||||||
|
>
|
||||||
|
<V021 />
|
||||||
|
</Version>
|
||||||
<Version
|
<Version
|
||||||
version="v0.2.0"
|
version="v0.2.0"
|
||||||
date="2020-06-06"
|
date="2020-06-06"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
export { default as V010 } from "./v010";
|
export { default as V010 } from "./v010";
|
||||||
export { default as V011 } from "./v011";
|
export { default as V011 } from "./v011";
|
||||||
export { default as V020 } from "./v020";
|
export { default as V020 } from "./v020";
|
||||||
|
export { default as V021 } from "./v021";
|
||||||
|
|||||||
11
ui/v2.5/src/components/Changelog/versions/v021.tsx
Normal file
11
ui/v2.5/src/components/Changelog/versions/v021.tsx
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
import React from "react";
|
||||||
|
import ReactMarkdown from "react-markdown";
|
||||||
|
|
||||||
|
const markup = `
|
||||||
|
### 🐛 Bug fixes
|
||||||
|
* Fix max loop duration not working.
|
||||||
|
* Fix URL sanitization on non-Chrome browsers.
|
||||||
|
|
||||||
|
`;
|
||||||
|
|
||||||
|
export default () => <ReactMarkdown source={markup} />;
|
||||||
Reference in New Issue
Block a user