Skip to content

Commit f630594

Browse files
committed
Re: [#135](supabase-community/supabase-csharp#135) Update nuget package name postgrest-csharp to Supabase.Postgrest
1 parent a14aac0 commit f630594

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+487
-470
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 4.0.0 - 2024-04-21
4+
5+
- [MAJOR] Moves namespaces from `Postgrest` to `Supabase.Postgrest`
6+
- Re: [#135](https://github.com/supabase-community/supabase-csharp/issues/135) Update nuget package
7+
name `postgrest-csharp` to `Supabase.Postgrest`
8+
39
## 3.5.1 - 2024-03-15
410

511
- Re: [#147](https://github.com/supabase-community/supabase-csharp/issues/147) - Supports `Rpc` specifying a generic
@@ -9,7 +15,7 @@
915

1016
- Re: [#78](https://github.com/supabase-community/postgrest-csharp/issues/78), Generalize query filtering creation
1117
in `Table` so that it matches new generic signatures.
12-
- Move from `QueryFilter` parameters to a more generic `IPosgrestQueryFilter` to support constructing new QueryFilters
18+
- Move from `QueryFilter` parameters to a more generic `IPostgrestQueryFilter` to support constructing new QueryFilters
1319
from a LINQ expression.
1420
- Note: Lists of `QueryFilter`s will now need to be defined
1521
as: `new List<IPostgrestQueryFilter> { new QueryFilter(), ... }`

Postgrest/Attributes/ColumnAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Runtime.CompilerServices;
33
using Newtonsoft.Json;
4-
namespace Postgrest.Attributes
4+
namespace Supabase.Postgrest.Attributes
55
{
66

77
/// <summary>

Postgrest/Attributes/PrimaryKeyAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Runtime.CompilerServices;
33
#pragma warning disable CS1591
44

5-
namespace Postgrest.Attributes
5+
namespace Supabase.Postgrest.Attributes
66
{
77

88
/// <summary>

Postgrest/Attributes/ReferenceAttribute.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Runtime.CompilerServices;
5-
using Postgrest.Exceptions;
6-
using Postgrest.Extensions;
7-
using Postgrest.Models;
5+
using Supabase.Postgrest.Extensions;
6+
using Supabase.Postgrest.Exceptions;
7+
using Supabase.Postgrest.Models;
88

9-
namespace Postgrest.Attributes
9+
namespace Supabase.Postgrest.Attributes
1010
{
1111
/// <summary>
1212
/// Used to specify that a foreign key relationship exists in PostgreSQL

Postgrest/Attributes/TableAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22
#pragma warning disable CS1591
3-
namespace Postgrest.Attributes
3+
namespace Supabase.Postgrest.Attributes
44
{
55

66
/// <summary>

Postgrest/Client.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
using System.Threading.Tasks;
55
using Newtonsoft.Json;
66
using Newtonsoft.Json.Converters;
7-
using Postgrest.Interfaces;
8-
using Postgrest.Models;
9-
using Postgrest.Responses;
107
using Supabase.Core.Extensions;
8+
using Supabase.Postgrest.Interfaces;
9+
using Supabase.Postgrest.Models;
10+
using Supabase.Postgrest.Responses;
1111

12-
namespace Postgrest
12+
namespace Supabase.Postgrest
1313
{
1414
/// <inheritdoc />
1515
public class Client : IPostgrestClient

Postgrest/ClientOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using System.Globalization;
33
#pragma warning disable CS1591
4-
namespace Postgrest
4+
namespace Supabase.Postgrest
55
{
66

77
/// <summary>

Postgrest/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Supabase.Core.Attributes;
22
#pragma warning disable CS1591
3-
namespace Postgrest
3+
namespace Supabase.Postgrest
44
{
55

66
public static class Constants

Postgrest/Converters/DateTimeConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using Newtonsoft.Json;
55
using Newtonsoft.Json.Linq;
6-
namespace Postgrest.Converters
6+
namespace Supabase.Postgrest.Converters
77
{
88

99
/// <inheritdoc />

Postgrest/Converters/IntConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using Newtonsoft.Json;
4-
namespace Postgrest.Converters
4+
namespace Supabase.Postgrest.Converters
55
{
66

77
/// <inheritdoc />

0 commit comments

Comments
 (0)