Releases: quarkusio/gizmo
Releases · quarkusio/gizmo
2.0.0.Beta6
What's Changed
- avoid classloader leak seemingly caused by
Util.findSam()
by @Ladicek in #477 - release 2.0.0.Beta6 by @Ladicek in #479
Full Changelog: 2.0.0.Beta5...2.0.0.Beta6
2.0.0.Beta5
What's Changed
- fix eq() and ne() if the first operand is Const.of(0) by @Ladicek in #468
- mention required capturing in
lambda()
andnewAnonymousClass()
javadoc by @Ladicek in #470 - fix
StringBuilderOps
by @Ladicek in #471 - add automated testing of documentation examples by @Ladicek in #473
- avoid constant dynamic for primitive class constants by @Ladicek in #475
- release 2.0.0.Beta5 by @Ladicek in #476
Full Changelog: 2.0.0.Beta4...2.0.0.Beta5
2.0.0.Beta4
What's Changed
- fix
try
/finally
in case thetry
body has nested blocks by @Ladicek in #462 - add
InstanceExecutableCreator.this_()
by @Ladicek in #463 - fix array creation by mapping and add tests by @Ladicek in #464
- fail properly when the user attempts to return a value from a
void
-returning method by @Ladicek in #465 - release 2.0.0.Beta4 by @Ladicek in #466
Full Changelog: 2.0.0.Beta3...2.0.0.Beta4
2.0.0.Beta3
What's Changed
- Bump org.junit.jupiter:junit-jupiter-api from 5.13.3 to 5.13.4 by @dependabot[bot] in #451
- Fix
forEach
infinte loop by @dmlloyd in #448 - Do not validate for a path upfront by @dmlloyd in #449
- Let ordering operators work on objects by @dmlloyd in #450
- Security & behavioral fixes for
ClassOutput
by @dmlloyd in #452 - Gizmo user manual (WIP) by @dmlloyd in #386
- Bump io.smallrye.common:smallrye-common-bom from 2.13.7 to 2.13.8 by @dependabot[bot] in #456
- improvements by @Ladicek in #458
- release 2.0.0.Beta3 by @Ladicek in #460
Full Changelog: 2.0.0.Beta2...2.0.0.Beta3
2.0.0.Beta2
What's Changed
- Bump io.smallrye.common:smallrye-common-bom from 2.12.0 to 2.12.2 by @dependabot[bot] in #427
- improve decompilation experience by @Ladicek in #418
- Bump org.junit.jupiter:junit-jupiter-api from 5.13.1 to 5.13.2 by @dependabot[bot] in #428
- Bump net.revelc.code.formatter:formatter-maven-plugin from 2.26.0 to 2.27.0 by @dependabot[bot] in #431
- improvements by @Ladicek in #437
- Bump org.junit.jupiter:junit-jupiter-api from 5.13.2 to 5.13.3 by @dependabot[bot] in #439
- Bump io.smallrye.common:smallrye-common-bom from 2.12.2 to 2.13.6 by @dependabot[bot] in #441
- Bump io.smallrye.common:smallrye-common-bom from 2.13.6 to 2.13.7 by @dependabot[bot] in #443
- fix GenericType.toString() by @Ladicek in #444
- Release 2.0.0.Beta2 by @dmlloyd in #446
Full Changelog: 2.0.0.Beta1...2.0.0.Beta2
2.0.0.Beta1
What's Changed
- Do not double build when pushing for release by @gsmet in #325
- Bump io.smallrye.common:smallrye-common-bom from 2.11.0 to 2.12.0 by @dependabot in #328
- Bump org.junit.jupiter:junit-jupiter-api from 5.12.1 to 5.12.2 by @dependabot in #327
- hide some ClassFile API by @Ladicek in #330
- make Var an LValueExpr by @Ladicek in #336
- Wrap
TypeKind
with our own by @dmlloyd in #337 - Validate that annotations are added to the correct element type by @dmlloyd in #340
- renames by @Ladicek in #343
- improve parameter-related javadocs by @Ladicek in #342
- Change organization of
Gizmo
andClassOutput
by @dmlloyd in #338 - Repeat annotation validation by @dmlloyd in #344
- fix static field with an initializer by @Ladicek in #346
- add BlockCreator.if[Not]InstanceOf[OrElse] overloads that take a Class by @Ladicek in #347
- Build and test on JDK 17, 21, and latest without matrix by @dmlloyd in #352
- small improvements by @Ladicek in #353
- add test for conditional expression and fix block creation by @Ladicek in #355
- Add
unsafeCast
; add cast tests by @dmlloyd in #357 - Add ability to declare thrown types by @dmlloyd in #351
- Add tests for locks & synch by @dmlloyd in #349
- Cleanups and unused method removals by @dmlloyd in #359
- improvements by @Ladicek in #361
- renames by @Ladicek in #356
unsafeCast
->uncheckedCast
by @dmlloyd in #358- fix
BlockCreator.ifInstanceOf()
by @Ladicek in #364 - Atomic operations support by @dmlloyd in #363
- Add
staticField
factory method that accepts an initial value by @dmlloyd in #365 - improvements by @Ladicek in #366
- add Const.ofDefault() by @Ladicek in #368
- Introduce list/set/map constant support by @dmlloyd in #367
- Rework item binding by @dmlloyd in #374
- small improvements by @Ladicek in #373
- Get rid of inner item classes by @dmlloyd in #378
- Introduce revoke node operation by @dmlloyd in #379
- Abstracted generics+annotation support by @dmlloyd in #370
- fix get/set via handle in a few cases by @Ladicek in #381
ClassOutput
should be a functional interface by @dmlloyd in #387- improve error message in
TestClassMaker.write()
by @Ladicek in #391 - add automatic type conversions: boxing, unboxing, primitive widening by @Ladicek in #390
- Remove unused default method by @dmlloyd in #392
- remove the Expr.bound() method from public API by @Ladicek in #394
- Create flags and access levels abstraction by @dmlloyd in #384
- Make the issue templates slightly less annoying by @dmlloyd in #396
- Remove
transitive
from classfile dependency by @dmlloyd in #397 - Support recursive type variables by @dmlloyd in #401
- Rename some
with
toadd
orset
by @dmlloyd in #395 - improve local vars by @Ladicek in #393
- Access levels should be in order from least to greatest so that the comparator makes sense by @dmlloyd in #403
- Add a mechanism to define the default flags of members by @dmlloyd in #402
- Fix memory order inconsistency with array store by @dmlloyd in #406
- Bump org.junit.jupiter:junit-jupiter-api from 5.12.2 to 5.13.0 by @dependabot in #407
- Object methods improvements by @Ladicek in #410
- move implements_() to ClassCreator and add extends_() to InterfaceCreator by @Ladicek in #409
- Allow generic type to be specified in more places by @dmlloyd in #405
- fix how lambdas are generated by @Ladicek in #412
- add FieldCreator.volatile_() by @Ladicek in #413
- improve
GenericType
and related types by @Ladicek in #411 - add
ExecutableCreator.parameter()
methods that acceptGenericType
by @Ladicek in #417 - Bump org.junit.jupiter:junit-jupiter-api from 5.13.0 to 5.13.1 by @dependabot in #420
- small improvements by @Ladicek in #422
- improve switch by @Ladicek in #423
- fix numeric promotion for eq/ne comparisons by @Ladicek in #424
- release 2.0.0.Beta1 by @Ladicek in #426
Full Changelog: 2.0.0.Alpha3...2.0.0.Beta1
2.0.0.Alpha3
What's Changed
- Add build infrastructure to 2.x branch by @gsmet in #219
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.2 by @dependabot in #214
- Bump org.junit.jupiter:junit-jupiter-api from 5.10.3 to 5.12.0 by @dependabot in #215
- Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.13 to 1.7.0 by @dependabot in #217
- Gizmo2: add convenient default methods to ClassOutput by @mkouba in #221
- Gizmo2: introduce InstanceExecutableCreator#this_() by @mkouba in #224
- Gizmo2: fix ClassCreator by @mkouba in #223
- Allow method/ctor params to be declared positionally by @dmlloyd in #230
- Fixes in preparation for lambdas by @dmlloyd in #225
- Fix some forEach related problems by @dmlloyd in #231
- Add default ctor and related fixes by @dmlloyd in #232
- Gizmo2: fix ClassCreator#defaultConstructor() by @mkouba in #234
- Allow typeless
null
return by @dmlloyd in #236 - Add
continue
, fix array issue along the way by @dmlloyd in #239 - Bump org.junit.jupiter:junit-jupiter-api from 5.12.0 to 5.12.1 by @dependabot in #240
- Preparations for switch expressions & fixes by @dmlloyd in #242
- Optimize
If
to avoid excessivegoto
by @dmlloyd in #243 - Gizmo2: introduce ListOps#get() by @mkouba in #246
- Complete rework of
switch
by @dmlloyd in #247 - Gizmo2: fix while loop and make it possible to continue a foreach loop by @mkouba in #249
- Make sure comparisons are registered correctly by @dmlloyd in #252
- Bump org.jboss:jboss-parent from 48 to 49 by @dependabot in #255
- Gizmo2: add MapOps by @mkouba in #253
- Anonymous classes & lambdas by @dmlloyd in #259
- Gizmo2: introduce OptionalOps by @mkouba in #260
- Gizmo2: fix BlockCreator#unbox() by @mkouba in #261
- Let the JVM do verification for us, but print a nice error when it fails by @dmlloyd in #262
- Gizmo2: fix FieldDeref, add basic test for field access by @mkouba in #256
- inform Maven directly that Gizmo 2 is a Java 17 project by @Ladicek in #263
- Gizmo2: add LambdaTest by @mkouba in #265
- Add asserts to AnonClassTest by @mkouba in #269
- fix primitive constants by @Ladicek in #264
- improve error message on static type mismatch for return/yield by @Ladicek in #270
- fix the ArrayStore item by @Ladicek in #271
- add StringBuilderOps by @Ladicek in #272
- Add convenient TypeCreator#constantField(String, Constant) by @mkouba in #268
- Fix Expr#length() for local variable by @mkouba in #276
- Add StringOps#concat by @dmlloyd in #275
- Drop unused flags by @dmlloyd in #274
- Make the names of test classes consistent by @mkouba in #277
- move FieldDesc to the "desc" package by @Ladicek in #279
- Fix increment for non-
int
types by @dmlloyd in #282 - add utility to generate equals, hashCode and toString by @Ladicek in #278
- Fix StaticFieldVarImpl#emitSet(), add access methods to toBlockCreator by @mkouba in #284
- Make static field initializers more robust by @dmlloyd in #286
- Complete support for
try/catch/finally
by @dmlloyd in #285 - Do not allow builders to accept raw
Expr
by @dmlloyd in #288 - Adjust Dependabot config following branch renaming by @gsmet in #289
- Enforce state progression for method creation by @dmlloyd in #290
- Do not intern descriptors and constants by @dmlloyd in #296
- Non capturing lambdas should be singleton by @dmlloyd in #298
- Implement instance field initializers by @dmlloyd in #297
- Move
this
to type level by @dmlloyd in #302 - tests annotations and invocations + refactor flag setting by @Ladicek in #303
- improve javadoc and formatting by @Ladicek in #307
- Introduce ThrowableOps by @mkouba in #308
- Forbid duplicate methods/fields/ctors by @dmlloyd in #310
- add tests for arithmetic operations and fix type check by @Ladicek in #311
- fix unboxing primitive values and unboxing via casting by @Ladicek in #305
- Add issue templates by @dmlloyd in #313
- Add issue template config by @dmlloyd in #314
- Conform to issue schema by @dmlloyd in #315
- "required" does not go here by @dmlloyd in #316
- check arguments count and types when invoking methods by @Ladicek in #317
- Add Release Workflows by @gastaldi in #318
- Release 2.0.0.Alpha3 by @gastaldi in #319
- Do not fail build on javadoc error by @gastaldi in #320
- Fix some javadoc problems by @dmlloyd in #321
- add missing toString() methods by @Ladicek in #322
- Configure Maven Release Plugin for automated releases by @gsmet in #323
- Release 2.0.0.Alpha3 by @gsmet in #324
New Contributors
Full Changelog: https://github.com/quarkusio/gizmo/commits/2.0.0.Alpha3