Path to this page:
./
databases/diesel-cli,
CLI for the Diesel crate
Branch: CURRENT,
Version: 2.2.4nb3,
Package name: diesel-cli-2.2.4nb3,
Maintainer: pkgsrc-usersDiesel CLI is a tool that aids in managing your database schema.
Migrations are bi-directional changes to your database that get applied
sequentially.
Master sites:
Filesize: 815.658 KB
Version history: (Expand)
- (2024-11-15) Updated to version: diesel-cli-2.2.4nb3
- (2024-11-01) Updated to version: diesel-cli-2.2.4nb2
- (2024-11-01) Updated to version: diesel-cli-2.2.4nb1
- (2024-09-04) Updated to version: diesel-cli-2.2.4
- (2024-05-29) Updated to version: diesel-cli-2.1.5nb1
- (2024-03-22) Updated to version: diesel-cli-2.1.5
CVS history: (Expand)
2024-11-14 23:22:33 by Thomas Klausner | Files touched by this commit (2429) |
Log message:
*: recursive bump for icu 76 shlib major version bump
|
2024-11-01 13:55:19 by Thomas Klausner | Files touched by this commit (2426) |
Log message:
*: revbump for icu downgrade
|
2024-11-01 01:54:33 by Thomas Klausner | Files touched by this commit (2427) |
Log message:
*: recursive bump for icu 76.1 shlib bump
|
2024-09-04 11:31:47 by pin | Files touched by this commit (3) | |
Log message:
databases/diesel-cli: update to 2.2.4
[2.2.4]
Fixed
* Fix an issue where empty queries could trigger undefined behaviour in the \
sqlite backend
[2.2.3]
* Support for libsqlite3-sys 0.30.0
* Fixed a possible vulnerability in how Diesel handled protocol level bind \
parameters.
See the SQL Injection isn't Dead: Smuggling Queries at Protocol Level \
presentation from DEF CON for details
* Fixed an issue with a possibly ambiguous trait resolution in \
#[derive(QueryableByName)]
[2.2.2]
Fixed
* Support for libsqlite3-sys 0.29.0
* Fixed a potential panic in the sqlite cursor implementation
* Fixed support for rust numeric operators with columns of the type `Numeric`
* Removed the `SerializedDatabase::new` function due to unsoundness
[2.2.1]
Fixed
* Fixed using `#[dsl::auto_type]` with functions that accept reference arguments
* Fixed using `#[derive(Queryable)]` with structs that use a type named `Row` as \
field type
* Fixed a regression that prevented using `mysqlclient-sys` 0.2.x with diesel 2.2
* Fixed connecting to postgres database using the scram-sha-256 authentication \
method on windows while using the bundled postgres builds
* Improved the error messages in diesel-cli for cases where a file/folder was \
not found
* Fixed several version detection bugs in mysqlclient-sys to use pre-generated \
bindings in more situations
[2.2.0]
Added
* Support `[print_schema] except_custom_type_definitions = \
["Vector"]`. If a `custom type` matches one element on the list it's \
skipped.
* Added automatic usage of all sqlite `rowid` aliases when no explicit primary \
key is defined for `print-schema`
* Added a `#[dsl::auto_type]` attribute macro, allowing to infer type of query \
fragment functions
* Added the same type inference on `Selectable` derives, which allows skipping \
specifying `select_expression_type` most of the time, in turn enabling most \
queries to be written using just a `Selectable` derive.
* Added an optional `#[diesel(skip_insertion)]` field attribute to the \
`Insertable` derive macro, allowing fields which map to generated columns to be \
skipped during insertion.
* Support for connection instrumentation. This allows to inspect any query run \
by your application
* Logging in diesel-cli
* Support for libsqlite3-sys 0.28
* Add `sqlite-integer-primary-key-is-bigint` configuration option, usable with \
SQLite 3.37 or above, allowing to use `BigInt` for `INTEGER PRIMARY KEY` columns \
in SQLite for tables without the `WITHOUT ROWID` attribute ([SQLite \
doc](https://www.sqlite.org/lang_createtable.html#rowid)).
* Support for multiple `print_schema` entry in `diesel.toml` (e.g. \
`[print_schema.user1]`), which allows generating multiple schema.rs files
* Add support for `COPY TO` and `COPY FROM` statements
* Add support for mapping `chrono::Duration` to postgresql's `INTERVAL` sql type
* Added `serialize_database_to_buffer` and \
`deserialize_readonly_database_from_buffer` methods in `SqliteConnection` to \
support serialization/deserialization of SQLite databases to and from byte \
buffers.
* Added `SerializedDatabase` wrapper type for a serialized database that is \
dynamically allocated by calling `serialize_database_to_buffer`. This RAII \
wrapper deallocates the memory when it goes out of scope with `sqlite3_free`.
Changed
* The minimal officially supported rustc version is now 1.78.0
* Deprecated `sql_function!` in favour of `define_sql_function!` which provides \
compatibility with `#[dsl::auto_type]`
* Deserialization error messages now contain information about the field that \
failed to deserialize
[2.1.6]
* Fix using `BoxableExpression` with having clauses
* Fix using numeric expressions with aliased fields
* Minor documentation fixes
|
2024-05-29 18:35:19 by Adam Ciarcinski | Files touched by this commit (1929) | |
Log message:
revbump after icu and protobuf updates
|
2024-03-22 13:11:02 by pin | Files touched by this commit (3) | |
Log message:
databeses/diesel-cli: update to 2.1.5
- Fix impl SqlOrd postgres > postgres_backend feature flag.
- Allow Queryable to be used with multiple table names.
- Update libsqlite3-sys to allow version 0.28 as well
|
2024-01-05 09:46:36 by pin | Files touched by this commit (3) | |
Log message:
databases/diesel-cli: update to 2.1.4
v2.1.4
- Update libsqlite3-sys to allow version 0.27 as well
v2.1.3
- Increased accidentally decreased limit around element count in DISTINCT ON
and ORDER BY clauses again as that broke existing code
v2.1.2
- Fixed another potential breaking chaneg around queries containing DISTINCT
ON and ORDER BY clauses consisting of custom sql expressions
(e.g. .nullable())
- Fixed an issue where #[derive(Selectable)] and #[diesel(check_for_backend)]
generates invalid rust code if the struct contains lifetimes/generic types
|
2023-11-08 14:21:43 by Thomas Klausner | Files touched by this commit (2377) |
Log message:
*: recursive bump for icu 74.1
|