Skip to content

Releases: HotswapProjects/HotswapAgent

1.4.2-SNAPSHOT (2024-03-26)

19 Jun 17:56
Compare
Choose a tag to compare
Pre-release

New Plugins:

  • Idea pluging for developing IntelliJ IDEA in Idea
  • iBatis plugin (thanks to @muwaiwai)
  • jackson plugin (thanks to @liuzhengyang)
  • Spring Boot plugin (thanks to @cvictory )

News

  • OWB intercepted bean redefinition
  • Support for jbossmodules 10.1.x
  • Support for JSF ManagedBean annotations (thanks to @sinanyumak)
  • compatibility with Vaadin 23 and 24

Fixes

  • #404 - fix missing declaredMethodCache in java17
  • #391 - Proxy redefinition support in Weld3
  • #355 - VaadinPlugin does not work in hotswapagent 1.4.1 on Wildfly 19 on Windows 10
  • #357 - Doesn't work with hibernate 5.4.15.final
  • #369
  • #383 - java.lang.NoSuchMethodException: org.hibernate.validator.internal.metadata.BeanMetaDataManager.__resetCache()
  • #445 - fix enum field add/remove
  • #463 - mybatis support mybatis-spring

1.4.1

09 Jun 09:49
Compare
Choose a tag to compare

News:

  • Vaadin 14 compatibility
  • Spring MVC
  • Deltaspike reload optimization, fixed repository redefinition

1.4.0

08 Jan 10:19
b667369
Compare
Choose a tag to compare

Key features

  • Java11 support
  • Kotlin support - HotswapAgent + dcevm is succesfuly used on many Kotlin projects now

New Plugins:

  • CXF-JAXRS plugin, with Spring + CDI integration & JAXB realoding
  • FreeMarker plugin (thanks to AJ Banck)
  • MyBatis plugin
  • Undertow plugin
  • Wicket plugin (thanks to T. Heigl)

New features:

  • Add watchResources support to JBossModules plugin (JbossAS+Wildfly)
  • Weld3 support (CDI-2.0)
  • OWB2 support (CDI-2.0)
  • Deltaspike 1.8, 1.9 support
  • Reloading of CDI beans is skipped for simple method body modifications (using full class signature comparision)
  • Support for watchResources+extraClassPath in SpringBoot applications (TomcatPlugin supports TomcatEmbeddedWebappClassLoader)
  • Improve performance by skipping useless DelegatingClassLoader registration.

Fixes:

  • #201 - Fix npe in Log4J2 plugin
  • #218 - Exclude jdk.internal.reflect.DelegatingClassLoader
  • #255 - Added check to ProxyReplacer for null beans
  • #264 - Fix extraClassPath in UrlClassLoader
  • #269 - Fix spring plugin on wildfly 12
  • #286 - change log level on reloading of Spring XML config
  • #291 - Fix NPE on private enum redefinition
  • #192 - Fix HA doesn't work on war deployed on Wildfly10.1

1.3.0

16 May 18:11
Compare
Choose a tag to compare

New Plugins:

  • Vaadin
    • Register changes in @route to the router when a class is modified (add new views on the fly)
    • Changes to a template model are live after a browser refresh
    • All internal metadata caches are cleared whenever a class is changed

New features:

  • HotswapAgent plugins may be included as a standard maven dependency #242

Fixes:

Agent Core:

  • ERROR (org.hotswap.agent.watch.nio.EventDispatcher) - No match for watch event #223

Spring plugin:

  • Spring plugin registers a managed bean for a prototype bean #241
  • Spring Boot 2 projects throw NoSuchMethodException for __resetCache #221
  • Cannot create proxy for spring component without default constructor #232
  • HotswapSpringCallback not serializable #243

JBoss plugin:

  • JBoss - Plugin not found in the registry, error on random classloader jars. #229

Other:

  • Autodeploy snapshot from master to Sonatype #236
  • Release to Maven #224
  • maven central repos not include version 1.2.0 #234

1.2.0

