Skip to content

Commit 8ebbc3c

Browse files
author
Maxime Mangel
committed
Release 4.8.1
1 parent 0f8990d commit 8ebbc3c

File tree

5 files changed

+18
-34
lines changed

5 files changed

+18
-34
lines changed

src/Fable.Build/Publish.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ let updateLibraryVersionInFableTransforms
2222
fileContent <-
2323
Regex.Replace(
2424
fileContent,
25-
$@"^(?'indentation'\s*)let \[<Literal>\] VERSION = ""(?'version'.*?)""",
25+
$@"^(?'indentation'\s*)let VERSION = ""(?'version'.*?)""",
2626
(fun (m: Match) ->
2727
m.Groups.["indentation"].Value
28-
+ $"let [<Literal>] VERSION = \"{compilerVersion}\""
28+
+ $"let VERSION = \"{compilerVersion}\""
2929
),
3030
RegexOptions.Multiline
3131
)
@@ -36,10 +36,10 @@ let updateLibraryVersionInFableTransforms
3636
fileContent <-
3737
Regex.Replace(
3838
fileContent,
39-
$@"^(?'indentation'\s*)let \[<Literal>\] {prefix}_LIBRARY_VERSION = ""(?'version'.*?)""",
39+
$@"^(?'indentation'\s*)let {prefix}_LIBRARY_VERSION = ""(?'version'.*?)""",
4040
(fun (m: Match) ->
4141
m.Groups.["indentation"].Value
42-
+ $"let [<Literal>] {prefix}_LIBRARY_VERSION = \"{version}\""
42+
+ $"let {prefix}_LIBRARY_VERSION = \"{version}\""
4343
),
4444
RegexOptions.Multiline
4545
)

src/Fable.Cli/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## 4.8.1 - 2023-12-12
11+
12+
### Fixed
13+
14+
#### All
15+
16+
* Fix the version reported by Fable (@MangelMaxime)
17+
1018
## 4.8.0 - 2023-12-12
1119

1220
### Changed

src/Fable.Cli/Fable.Cli.fsproj

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,9 @@
44
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
55
<OutputType>Exe</OutputType>
66
<TargetFramework>net6.0</TargetFramework>
7-
<Version>4.8.0</Version>
8-
<PackageReleaseNotes>## Added
9-
10-
11-
### Python
12-
13-
- [GH-3645](https://github.com/fable-compiler/Fable/pull/3645) Add `TimeSpan.Parse` and `TimeSpan.TryParse` support to Python (by @MangelMaxime)
14-
- [GH-3649](https://github.com/fable-compiler/Fable/issues/3649) Fixes for `List.sortBy` (by @dbrattli)
15-
- [GH-3638](https://github.com/fable-compiler/Fable/issues/3638) Fixes for `Array.sort` and `Array.sortDescending` (by @dbrattli)
16-
17-
### Fixed
18-
19-
20-
### JavaScript
21-
22-
- [GH-3465](https://github.com/fable-compiler/Fable/issues/3465) Fix `string.IndexOfAny` (by @pkese)
23-
24-
### Python
25-
26-
- [GH-3465](https://github.com/fable-compiler/Fable/issues/3465) Fix `string.IndexOfAny` (by @pkese)
27-
28-
## Changed
29-
30-
31-
### All
32-
33-
- Updated FCS to [fce0cf00585c12174fa3e51e4fc34afe784b9b4e](https://github.com/dotnet/fsharp/commits/fce0cf00585c12174fa3e51e4fc34afe784b9b4e) (by @ncave)
7+
<Version>4.8.1</Version>
8+
<PackageReleaseNotes>
9+
- Fix the version reported by Fable (@MangelMaxime)
3410

3511
</PackageReleaseNotes>
3612
<!-- Allow users with newer dotnet SDK to run Fable, see #1910 -->

src/Fable.Transforms/Global/Compiler.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ open System
44

55
module Literals =
66
[<Literal>]
7-
let VERSION = "4.5.0"
7+
let VERSION = "4.8.1"
88

99
[<Literal>]
1010
let JS_LIBRARY_VERSION = "1.1.1"

src/fable-standalone/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)