Skip to content

Commit

Permalink
Publish new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ygg01 committed Jun 11, 2023
1 parent cad5d10 commit 1183188
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
13 changes: 13 additions & 0 deletions Linguini.Bench/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Purpose

Some minor benchmarks for Linguini Project. This is not releasable project.

# How to run

In console execute (you can replace `-0` argument with your desired runner number).
```bash
cd Linguini.Bench
dotnet run -p Linguini.Bench.csproj -c Release -0 # Runs first listed project
```

If you enter no arguments, you will get a console prompt asking to select a project.
2 changes: 1 addition & 1 deletion Linguini.Shared/Linguini.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageLicenseExpression>MIT OR Apache-2.0</PackageLicenseExpression>
<PackageTags>fluent, i18n, internationalization, l10n, l20n, globalization, translation</PackageTags>
<IncludeSymbols>false</IncludeSymbols>
<PackageVersion>0.4.0</PackageVersion>
<PackageVersion>0.5.0</PackageVersion>
<TargetFrameworks>net461;netstandard2.1</TargetFrameworks>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion Linguini.Syntax/Linguini.Syntax.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageProjectUrl>https://github.com/Ygg01/Linguini</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<TargetFrameworks>net461;net5.0;netstandard2.1</TargetFrameworks>
<PackageVersion>0.3.0</PackageVersion>
<PackageVersion>0.5.0</PackageVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
23 changes: 22 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,25 @@ version 0.4.0
- Changes default on `LinguiniBundle.SetIsolating` from `true` to `false`
- Adds method `GetAttrMessage(string msgWithAttr, params (string, IFluentType)[] args)` for ease of use.
- Removes `enum InsertBehavior` in favor of three separate functions (`TryAddFunction`, `AddFunctionOverriding`, `AddFunctionUnchecked`)
- Removes previously obsolete methods.
- Removes previously obsolete methods.

version 0.5.0
========

- Improves parsing performance by eliminating bounds check on `ReadOnlySpan<char>` for `char` @RoosterDragon
Breaking changes:
- ZeroCopyUtil
- `TryReadCharSpan` replaced with `TryReadChar`
- Methods `IsIdentifier`/`IsNumberStart`/`IsAsciiDigit`/`IsAsciiUppercase`/`IsAsciiHexdigit`/`IsAsciiAlphabetic`
take char rather than `ReadOnlySpan<char>`
- `EqualSpans` method removed
- ZeroCopyReader
- method signature `ReadOnlySpan<char> PeekCharSpan(int offset = 0)` changed to `char? PeekChar(int offset = 0)`
- method `SeekEol` added.
- methods `TryPeekChar`, `TryPeekCharAt`,`CurrentChar`, and `IndexOfAnyChar` added.
- ParserError
- factory method for `ExpectedTokens` arguments changed
- LinguiniParser
- changed to use new ZeroCopyUtil internally.
Non-breaking changes:
- Fluent bundle private bundle method separated into `AddEntry` and `AddEntryOverriding`

0 comments on commit 1183188

Please sign in to comment.