08 Mar 19:34
Compare
Choose a tag to compare

New Plugins

  • OpenWebBeans (Tomcat/Tommee supported)
  • Mojarra
  • MyFaces
  • OmniFaces

New features

  • Support for Java9.
  • WeldPlugin - SesionScoped bean reinjection, EJB session beans support
  • Deltaspike contexts reinjections
  • excludedClassLoaderPatterns: comma separated list of class loaders to exclude from initialization, in the form of RegEx patterns.
  • #171 - hotswap-agent.properties properties values can reference System variables defined by JVM argument -D...
  • improved GlassFish support. Felix OSGi patches, GlassFish/Weld support
  • #197 - multiple webappDir entries allowed. Entrypoints are separated by ',' character

Fixes:

  • Jersey HK2 service reload on any change
  • Weld plugin field access #161
  • DeltaSpike v1.7 fixes
  • JavaBeans - synthetic classes are flushed from Itrospector cache
  • multi resource methods from extraClassPath, #176
  • fixed problem with not started WebappClassLoader, #185
  • SpringPlugin in JBossAS/Wildfly #140, #184
  • Support symbolic links in extraClassPath #203

1.0

12 Oct 06:50
Compare
Choose a tag to compare
1.0

New frameworks / JVM plugins:

  • ClassInit - enhance DCEVM by static variables + enum values initialization
  • Hibernate 3 + 4 + 5
  • Deltaspike 1.7
  • RestEasy 3.0
  • Spring 4.2+
  • Weld 2.3, 2.4 - bean reloading in contexts + reloading strategy
  • MyFaces 2.2
  • Log4j 2.7
  • Jersey1

Core changes:

  • support to attach agent runtime to JVM process
  • Allow configuration to be loaded from an external file
  • _jsp.class are excluded from .class processing
  • META-INF + Maven Versioning support

Minor changes:

  • LOGGER timestamp format can be setup in properties file
  • #154 Modify the ClassPathScanner to support URIs prefixed with "zip:"
  • #145 Added support to attach agent runtime to JVM process
  • #108 Allow configuration to be loaded from an external file
  • #104 Adding LOGFILE.append configuration option

Bugfixes

  • #155 Modifying jsp on tomcat8 threw ConcurrentModificationException
  • #157 ZK label files not refreshing on change.
  • _jsp.class skipped from .class processing - fixes problems with JSPs
  • #141 WebObjects plugin - clear validation cache on every reload
  • #124 JBossModulesPlugin on JBoss Wildfly 10
  • windows NIO2 watcher patched issues with massive class reload
  • #116 Fixed UndeclaredThrowableException in Spring plugin.
  • #103 java.lang.RuntimeException: org.hotswap.agent.javassist.NotFoundException
  • #98 Handle null ClassLoader

Current snapshot

15 Feb 15:53
Compare
Choose a tag to compare
Current snapshot Pre-release
Pre-release

build from master branch @ 2016/02/15

0.3 - stable

18 Aug 07:31
Compare
Choose a tag to compare
  • CDI/Weld plugin
  • WebObjects plugin
  • Better Spring proxy support
  • Fixes in Spring plugin

0.2 - stable

09 Nov 20:09
Compare
Choose a tag to compare

Several bug fixes and small development:

  • Brand new Equinox/OSGI plugin (support for Eclipse RCP development)
  • ELResolver fixes
  • #42 annotation names cleanup ( @OnClassLoadEvent, @OnResourceFileEvent, ...)
  • Seam + CDI plugins cleanup

0.1-beta4 - maintenance

28 Jul 14:16
Compare
Choose a tag to compare

Added test automation for Java 1.7, 1.8 and various Spring + Hibernate versions.

See HotswapAgentExamples/plain-servlet tests for all supported containers:

  • Jetty + Tomcat - fully supported
  • JBoss/Wildfly - it works, but advanced properties (extraClasspath, watchResources, webappDir) are not supported yet.
  • Glassfish - does not start at all. See associated issue for manual setup.