The NetBSD Project

CVS log for pkgsrc/databases/diesel-cli/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / databases / diesel-cli

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 11 11:52:10 2026 UTC (4 days, 17 hours ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
*: recursive bump for icu 79

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jan 7 08:46:08 2026 UTC (10 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
*: recursive bump for icu 78.1

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Apr 17 21:50:01 2025 UTC (18 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
*: recursive bump for icu 77 and libxml2 2.14

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Mar 6 08:27:24 2025 UTC (20 months, 1 week ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
databases/diesel-cli: update to 2.2.8

Fixed

 - Allow #[diesel(check_for_backend(_))] to check fields with #[diesel(embed)] annotations
 - Improve custom compile error message around CompatibleType
 - Fix a bug that restricted the number of allowed columns in COPY FROM statements to 12
 - Expose some SqliteValue helper functions
 - Use consistent whitespace in ASC/DESC, DISTINCT ON, and DELETE FROM clauses

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jan 31 12:29:17 2025 UTC (21 months, 2 weeks ago) by pin
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -3 lines
databeses/diesel-cli: update to 2.2.7

v2.2.7
Fixed

    Fixed diesel thinking a.eq_any(b) was non-nullable even if a and b were nullable.
    Generate InstrumentationEvent::BeginTransaction for immediate and exclusive transactions in SQLite
    Minimize the amount of duplicated code generated for diesel::debug_query
    Updated ipnetwork to allow version 0.21.
    Updated libsqlite3-sys to allow version 0.31.0
    Updated pq-sys to allow version 0.7.0
    Add support for numeric operators (+-*/) in #[diesel::auto_type]
    Add support for joins to sub-jons to aliases

v2.2.6
What's Changed

    Remove more mentions of gitter from the documentation

v2.2.5

    Add a typedef for Returning and Count so that #[auto_type] works with such queries
    Fixed an issue that allowed to pass non-boolean expressions to .and() and .or() which would result in queries failing at runtime
    Officially deprecating the gitter room

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Nov 14 22:18:59 2024 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
*: recursive bump for icu 76 shlib major version bump

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Nov 1 12:51:44 2024 UTC (2 years ago) by wiz
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
*: revbump for icu downgrade

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Nov 1 00:50:58 2024 UTC (2 years ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
*: recursive bump for icu 76.1 shlib bump

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Sep 4 09:31:47 2024 UTC (2 years, 2 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
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

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed May 29 16:31:39 2024 UTC (2 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
revbump after icu and protobuf updates

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 22 12:11:02 2024 UTC (2 years, 7 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
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

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jan 5 08:46:36 2024 UTC (2 years, 10 months ago) by pin
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -3 lines
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

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Nov 8 13:18:23 2023 UTC (3 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
*: recursive bump for icu 74.1

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Aug 25 09:24:25 2023 UTC (3 years, 2 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
databases/diesel-cli: update to 2.1.1

Fixed
 - Fixed an issue in diesel-cli that lead to using unquoted table names in one
   of the internal queries
 - Fixed a bug in diesel print-schema that lead to generating invalid table!
   macros if both the #[sql_name] and the #[max_lenght] attribute are present
 - Fixed an issue in diesel-cli that lead to ignoring certain foreign key
   constraints for postgresql
 - Fixed an crash while using diesel print-schema with really old sqlite
   versions
 - Fixed an issue where #[diesel(check_for_backend)] ignored
   #[diesel(deserialize_as)] attributes
 - Fixed several issues with the new #[derive(MultiConnection)] feature
 - Fixed some edge cases in our sqlite timestamp parsing behaviour
 - diesel migration generate --diff-schema now respects table filters as setup
   for print-schema via diesel.toml
 - Fixed a potential breaking change around queries containing DISTINCT ON and
   ORDER BY clauses consisting of custom sql expressions
   (e.g. diesel::dsl::sql)

Added
 - Support for bigdecimal 0.4

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jul 1 07:02:46 2023 UTC (3 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
diesel-cli: use appropriate INSTALL_* macros

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jun 26 11:47:35 2023 UTC (3 years, 4 months ago) by wiz
Branches: MAIN
databases/diesel-cli: import diesel-cli-2.1.0

Packaged mostly by pin@ in wip, thanks!

Diesel CLI is a tool that aids in managing your database schema.
Migrations are bi-directional changes to your database that get applied
sequentially.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>