Releases: OpShin/opshin
Releases · OpShin/opshin
0.18.1
What's Changed
🏕 Features
- Properly enforce forbidden overwrites by @nielstron in #281
- Fix nondeterministic compilation by @nielstron in #283 (discovered by @ross-spencer in #282)
Full Changelog: 0.18.0...0.18.1
0.18.0
What's Changed
🏕 Features
- Enable code reuse through patternization by @nielstron in #265
- Feat/prevent double import by @nielstron in #268
- Feat/len dict by @nielstron in #270
- Allow ByteString and bytearray synonyms for bytes as type annotations by @nielstron in #277
- Flatten comparison chains generated from taking apart chains by @nielstron in #278
- Add code to apply UPLC parameters to a contract by @nielstron in #253
- Feat/restructure opshin contract type by @nielstron in #280
- Plutus Blueprint support by @nielstron in #279
- Restore Python 3.11 by @nielstron in #213
👒 Dependencies
- Bump actions/checkout from 3 to 4 by @dependabot in #257
- Bump hypothesis from 6.84.1 to 6.87.0 by @dependabot in #266
- Bump black from 23.9.1 to 23.10.1 by @dependabot in #275
- Bump hypothesis from 6.87.1 to 6.88.1 by @dependabot in #273
- Bump pre-commit from 3.4.0 to 3.5.0 by @dependabot in #272
Full Changelog: 0.17.0...0.18.0
0.17.0
What's Changed
🐛 Bugfixes
- Fix errors relating to missing code locations by @nielstron / @chrissiwaffler in #237 and #245
🏕 Features
- Comparison chaning is now supported by @nielstron in #238
- When forcing three parameters, the datum must be potentially of type
Nothing
by @nielstron in #239 - Introduce a function that copies an object structurally by @nielstron in #246
- Implement integrity check for lists and dicts by @nielstron in #250
👒 Dependencies
- Bump hypothesis from 6.82.7 to 6.83.1 by @dependabot in #249
- Bump pytest from 7.4.0 to 7.4.1 by @dependabot in #248
- Bump pre-commit from 3.3.3 to 3.4.0 by @dependabot in #247
- Bump hypothesis from 6.83.1 to 6.84.0 by @dependabot in #251
- Bump hypothesis from 6.84.0 to 6.84.1 by @dependabot in #254
- Bump black from 23.7.0 to 23.9.1 by @dependabot in #258
Full Changelog: 0.16.2...0.17.0
0.16.1
What's Changed
🐛 Fixes
- Fix usage of FrozenList/frozenlist by @nielstron in #233
- Fix an error where UnionType was always allowed to be compared with List[X] by @nielstron in #232
Full Changelog: 0.16.0...0.16.1
0.16.0
What's Changed
🐛 Fixes
- int from str by @nielstron in #217
🏕 Features
- Polymorphic integer constructor by @nielstron in #66
- Add polymorphic constructors for bool and bytes by @nielstron in #216
- Automatically wrap boolean operations in an implicit cast to bool by @nielstron in #219
- Make isinstance more powerful by @nielstron in #220
- Allow accessing attributes with shared name but differing position by @nielstron in #223
- Allow retyping by @nielstron in #226
👒 Dependencies
- Bump hypothesis from 6.79.3 to 6.80.0 by @dependabot in #211
- Bump hypothesis from 6.80.0 to 6.80.1 by @dependabot in #222
- Bump black from 23.3.0 to 23.7.0 by @dependabot in #228
- Bump hypothesis from 6.80.1 to 6.81.1 by @dependabot in #227
Full Changelog: 0.15.2...0.16.0
0.15.2
🐛 Bug fixes
- Fixes a bug where the type checker for opshin eval would incorrectly handle types
Full Changelog: 0.15.1...0.15.2
0.15.1
Full Changelog: 0.15.0...0.15.1
0.15.0
What's Changed
🏕 Features
- Introduce a bitmap implementation and aux functionality by @nielstron in #204
- Introduce exponentiation by squaring by @nielstron in #205
- Enable direct access to uplc builtins by @nielstron in #135
- Add a micropayments example contract by @nielstron in #59
- Stringification by @nielstron in #206
🐛 Bug fixes
- fix: wrong line counting by @chrissiwaffler in #192
- Fix typo in type_inference.py by @nielstron in #196
- Fixes type annotation interpretation in case of missing type annotation
- Various smaller fixes included in other PRs regarding failing compilation where compilation should succeed
👒 Dependencies
- Bump hypothesis from 6.75.6 to 6.79.1 by @dependabot in #203
- Bump pre-commit from 3.3.2 to 3.3.3 by @dependabot in #201
- Bump uplc from 0.6.6 to 0.6.7 by @dependabot in #198
- Bump pytest from 7.3.1 to 7.3.2 by @dependabot in #197
- Bump hypothesis from 6.79.1 to 6.79.3 by @dependabot in #210
- Bump pluthon from 0.3.7 to 0.3.9 by @dependabot in #209
- Bump pytest from 7.3.2 to 7.4.0 by @dependabot in #208
Full Changelog: 0.14.3...0.15.0
0.14.3
What's Changed
🏕 Features
- Create a proper temporary directory for importing the file (thread-safe) by @nielstron in #185
🐛 Bug fixes
- Fix deriving the constant type of recursive plutus data by @nielstron in #190
👒 Dependencies
- Update version by @nielstron in #186
Full Changelog: 0.14.2...0.14.3
0.14.2
What's Changed
🏕 Features
- Shebang for distinction of python files #159 by @chrissiwaffler in #164
- Add flags for constant folding as experimental feature by @nielstron in #170
- Add first version of constant foldign that propagates intermediates by @nielstron in #166
- Add a compilation purpose
lib
for compiling / linting libraries by @nielstron in #171 - Warn the user when they are defining b"..." hex bytestrings by @nielstron in #172
- Catch any error when linting by @nielstron in #180
- Add version cli flag by @nielstron in #181
🐛 Bugfixes
- Add check for number of parameters of validator by @nielstron in #176
- Fix/handle missing validator by @nielstron in #178
Full Changelog: 0.14.1...0.14.2