Skip to content

Commit 0be4ca6

Browse files
author
Maxime Mangel
committed
Release 4.5.0
1 parent 0de8beb commit 0be4ca6

File tree

4 files changed

+27
-21
lines changed

4 files changed

+27
-21
lines changed

src/Fable.Build/Utils/Fsproj.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ let replacePackageReleaseNotes (releaseNotes: string) (fsprojContent: string) =
3636
fsprojContent,
3737
"<PackageReleaseNotes>.*?</PackageReleaseNotes>",
3838
(fun (m: Match) ->
39+
let releaseNotes = releaseNotes.Replace("<", "&lt;").Replace(">", "&gt;")
3940
$"<PackageReleaseNotes>{releaseNotes}</PackageReleaseNotes>"
4041
),
4142
RegexOptions.Singleline

src/Fable.Cli/CHANGELOG.md

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

77
## Unreleased
88

9+
## 4.5.0 - 2023-11-07
10+
911
### Changed
1012

1113
#### Python

src/Fable.Cli/Fable.Cli.fsproj

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,29 @@
44
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
55
<OutputType>Exe</OutputType>
66
<TargetFramework>net6.0</TargetFramework>
7-
<Version>4.4.1</Version>
8-
<PackageReleaseNotes>* Fix #3438: Source maps
9-
* Fix #3440: Don't curry arity-1 functions
10-
* Fix #3452: DateTimeOffset conversion to DateTime
11-
* Fix regression: Don't type test interfaces declared in F# code
12-
* Rust: Added no_std test build
13-
* Rust: Added regex support
14-
* Rust: Fixed no_std support
15-
* Rust: Fixed uncurried options
16-
* Rust: Enabled some applicative tests
17-
* Rust: Enabled some tests
18-
* Rust: Updated switch transform (#3449)
19-
* Rust: Updated dependencies (#3447)
20-
* Rust: Fixed interface properties (#3445)
21-
* Rust: Updated object equality (#3444)
22-
* Rust: Enabled some Comparison tests (#3442)
23-
* Rust: Added DateOnly, TimeOnly tests
24-
* Rust: Added DateTimeOffset tests
25-
* Rust: Updated TimeSpan
26-
* Rust: Added DateTimeOffset</PackageReleaseNotes>
7+
<Version>4.5.0</Version>
8+
<PackageReleaseNotes>## Changed
9+
10+
11+
### Python
12+
13+
- Use `Any` type for all non-repeated generic arguments (by @dbrattli)
14+
- Don't generate unnecessary type type-vars if generic type is replaced by `Any` (by @dbrattli)
15+
- Generate new style `_T | None` instead of `Optional[_T]` (by @dbrattli)
16+
17+
### Rust
18+
19+
- Support multiple namespaces sharing a prefix in the same file (by @ncave)
20+
- Support imports with the same namespace across multiple files (by @ncave)
21+
22+
## Fixed
23+
24+
25+
### JavaScript
26+
27+
- Fix #3571: `[&lt;AttachMembers&gt;]` not compatible with f# member `this.Item` (by @ncave)
28+
29+
</PackageReleaseNotes>
2730
<!-- Allow users with newer dotnet SDK to run Fable, see #1910 -->
2831
<RollForward>Major</RollForward>
2932
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

src/Fable.Transforms/Global/Compiler.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace Fable
22

33
module Literals =
4-
let [<Literal>] VERSION = "4.4.1"
4+
let [<Literal>] VERSION = "4.5.0"
55
let [<Literal>] JS_LIBRARY_VERSION = "1.1.1"
66

77
type CompilerOptionsHelper =

0 commit comments

Comments
 (0)