mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-08 15:01:29 +01:00
Update changelog for release
This commit is contained in:
committed by
Pratyush Mishra
parent
b8a268d550
commit
2348acf3a1
20
.github/workflows/linkify_changelog.yml
vendored
Normal file
20
.github/workflows/linkify_changelog.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Linkify Changelog
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
linkify:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Add links
|
||||||
|
run: python3 scripts/linkify_changelog.py CHANGELOG.md
|
||||||
|
- name: Commit
|
||||||
|
run: |
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
|
git add .
|
||||||
|
git commit -m "Linkify Changelog"
|
||||||
|
git push
|
||||||
46
CHANGELOG.md
46
CHANGELOG.md
@@ -1,34 +1,34 @@
|
|||||||
## Pending
|
## v0.2.0
|
||||||
|
|
||||||
### Breaking changes
|
### Breaking changes
|
||||||
- #12 Make the output of the `ToBitsGadget` impl for `FpVar` fixed-size
|
- [\#12](https://github.com/arkworks-rs/r1cs-std/pull/12) Make the output of the `ToBitsGadget` impl for `FpVar` fixed-size
|
||||||
- #48 Add `Clone` trait bound to `CondSelectGadget`.
|
- [\#48](https://github.com/arkworks-rs/r1cs-std/pull/48) Add `Clone` trait bound to `CondSelectGadget`.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
- #21 Add `UInt128`
|
- [\#21](https://github.com/arkworks-rs/r1cs-std/pull/21) Add `UInt128`
|
||||||
- #50 Add `DensePolynomialVar`
|
- [\#50](https://github.com/arkworks-rs/r1cs-std/pull/50) Add `DensePolynomialVar`
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
- #5 Speedup BLS-12 pairing
|
- [\#5](https://github.com/arkworks-rs/r1cs-std/pull/5) Speedup BLS-12 pairing
|
||||||
- #13 Add `ToConstraintFieldGadget` to `ProjectiveVar`
|
- [\#13](https://github.com/arkworks-rs/r1cs-std/pull/13) Add `ToConstraintFieldGadget` to `ProjectiveVar`
|
||||||
- #15, #16 Allow `cs` to be `None` when converting a Montgomery point into a Twisted Edwards point
|
- [\#15](https://github.com/arkworks-rs/r1cs-std/pull/15), #16 Allow `cs` to be `None` when converting a Montgomery point into a Twisted Edwards point
|
||||||
- #20 Add `CondSelectGadget` impl for `UInt`s
|
- [\#20](https://github.com/arkworks-rs/r1cs-std/pull/20) Add `CondSelectGadget` impl for `UInt`s
|
||||||
- #22 Reduce density of `three_bit_cond_neg_lookup`
|
- [\#22](https://github.com/arkworks-rs/r1cs-std/pull/22) Reduce density of `three_bit_cond_neg_lookup`
|
||||||
- #23 Reduce allocations in `UInt`s
|
- [\#23](https://github.com/arkworks-rs/r1cs-std/pull/23) Reduce allocations in `UInt`s
|
||||||
- #33 Speedup scalar multiplication by a constant
|
- [\#33](https://github.com/arkworks-rs/r1cs-std/pull/33) Speedup scalar multiplication by a constant
|
||||||
- #35 Construct a `FpVar` from bits
|
- [\#35](https://github.com/arkworks-rs/r1cs-std/pull/35) Construct a `FpVar` from bits
|
||||||
- #36 Implement `ToConstraintFieldGadget` for `Vec<Uint8>`
|
- [\#36](https://github.com/arkworks-rs/r1cs-std/pull/36) Implement `ToConstraintFieldGadget` for `Vec<Uint8>`
|
||||||
- #40, #43 Faster scalar multiplication for Short Weierstrass curves by relying on affine formulae
|
- [\#40](https://github.com/arkworks-rs/r1cs-std/pull/40), #43 Faster scalar multiplication for Short Weierstrass curves by relying on affine formulae
|
||||||
- #46 Add mux gadget as an auto-impl in `CondSelectGadget` to support random access of an array
|
- [\#46](https://github.com/arkworks-rs/r1cs-std/pull/46) Add mux gadget as an auto-impl in `CondSelectGadget` to support random access of an array
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
- #8 Fix bug in `three_bit_cond_neg_lookup` when using a constant lookup bit
|
- [\#8](https://github.com/arkworks-rs/r1cs-std/pull/8) Fix bug in `three_bit_cond_neg_lookup` when using a constant lookup bit
|
||||||
- #9 Fix bug in `short_weierstrass::ProjectiveVar::to_affine`
|
- [\#9](https://github.com/arkworks-rs/r1cs-std/pull/9) Fix bug in `short_weierstrass::ProjectiveVar::to_affine`
|
||||||
- #29 Fix `to_non_unique_bytes` for `BLS12::G1Prepared`
|
- [\#29](https://github.com/arkworks-rs/r1cs-std/pull/29) Fix `to_non_unique_bytes` for `BLS12::G1Prepared`
|
||||||
- #34 Fix `mul_by_inverse` for constants
|
- [\#34](https://github.com/arkworks-rs/r1cs-std/pull/34) Fix `mul_by_inverse` for constants
|
||||||
- #42 Fix regression in `mul_by_inverse` constraint count
|
- [\#42](https://github.com/arkworks-rs/r1cs-std/pull/42) Fix regression in `mul_by_inverse` constraint count
|
||||||
- #47 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries
|
- [\#47](https://github.com/arkworks-rs/r1cs-std/pull/47) Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries
|
||||||
- #57 Clean up `UInt` docs
|
- [\#57](https://github.com/arkworks-rs/r1cs-std/pull/57) Clean up `UInt` docs
|
||||||
|
|
||||||
## v0.1.0
|
## v0.1.0
|
||||||
|
|
||||||
|
|||||||
31
scripts/linkify_changelog.py
Normal file
31
scripts/linkify_changelog.py
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
import re
|
||||||
|
import sys
|
||||||
|
import fileinput
|
||||||
|
import os
|
||||||
|
|
||||||
|
# Set this to the name of the repo, if you don't want it to be read from the filesystem.
|
||||||
|
# It assumes the changelog file is in the root of the repo.
|
||||||
|
repo_name = ""
|
||||||
|
|
||||||
|
# This script goes through the provided file, and replaces any " \#<number>",
|
||||||
|
# with the valid mark down formatted link to it. e.g.
|
||||||
|
# " [\#number](https://github.com/arkworks-rs/template/pull/<number>)
|
||||||
|
# Note that if the number is for a an issue, github will auto-redirect you when you click the link.
|
||||||
|
# It is safe to run the script multiple times in succession.
|
||||||
|
#
|
||||||
|
# Example usage $ python3 linkify_changelog.py ../CHANGELOG.md
|
||||||
|
if len(sys.argv) < 2:
|
||||||
|
print("Must include path to changelog as the first argument to the script")
|
||||||
|
print("Example Usage: python3 linkify_changelog.py ../CHANGELOG.md")
|
||||||
|
exit()
|
||||||
|
|
||||||
|
changelog_path = sys.argv[1]
|
||||||
|
if repo_name == "":
|
||||||
|
path = os.path.abspath(changelog_path)
|
||||||
|
components = path.split(os.path.sep)
|
||||||
|
repo_name = components[-2]
|
||||||
|
|
||||||
|
for line in fileinput.input(inplace=True):
|
||||||
|
line = re.sub(r"\- #([0-9]*)", r"- [\\#\1](https://github.com/arkworks-rs/" + repo_name + r"/pull/\1)", line.rstrip())
|
||||||
|
# edits the current file
|
||||||
|
print(line)
|
||||||
Reference in New Issue
Block a user