Skip to content

Commit

Permalink
Set the default CONNECTION_URI in package manifest, release v0.7.1 (#503
Browse files Browse the repository at this point in the history
)

### What

It's nice to have a default value for the `CONNECTION_URI` environment
variable when initializing a new connector, since that reduces the
number of steps to try it out.
  • Loading branch information
plcplc authored Jun 20, 2024
1 parent afb1c2a commit 53565d6
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 15 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
resolver = "2"

package.version = "0.7.0"
package.version = "0.7.1"
package.edition = "2021"
package.license = "Apache-2.0"

Expand Down
21 changes: 18 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,28 @@

### Added

### Changed

### Fixed

## [v0.7.1] - 2024-06-20

### Added

- A default value for `CONNECTION_URI` for newly initialized connector configurations.
([#503](https://github.com/hasura/ndc-postgres/pull/503))

- Support ndc-spec v0.1.4.
([#499](https://github.com/hasura/ndc-postgres/pull/499))

- Support ndc-spec v0.1.3 and filter/order by nested fields.
([#408](https://github.com/hasura/ndc-postgres/pull/486))
([#486](https://github.com/hasura/ndc-postgres/pull/486))

### Changed

- Aggregate functions (except COUNT) are now all marked as having nullable
return types, as they will return null for empty row sets.
([#498])(https://github.com/hasura/ndc-postgres/pull/498))
([#498](https://github.com/hasura/ndc-postgres/pull/498))

### Fixed

Expand Down Expand Up @@ -243,7 +257,8 @@ Initial release.

<!-- end -->

[Unreleased]: https://github.com/hasura/ndc-postgres/compare/v0.7.0...HEAD
[Unreleased]: https://github.com/hasura/ndc-postgres/compare/v0.7.1...HEAD
[v0.7.1]: https://github.com/hasura/ndc-postgres/releases/tag/v0.7.1
[v0.7.0]: https://github.com/hasura/ndc-postgres/releases/tag/v0.7.0
[v0.6.0]: https://github.com/hasura/ndc-postgres/releases/tag/v0.6.0
[v0.5.2]: https://github.com/hasura/ndc-postgres/releases/tag/v0.5.2
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async fn initialize(with_metadata: bool, context: Context<impl Environment>) ->
supported_environment_variables: vec![metadata::EnvironmentVariableDefinition {
name: "CONNECTION_URI".to_string(),
description: "The PostgreSQL connection URI".to_string(),
default_value: None,
default_value: Some("postgresql://read_only_user:[email protected]:5432/v3-docs-sample-app".to_string()),
}],
commands: metadata::Commands {
update: Some("hasura-ndc-postgres update".to_string()),
Expand Down

0 comments on commit 53565d6

Please sign in to comment.