Commit Graph

314 Commits

Author SHA1 Message Date
rvcas cf4534be31 chore: update changelog 2025-03-23 21:46:13 -04:00
rvcas e0732c2ecf
chore: add unreleased section to readme 2025-03-23 14:41:25 -04:00
KtorZ 8ef1d1f5c7
Anchor v1.1.14 CHANGELOG entry.
Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-21 11:01:21 +01:00
Matthias Benkort 9354a5bad4
Merge branch 'main' into always-typecheck-trace-label 2025-03-21 10:40:50 +01:00
KtorZ f3ed727a01
Provide better errors when failing to match validators in blueprint apply.
Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-20 13:01:38 +01:00
KtorZ c920347f32
allow captures within constructor calls.
Compiler said I couldn't do it, so I changed the compiler.

Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-18 14:45:39 +01:00
KtorZ c88cbd8f28
rework trace label evaluation strategy
Namely:

  1. Fully evaluate & type-check the label, irrespective of the trace level. So that labels using other variables do not generate "unused identifier" warnings when compiling with different trace mode (and so that the success of a build doesn't depend on the trace level).

     This was already done for trace arguments, but not for labels, somehow.

  2. Move the requirement for compact trace label being String from errors down to warnings; following point (1), we shouldn't fail compilation for different trace levels. It seems more reasonable to simply raise a warning.

Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-18 13:47:26 +01:00
Matthias Benkort 0bca89908f
Merge branch 'main' into avoid-adjacent-sequence-fusions 2025-03-17 14:35:59 +01:00
Matthias Benkort 1d9a55e1d8
Merge pull request #1121 from aiken-lang/unused-record-fields-hint-args-ordering
Fix hint when suggesting to use named fields
2025-03-17 14:35:37 +01:00
KtorZ 776aea86f5
Fix hint when suggesting to use named fields
Wrongly suggesting args in lexicographical order instead of definition order... The tests were unfortunately only examplifying situations where the fields where also defined in lexicographical order... thus never really showing the issue. It came up in the real world, though. Whoopsie.

Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-16 14:07:25 +01:00
KtorZ 54d41f73ea
Fix adjacent sequence collapse in parser
Without this fix, the parser wrongly turns the following:

  ```
  {
    let a = Void
    a
  }
  let _ = True
  True
  ```

  into the following:

  ```
  let a = Void
  a
  let _ = True
  True
  ```

  Which in this particular example looks benign. But now takes something
  more _real-world_:

  ```
  {
    let scope, output <- for_each_2(scopes, other_outputs)
    Void
  }

  let _ = True
  True
  ```

  This would lead to the the entire sequence that follows the
  backpassed continuation to be added to the continuation; here
  ultimately causing a type unification error (since for_each_2 is
  expected to yield Void, not Bool).

  This is utterly confusing.. and dangerous.

Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-16 13:46:52 +01:00
KtorZ 0ed94c18d7
fill-in CHANGELOG.
Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-16 01:11:28 +01:00
KtorZ 56e2c195cf
Fix #1099.
Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-06 18:05:41 +01:00
rvcas 3055fc5be1 chore: update changelog 2025-03-02 22:20:18 -05:00
rvcas ee4655328d chore: update changelog 2025-03-02 22:20:18 -05:00
KtorZ eadbc60a72
Fill-in changelog.
Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-02 13:31:04 +01:00
rvcas b9ef61e8e1
chore: changelog was messed up 2025-02-26 10:16:00 -05:00
KtorZ 3c8bc7ebb6
Also suggest qualified imports as quickfix when relevant.
Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-02-22 19:14:37 +01:00
KtorZ 9f24a5c577
Fix wrong use of 'UnknownVariable' instead of 'UnknownTypeConstructor'
While the feedback for human users is mostly the same, it does in fact
  matter for the LSP since the quickfix will be different depending on
  whether we look for a top-level identifier or if we look for a
  constructor.

  The typical case we see in the stdlib is the `VerificationKey` and
  `Script` constructors for `Credential`, often being mixed with
  their types counterparts in aiken/crypto!

Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-02-22 19:14:37 +01:00
rvcas 62a4901252 chore: update changelog 2025-02-21 15:28:51 -05:00
rvcas e589c46905 chore: update changelog 2025-02-21 15:28:51 -05:00
Pi Lanningham 725c6a67aa Changelog entry 2025-02-21 14:53:41 -05:00
Pi Lanningham 2971d82ff3 Update the changelog 2025-02-18 15:22:19 -05:00
Pi Lanningham cc729a70ca Add changelog entry 2025-02-17 19:58:26 -05:00
KtorZ 172f7e1e01
Fill-in CHANGELOG for #1074.
Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
2025-02-11 14:20:02 +01:00
KtorZ 3c2b631813
Add 'Collecting' step to 'check' command output + warning for suspicious test filter
Fixes #1092.

Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
2025-02-11 14:17:28 +01:00
KtorZ 451179fd49
Update CHANGELOG w.r.t benchmarks
Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
2025-02-09 16:28:42 +01:00
KtorZ d87e7f808f
remove duplicate entry in CHANGELOG
likely due to an wrong merge conflict resolution.

Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
2025-02-09 16:18:01 +01:00
KtorZ 774a249cd6
Fill-in CHANGELOG.
Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
2025-02-08 15:00:18 +01:00
Riley-Kilgore cb69325af5 Move 'benchmarking' over to the left 2025-01-22 15:23:17 -08:00
Riley-Kilgore 5781d9d202 Fix changelog 2025-01-22 15:23:17 -08:00
Riley-Kilgore d8a235732b Update aiken-project toml to remove csv; update changelog 2025-01-22 15:23:17 -08:00
KtorZ 96a583c3ac Fill-in CHANGELOG w.r.t #1084 2025-01-22 18:07:57 -05:00
microproofs 07b0d807df
Update Changelog for 1.1.10 2025-01-21 23:46:24 +07:00
microproofs e08476b8bb
Update Changelog 2025-01-21 11:26:15 +07:00
KtorZ 620fe6b299
Preserve holes discard names in function captures
Fixes #1080
2025-01-02 12:57:32 +01:00
rvcas 5f8b252783
fix: adjust comment formatting in pipelines closes #985 2024-12-30 22:33:13 -05:00
rvcas 9385f637f9
feat: export now supports return type closes #968 2024-12-25 23:34:06 -05:00
rvcas 3e2ca757cd
fix: remove unwrap which is causing panics closes #1073 2024-12-25 23:14:18 -05:00
rvcas c1871768f8
feat: remove plutus v1,v2 from aiken.toml closes #1032 2024-12-25 22:52:08 -05:00
KtorZ 3355b477e2
fix date on CHANGELOG for v1.1.9 2024-12-13 17:04:43 +01:00
KtorZ b1977214ca
disable katex conversion on non-windows builds.
I am not going to spend time figuring out how to get katex working on Windows. If someone wants, feel free.
2024-12-13 16:43:30 +01:00
KtorZ 67bf64967b
rename 'constr_{fields,index}' to 'unconstr_{field,index}'
Better match the conventions so far used across the existing builtins.
2024-12-13 15:18:20 +01:00
KtorZ 977e24c725
Fill-in CHANGELOG for 1.1.8 2024-12-13 13:48:21 +01:00
microproofs 27dab4a5e5
Update changelog for 1.1.8 2024-12-13 14:22:39 +07:00
KtorZ 96b864f655
Include @waalge & @jinglescode contributions in the CHANGELOG. 2024-12-07 13:49:05 +01:00
KtorZ a9675fedc6
Fix deserialization of SerializedProgram into wrong Plutus version wrappers. 2024-12-03 22:22:11 +01:00
KtorZ 66e39898a1
Fix release date in CHANGELOG. 2024-11-19 15:54:24 +01:00
KtorZ e12d7e807d
Move JSON-schema help for check behind dedicated flag
1. A new option `show_json_schema` which, when enabled, will print the JSON schema of the command output if the target isn't an ANSI-capable terminal.
   2. Some modifications to the help message and error handling for the new option `show_json_schema`.

   This is now done to avoid flooding the help screen with an entire
   JSON schema. Plus, it makes the schema more easily exportable as an
   actual JSON schema.
2024-11-19 15:48:39 +01:00
KtorZ b5047d623a
Update to pallas=0.31.0 2024-11-19 14:53:36 +01:00