chore(deps): update spring core to v5 (major)

This PR contains the following updates:

Package
Update
Change
References

org.springframework:spring-webmvc
major
3.1.4.RELEASE -> 5.1.6.RELEASE
homepage, source

org.springframework:spring-web
major
3.1.4.RELEASE -> 5.1.6.RELEASE
homepage, source

org.springframework:spring-test
major
3.1.4.RELEASE -> 5.1.6.RELEASE
homepage, source

org.springframework:spring-core
major
3.1.4.RELEASE -> 5.1.6.RELEASE
homepage, source

org.springframework:spring-context-support
major
3.1.4.RELEASE -> 5.1.6.RELEASE
homepage, source

org.springframework:spring-context
major
3.1.4.RELEASE -> 5.1.6.RELEASE
homepage, source

org.springframework:spring-beans
major
3.1.4.RELEASE -> 5.1.6.RELEASE
homepage, source

Release Notes

spring-projects/spring-framework
v5.1.6.RELEASE
Compare Source
:star: New Features

Improve exception handling when Hibernate-related bean creation fails #22689
STOMP servers MUST handle a STOMP frame in the same manner as a CONNECT frame #22652
Performance improvement in RequestMappingInfo #22598
Skip more classes when processing beans in EventListenerMethodProcessor #22564
Jackson2Tokenizer ignores USE_BIG_DECIMAL_FOR_FLOATS deserialization feature #22510
Revisit XML schema handling for consistent local vs external resolution #22504
JdbcTemplate.extractOutputParameters should preserve order of parameters #22491
Lazy Session initialisation for JmsTransactionManager #22468
MappingJackson2MessageConverter with Jackson Smile #22444
Cannot define custom XmlFactory with Jackson2ObjectMapperBuilder.xml() #22428
Directly registered FactoryBeans are instantiated more aggressively than those defined via @Bean methods #22409
Provide additional debug information for memory leaks via ByteBuf.touch [SPR-17427]#21960
Suppress Reactor Netty "disconnected client" exceptions the logs [SPR-17257]#21790

:beetle: Bug Fixes

JdbcOperationsExtensions.queryForObject overload which takes in lambda - allow null value to be returned? #22682
Avoid duplicate registration of @ControllerAdvice implementing both RequestBodyAdvice and ResponseBodyAdvice #22638
Locale inconsistently resolves to null for invalid input value #22603
Jackson2ObjectMapperBuilder's modulesToInstall function does not eventually override the default configuration #22576
ServletWebRequest.getHeaderValues throwing NPE when header information is not available #22547
Fix repeat DataBuffer#write(CharSequence, Charset) calls #22484
Last-Modified Date format changed with SPR-17571 to not have double digit day #22478
@RequestMapping content negotiation should not impact error responses formats #22452
AbstractTraceInterceptor causes problems when implemented in Kotlin #22435
Events extending from PayloadApplicationEvent and implementing an interface fail to match @EventListener argument #22426
ReflectUtils.defineClass() ignores the ClassLoader argument in Java 11 #22416
DefaultConversionService fails to properly convert an Object[] to a int[]#22410
Ensure indexer gracefully handle missing meta annotations #22385

:notebook_with_decorative_cover: Documentation

Update documentation for WebJar support #22613
remove broken link "overview.html#background-ioc" in doc core.html #22597
PDF Documentation Spring-Core 5.1.5: Occurrences of a STRONG tag, where we should see a bold font #22577
Using MockMvc to test Flux endpoints? #22544
Documentation about aspectj and agent configuration is outdated and confusing #22429
Add guidelines about using checked exception with proxies in Kotlin #22412

:hammer: Dependency Upgrades

Upgrade to reactor-netty 0.8.6 for Webflux #22693

:heart: Contributors
We'd like to thank all the contributors who worked on this release!

@izeye
@lwjli
@drewtul
@liquanchen9
@jorgheymans
@DamianChlod
@aftersss
@vpavic
@stsypanov
@rs017991

v5.1.5.RELEASE
Compare Source
:star: New Features

Fix for ScriptUtils failure when '--' occurs inside a multi-line comment on the same line as '*/' #22392
InjectionPoint autowiring throws exception for @Resource beans autowired by name #22359
PathMatchingResourcePatternResolver may double-wrap jar: URLs #22346
mariadb-java-client 2.4.0 productName changed: breaks Spring Batch #22344
SpringEL should not throw IllegalAccessError for invalid assignment #22336
Avoid duplicate call to findAnnotations in DefaultListableBeanFactory.findAnnotationOnBean #22318
Load-time weaving support for WildFly 13+ #22297
org.springframework.web.client.HttpMessageConverterExtractor#extractData fails to detect empty body when content-length header is missing #22265
Deprecate JibxMarshaller #22249
DefaultExceptionHandler logs warning cannot be disabled [SPR-17628]#22159
Support for null literal in Jackson2JsonDecoder [SPR-17510]#22042

:beetle: Bug Fixes

IllegalArgumentException when overriding empty 'excludeFilters' array on @ComponentScan #22405
@Transactional beans not getting proxied when being initialized during failed circular reference attempt #22370
CompositeLog does not log exceptions at ERROR level #22364
ApplicationContext.refresh() causes stale listeners to be added to ApplicationEventMulticaster  #22325
ApplicationListenerMethodAdapter does not find @Ordered annotation for dynamic proxies #22307
NPE in AbstractHandlerMethodMapping when trace logging is enabled and a handler's class loader does not provide package information #22306
Incomplete fix for MethodParameter.isOptional() ArrayIndexOutOfBoundsException #22303
Wrap DecodingException thrown by WebFlux functional endpoints #22290
Fix truncation of response body in AbstractMessageConverterMethodProcessor #22287
DataBuffer.write(CharSequence charSequence, Charset charset) fails on empty string with java.lang.IllegalStateException: Current state = RESET, new state = FLUSHED #22262
Add tests for SpringBeanContainer (Hibernate ORM integration) and fix the behavior when requesting named beans #22260
ServerSentEventHttpMessageReader leaves a leading space on field decoding [SPR-17511]#22043

:notebook_with_decorative_cover: Documentation

Enhance documentation for @PostConstruct/PreDestroy and @Required #22348
Improve spring-context-indexer documentation #22339
Testing chapter of reference manual refers to old version of PetClinic #22288
Correct issues in Spring MVC section #22282
Clarify documentation about Spring MVC views rendered with Jackson versus @JsonView #22280
Spring MVC documentation has incorrect WebFlux reference #22270
Use try-with-resources in Spring 5 documentations #22269
Document effect of @DirtiesContext when used with constructor injection [SPR-17654]#22183
Add note to Scope documentation on SimpleTransactionScope [SPR-17651]#22180
Document effect of preemptive timeouts on transactional tests [SPR-17647]#22176
Document synchronous use of WebClient [SPR-17644]#22173
Error in CORS WebFilter documentation of web-reactive #19841
Improve Kotlin documentation #22400

:heart: Contributors
We'd like to thank all the contributors who worked on this release!

@benelog
@mmustaquim
@mhewedy
@artembilan
@lifenjoy51
@yrodiere
@vpavic
@kudrevatykh

v5.1.4.RELEASE
Compare Source
v5.1.3.RELEASE
Compare Source
v5.1.2.RELEASE
Compare Source
v5.1.1.RELEASE
Compare Source
v5.1.0.RELEASE
Compare Source
v5.0.13.RELEASE
Compare Source
:star: New Features

Revisit XML schema handling for consistent local vs external resolution #22529
JdbcTemplate.extractOutputParameters should preserve order of parameters #22493
Avoid duplicate call to findAnnotations in DefaultListableBeanFactory.findAnnotationOnBean #22355

:beetle: Bug Fixes

Avoid duplicate registration of @ControllerAdvice implementing both RequestBodyAdvice and ResponseBodyAdvice #22684
Locale inconsistently resolves to null for invalid input value #22658
Jackson2ObjectMapperBuilder's modulesToInstall function does not eventually override the default configuration #22625
Last-Modified Date format changed with SPR-17571 to not have double digit day #22611
ServletWebRequest.getHeaderValues throwing NPE when header information is not available #22550
Events extending from PayloadApplicationEvent and implementing an interface fail to match @EventListener argument #22470
AbstractTraceInterceptor causes problems when implemented in Kotlin #22456
DefaultConversionService fails to properly convert an Object[] to a int[]#22414
IllegalArgumentException when overriding empty 'excludeFilters' array on @ComponentScan #22407
RestTemplate adds duplicate accept header information [SPR-16690]#22401
@Transactional beans not getting proxied when being initialized during failed circular reference attempt #22377
ApplicationContext.refresh() causes stale listeners to be added to ApplicationEventMulticaster  #22374
ApplicationListenerMethodAdapter does not find @Ordered annotation for dynamic proxies #22353

:notebook_with_decorative_cover: Documentation

Update documentation for WebJar support #22615
Spring MVC documentation has incorrect WebFlux reference #22380

v5.0.12.RELEASE
Compare Source
v5.0.11.RELEASE
Compare Source
v5.0.10.RELEASE
Compare Source
v5.0.9.RELEASE
Compare Source
v5.0.8.RELEASE
Compare Source
v5.0.7.RELEASE
Compare Source
v5.0.6.RELEASE
Compare Source
v5.0.5.RELEASE
Compare Source
v5.0.4.RELEASE
Compare Source
v5.0.3.RELEASE
Compare Source
v5.0.2.RELEASE
Compare Source
v5.0.1.RELEASE
Compare Source
v5.0.0.RELEASE
Compare Source
v4.3.23.RELEASE
Compare Source
:star: New Features

ResourceUrlEncodingFilter versioning breaks when URL contains fragment [SPR-17535]#22552
Revisit XML schema handling for consistent local vs external resolution #22530
JdbcTemplate.extractOutputParameters should preserve order of parameters #22494
HandlerInterceptorAdapter should honor ordering #22434
Avoid duplicate call to findAnnotations in DefaultListableBeanFactory.findAnnotationOnBean #22356

:beetle: Bug Fixes

Avoid duplicate registration of @ControllerAdvice implementing both RequestBodyAdvice and ResponseBodyAdvice #22686
Jackson2ObjectMapperBuilder's modulesToInstall function does not eventually override the default configuration #22624
Events extending from PayloadApplicationEvent and implementing an interface fail to match @EventListener argument #22471
DefaultConversionService fails to properly convert an Object[] to a int[]#22415
@Transactional beans not getting proxied when being initialized during failed circular reference attempt #22376
ApplicationListenerMethodAdapter does not find @Ordered annotation for dynamic proxies #22352
RestTemplate adds duplicate accept header information  #22320

:heart: Contributors
We'd like to thank all the contributors who worked on this release!

@geminiKim

v4.3.22.RELEASE
Compare Source
v4.3.21.RELEASE
Compare Source
v4.3.20.RELEASE
Compare Source
v4.3.19.RELEASE
Compare Source
v4.3.18.RELEASE
Compare Source
v4.3.17.RELEASE
Compare Source
v4.3.16.RELEASE
Compare Source
v4.3.15.RELEASE
Compare Source
v4.3.14.RELEASE
Compare Source
v4.3.13.RELEASE
Compare Source
v4.3.12.RELEASE
Compare Source
v4.3.11.RELEASE
Compare Source
v4.3.10.RELEASE
Compare Source
v4.3.9.RELEASE
Compare Source
v4.3.8.RELEASE
Compare Source
v4.3.7.RELEASE
Compare Source
v4.3.6.RELEASE
Compare Source
:star: New Features

CookieLocaleResolver may disturb error rendering when locale cookie has a malformed value [SPR-15182]#19748
Tolerate null return from getNegotiatedExtensions (for Jetty 9.4.1 compatibility) [SPR-15180]#19746
DispatcherServet.checkMultipart() does not consider javax.servlet.error.exception that has a MultipartException cause [SPR-15178]#19744
Scheduled/JmsListenerAnnotationBeanPostProcessor free heap space [SPR-15175]#19741
MockRestServiceServer should allow for an expectation to never occur. [SPR-15168]#19734
MockSessionCookieConfig#maxAge defaults to 0 instead of -1 [SPR-15142]#19708
org.springframework.messaging.handler.invocation.InvocableHandlerMethod should not mention "controller" [SPR-15139]#19705
MockHttpServletRequestBuilder should support multiple locales [SPR-15116]#19683
Add MimeType and MediaType constants for RSS [SPR-15109]#19676
Update MySQLMaxValueIncrementer to not rely on MYISAM [SPR-15107]#19674
Netty4ClientHttpRequestFactory should use SNI for TLS connections [SPR-15101]#19668
Unable to specify factory bean in BeanDefinitionBuilder [SPR-15098]#19665
Clarify WebContentInterceptor path mappings and efficiently match them [SPR-15096]#19663
Improve performance of StringUtils.capitalize() [SPR-15094]#19661
Implement MessagingException.toString() [SPR-15091]#19657
GenericTableMetaDataProvider could use non standard named TableMeta-Schema if only one found [SPR-15090]#19656
Remove String#toCharArray from ScriptUtils [SPR-15075]#19641
Track bean dependencies for calls between @Bean methods within @Configuration classes [SPR-15069]#19635
xml websockets configuration does not mirror annotation configuration [SPR-15068]#19634
SchedulingConfigurer's ScheduledTaskRegistrar should reliably shut down before TaskScheduler [SPR-15067]#19633
Backport streamlined ClassPathBeanDefinitionScanner setup [SPR-15061]#19627
Remove unused Log object from MessageHeaderAccessor [SPR-15045]#19611
Backward compatibility: initDefaultStrategies() is no longer invoked on subclasses of "MessageListenerAdapter" [SPR-15043]#19609
@Aspect pointcut declarations do not support dynamically loaded classes [SPR-15040]#19606
Reactor2StompTcpClient should use a shared EventLoopGroup [SPR-15035]#19601
Consistent autowiring behavior for specifically typed injection points against loosely typed @Bean methods [SPR-14960]#19527
ContentCachingRequestWrapper can have maxContentLength to limit caching [SPR-14829]#19395
ScheduledAnnotationBeanPostProcessor should reliably apply after AnnotationAwareAspectJAutoProxyCreator [SPR-14692]#19256
Classes with abstract @Lookup methods not registered in case of classpath scanning [SPR-14550]#19118
Deterministic and JVM-independent @Bean registration order within Class-reflected configuration classes [SPR-14505]#19074
Allow configuring the message converter in HttpPutFormContentFilter [SPR-14503]#19072
getBeanNamesForType(ResolvableType) does not reliably work for beans with AOP proxies [SPR-14097]#18669

:beetle: Bug Fixes

InvocableHandlerMethod should call GenericTypeResolver with getBeanType() and only once [SPR-15186]#19752
HiddenHttpMethodFilter may disturb error rendering when handling malformed multipart request [SPR-15179]#19745
Collection autowiring does not resolve field-level type variable against containing class [SPR-15160]#19726
HeaderMethodArgumentResolver doesn't resolve Optional.empty() for non-existing header [SPR-15151]#19717
SimpleApplicationEventMulticaster should not rely on ClassCastException having a message [SPR-15145]#19711
Modification in AbstractAutowireCapableBeanFactory to prevent stackoverflow errors causes context not to load. [SPR-15125]#19692
Incorrect resolution of ResolvableAttributes when MessageSourceSupport#alwaysUseMessageFormat is true [SPR-15123]#19690
Can't autowire BiMap: container resolves non-matching Map of value beans [SPR-15117]#19684
DefaultRedirectStrategy.sendRedirect with relative URL and ForwardedHeaderFilter add contextpath to URL twice [SPR-15088]#19654
Spring validation crashes with Hibernate Validation 5 style list constraint violations [SPR-15082]#19648
Annotated method argument matching performance issue [SPR-15060]#19626
AutoProxyRegistrar throws NullPointer on @kotlin.Metadata Annotation [SPR-15055]#19621
Regression with poolTargetSource and scoped proxy [SPR-15042]#19608
Constant error 416 for a byte-range request with content type application/octet-stream [SPR-15041]#19607
ConcurrentModificationException in AbstractRequestExpectationManager [SPR-15029]#19596
LinkedCaseInsensitiveMap does not properly support Java 8's merge() and compute() methods [SPR-15026]#19593
Injecting bean in configurable class using load-time weaving broken when referenced on scoped-proxy class [SPR-14892]#19458

:notebook_with_decorative_cover: Documentation

Improve the logging documentation [SPR-15170]#19736
CookieLocaleResolver maxAge documentation wrong [SPR-15155]#19721

v4.3.5.RELEASE
Compare Source
:star: New Features

ForwardedHeaderFilter should support sendRedirect [SPR-15020]#19587
JdbcTemplate should consistently delegate to getColumnMapRowMapper [SPR-15018]#19585
LocaleContextHolder default value should be customizable [SPR-15017]#19584
OkHttpClientHttpRequestFactory should allow POST requests without body [SPR-15015]#19582
getBeanNamesForType(ResolvableType) doesn't match generic factory method return type for yet-to-be-created bean [SPR-15011]#19578
Scoped EntityManager bean cannot get unwrapped to Session (with Hibernate 5.2) [SPR-15010]#19577
Cannot customize autoGrowCollectionLimit on @InitBinder method when set custom MessageCodesResolver to Spring MVC [SPR-15009]#19576
Support for java.util.Optional as a @RequestBody [SPR-15007]#19574
Provide a way to unregister a DataSource in SQLErrorCodesFactory [SPR-15006]#19573
Spring should tolerate zero-argument constructors with javax.inject.Inject [SPR-15005]#19572
Add request matchers for query parameters in MockRestRequestMatchers [SPR-14995]#19561
Update JdbcUtils to improve enum support [SPR-14990]#19556
@GetMapping method annotation uses consumes attribute from @RequestMapping class annotation [SPR-14988]#19554
MimeTypeUtils.parseMimeType should ignore an inner ";" inside a quoted value [SPR-14986]#19552
HttpInvokerClientInterceptor should not wrap client-side Error as RemoteAccessException [SPR-14985]#19551
@DateTimeFormat(iso = ISO.DATE_TIME) should use optimized formatter for LocalDateTime [SPR-14958]#19525
Shared DefaultConversionService instance e.g. for BeanPropertyRowMapper [SPR-14948]#19515
Normalize resource URL in ResourceServlet [SPR-14946]#19513
Include expression string in SpelParseException [SPR-14942]#19509
Support for Jetty 9.4 (and 9.3.15+) [SPR-14940]#19507
ResponseEntity builders should allow casting an empty body to any type [SPR-14939]#19506
Allow PayloadArgumentResolver to only apply to @Payload annotated parameters [SPR-14937]#19504
PathMatchingResourcePatternResolver finds duplicate resources for executable jars but not for executable wars [SPR-14936]#19503
Implement allocation-friendly method to get user count in SimpUserRegistry [SPR-14930]#19497
ResourceUrlEncodingFilter, ResourceUrlProvider should correctly resolve hash'ed resource paths [SPR-14928]#19495
Improve performance for conversions using a method parameter based type descriptor with annotations [SPR-14926]#19493
DefaultListableBeanFactory.copyConfigurationFrom should provide independent AutowireCandidateResolver instance [SPR-14921]#19488
HtmlUnitRequestBuilder ignores form encoding type [SPR-14916]#19483
Improve performance of STOMP message header encoding [SPR-14901]#19467
BeanPropertyRowMapper should be able to convert SQL timestamp to java.time.LocalDate/LocalTime [SPR-14898]#19464
getBeanDefinitionNames should not leak the frozenBeanDefinitionNames array [SPR-14897]#19463
Detect invalid configuration for autoGrowCollectionLimit on DataBinder [SPR-14888]#19454
Use String.intern() for Class reading [SPR-14886]#19452
Add PATCH HTTP operation to RestTemplate [SPR-14857]#19423
Spring WebSockets should support token-based authentication [SPR-14690]#19254
Add RedirectAttributesMethodArgumentResolver to the default argument resolvers in ExceptionHandlerExceptionResolver [SPR-14651]#19217
CommonsMultipartFile.getOriginalFilename() should be able to preserve header-specified filename as-is [SPR-14613]#19180

:beetle: Bug Fixes

MBeanExporter fails against null beans [SPR-15031]#19598
Pointcut evaluation fails against AbstractHandlerMethodMapping$MappingRegistry with AspectJ 1.8.10 [SPR-15019]#19586
Behaviour of field injection for List dependencies that are produced and consumed by the same configuration class has changed in 4.3.5 snapshots [SPR-14996]#19563
Concurrency problem in DeferredResult: potential double execution of handleResult [SPR-14978]#19544
ImportAware.setImportMetadata not invoked if import inherited from superclass with negative condition [SPR-14972]#19538
List-to-String conversion exception does not refer to element type [SPR-14971]#19537
Self reference fallback in 4.3 is not meant to apply to collection elements [SPR-14965]#19532
PathMatchingResourcePatternResolver provides duplicate resources with relative URL [SPR-14934]#19501
NPE in LoadTimeWeavingConfiguration: loadTimeWeaver() called too early [SPR-14931]#19498
ConversionService performance regression [SPR-14929]#19496
AbstractSockJsSession deadlock when tomcat WsSession is closing [SPR-14917]#19484
ExceptionHandlerExceptionResolver should not log propagated exceptions at warn level [SPR-14907]#19473
sse breaks with indenting serializer [SPR-14899]#19465
Content-based versions are not inserted into resource URLs in an error page [SPR-14891]#19457
Netty4ClientHttpRequestFactory should use SSL if port is 443 or scheme is https [SPR-14889]#19455
RestTemplate POST and PUT don't work with Netty4ClientHttpRequestFactory [SPR-14860]#19426

:notebook_with_decorative_cover: Documentation

SpEL and Date Literals [SPR-14987]#19553

v4.3.4.RELEASE
Compare Source
:star: New Features

Improve exception when failing to create a specific bean due to a NoClassDefFoundError [SPR-14883]#19449
ApplicationListenerDetector should ignore non-managed bean instances [SPR-14879]#19445
Sockjs XHR Fallback on already existing WebSocketServerSockJsSession [SPR-14867]#19433
Use String.intern() for Annotation and Class scanning [SPR-14862]#19428
Log exception from @ExceptionHandler at higher level than debug [SPR-14861]#19427
Possibility to use org.springframework.cache.support.NoOpCacheManager.NoOpCache as public class as NoOpCacheManager [SPR-14856]#19422
TransactionStatus.flush() should trigger TransactionSynchronization.flush() when using DataSourceTransactionManager  [SPR-14847]#19413
Make HttpComponentsAsyncClientHttpRequest abortable [SPR-14845]#19411
AnnotationFormatterFactory should support @AliasFor [SPR-14844]#19410
Type information not available on NoSuchBeanDefinitionException for collections [SPR-14831]#19397
ResolvableType equals method should not consider TypeProvider source [SPR-14826]#19392
GenericConversionService.addConverter should be able to determine generic types from target class behind proxy [SPR-14822]#19388
Allow type produced by ScopedProxyFactoryBean to be determined before singleton is created [SPR-14816]#19382
Hibernate 5 LocalSessionFactoryBean should allow for dynamic mapping registration (like for Hibernate 4) [SPR-14815]#19381
IllegalArgumentException: HttpEntity parameter 'null' [SPR-14799]#19365
Better encapsulate and Javadoc CORS configuration defaults [SPR-14798]#19364
StompSubProtocolHandler makes the same assumption about header accessor as SimpleBrokerMessageHandler used to [SPR-14791]#19357
Inner bean behind BeanFactoryPostProcessor should be able to receive application events [SPR-14783]#19349
Reduce String allocations in TransactionAspectSupport.methodIdentification() [SPR-14760]#19326
Improve performance of StompEncoder.encode() [SPR-14747]#19313
Netty4ClientHttpRequestFactory should configure a default SslContext [SPR-14744]#19310
Default async timeout handling results in Logged Exception for Tomcat 8.5.x [SPR-14739]#19305
YAML + PropertyPlaceholderConfigurer needs to process non-String values as well [SPR-14737]#19303
Method getMergedProperties in ReloadableResourceBundleMessageSource does not set fileTimestamp [SPR-14583]#19152
Allow customization of TestDispatcherServlet when using @MockMvcTest [SPR-14277]#18849
context:property-placeholder should accept comma-separated list as placeholder value for its location attribute [SPR-10502]#15135
BindingResult should not hold on to ConversionService when serialized in session [SPR-8282]#12930

:beetle: Bug Fixes

NoSuchMethodError when using AnnotatedElementAdapter with Java 7 [SPR-14872]#19438
SpEL: Compiled OpNE should favor equals() to != [SPR-14863]#19429
Allow @Cacheable method to return java.util.Optional variant of cached value with @Cacheable(sync=true) [SPR-14853]#19419
ResourceHttpRequestHandler no longer works as prototype bean [SPR-14851]#19417
NPE PropertyOrFieldReference$AccessorLValue due to concurrency issue [SPR-14850]#19416
LiveBeansView#unregister should not rely on ApplicationContext#getApplicationName [SPR-14848]#19414
SimpleApplicationEventMulticaster should not generally suppress ClassCastException [SPR-14846]#19412
SockJs heartbeat causes deadlock with XHR polling [SPR-14833]#19399
Cache annotation lookup in 4.3 finds more annotations than in 4.2 [SPR-14801]#19367
ModelAndView's setStatus does not work for @ExceptionHandler methods [SPR-14796]#19362
Access-Control-Allow-Methods contains duplicate HTTP methods [SPR-14792]#19358
@CacheConfig(cacheNames) broken when used on interface [SPR-14781]#19347
SpringValidatorAdapter's ResolvableAttribute is not serializable [SPR-14778]#19344
ETag header is removed from PUT/POST/PATCH responses [SPR-14767]#19333
IPv6 + Origin header + X-Forwarded-Host header gives NumberFormatException (Safari10 / CORS) [SPR-14761]#19327
DefaultPersistenceUnitManager may configure a persistence unit root URL that does not point to a file or directory [SPR-14749]#19315
Async advisor retrieval blocks when triggered by singleton init method [SPR-14324]#18896
ObjectToObjectConverter should be able to use constructors on non-public classes [SPR-14304]#18876

:notebook_with_decorative_cover: Documentation

Document supported return types for @Async methods [SPR-14881]#19447
The contract for StringValueResolver.resolveStringValue should be more explicit [SPR-14842]#19408
Bad Table Rendering in Default Exception Handling Documentation [SPR-14782][#19348]([#19348](https://togithub.com/spring-projects/spring-frame

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

PR has been edited
:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

PR has been edited
:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.


gamnit: portable services to setup an OpenGL ES 2.0 display

Intro portable services to setup and use an OpenGL ES 2.0 display: GamnitDisplay, setup, close, flip. These services can be used standalone when importing gamnit::display, or integrated in app.nit by importing the whole gamnit.
This is an important step for Gamnit as it allows to develop portable games and will simplify building new graphic APIs gradually. However, some very useful services are still missing: textures loading, input events, full app life-cycle support (pause/resume), etc.
The display still depends on the same libraries as mnit (sdl, egl, native_app_glue, etc.), but it is much cleaner and changing the libs should be easier.
You may notice that the examples duplicate a lot of code between themselves and with lib/glesv2/examples/opengles2_hello_triangle.nit. All 3 examples are very useful to understand and debug the different abstraction levels, and even if they are pretty long, they are pretty much the shortest possible OpenGL ES 2.0 program I could write. I plan on keeping this duplication to keep these debugging tool, but I may move one of them (standalone) to a test folder as to not attract unwanted attention to it.
The first 3 commits are from #1708 but they are each required by either the examples or the Android support.

+1

@xymus please solve conflicts, I do not want to hold the scissors on this one.


Wrong waternet coordinate sequence in D-Stability

In some situations the waterline (or reference line) has a vertically oriented line segment. For instance a line with the following points: (-200, 1), (0, 1), (0, 5), (200, 5). If I define a reference line in a D-Stability model with the method add_reference_line, the order of the points seems to be correct in the DStabilityModel instance. However, when serializing to a .stix file and opening this file, the points are swapped to (-200, 1), (0, 5), (0, 1), (200, 5).

Is it possible to keep the order as defined in the .stix file? Thanks in advance.

Hi Friso, this is currently a restriction of the data format in D-Stability. D-Stability will force points on a water line that are on the same vertical to run from the highest point to the lowest point, this can currently not change with geolib

If you wish to work around this issue, you could opt to move the points to the side by a millimeter so they are no longer exactly above each other, that will allow you to use any order you want. Unfortunately that is a bit of an ugly workaround

Thanks for your comment and suggestion, Carlos. I will implement the ugly workaround for now. It would be great to have this restriction removed in a future version of D-Stability.


Refactoring post

Awesome blog!
Closing this PR as it looks like you're trying to merge upstream by mistake.


Introduce the new Bolt backend

Rewritten from the ground up, now with fewer, smaller indexes. Notable changes:

New bolt2 backend
Updated all protos

Should completely match functionality with the current bolt backend, while being much easier to extend. It passes our conformance tests, deletion and recreation.
Things that need followup:

Compaction is not yet finished, so deletion still takes space in the log. This could be a broader interface question, however.
It should a backend option for the size of the bloom filter to use. The current setting is optimized for O(100M) quads. Fortunately, this option is only a performance enhancement for load speed; if this map becomes saturated, loads will be slower, but functionally equivalent.

Some comparisons:
Initialization:
$ time ./cayley init -d bolt -a b1
I0502 16:08:56.702345   11835 cayley.go:68] Cayley version: 0.7.0-alpha (dev snapshot)
I0502 16:08:56.702519   11835 database.go:180] using backend "bolt" (b1)
./cayley init -d bolt -a b1  0.01s user 0.00s system 8% cpu 0.082 total
$ time ./cayley init -d bolt2 -a b2
I0502 16:09:01.949057   11857 cayley.go:68] Cayley version: 0.7.0-alpha (dev snapshot)
I0502 16:09:01.949296   11857 database.go:180] using backend "bolt2" (b2)
./cayley init -d bolt2 -a b2  0.53s user 0.12s system 10% cpu 6.266 total
$ du b1 b2
24K	b1
6820K	b2

The slower init time and increased size is due to doing some small but constant (at about 6 MB/6 seconds) work up front. The win here comes with the loading:
$ time ./cayley load -d bolt -a b1 -i data/30kmoviedata.nq.gz
I0502 16:12:04.959106   11969 cayley.go:68] Cayley version: 0.7.0-alpha (dev snapshot)
I0502 16:12:04.959284   11969 database.go:180] using backend "bolt" (b1)
./cayley load -d bolt -a b1 -i data/30kmoviedata.nq.gz  24.70s user 2.79s system 25% cpu 1:48.79 total
$ time ./cayley load -d bolt2 -a b2 -i data/30kmoviedata.nq.gz
I0502 16:14:06.343962   12071 cayley.go:68] Cayley version: 0.7.0-alpha (dev snapshot)
I0502 16:14:06.344257   12071 database.go:180] using backend "bolt2" (b2)
I0502 16:14:06.345922   12071 indexing.go:482] Using a bloom filter of 77951328 bytes
./cayley load -d bolt2 -a b2 -i data/30kmoviedata.nq.gz  8.72s user 0.71s system 30% cpu 30.695 total
$ du b1 b2
418840K	b1
105596K	b2

Integration test speeds:
$ benchx bolt1.txt bolt2.txt
benchmark                                     old ns/op     new ns/op     delta	mult
BenchmarkNamePredicate-4                      145283        116473        -19.83%	-1.25x
BenchmarkLargeSetsNoIntersection-4            8935835       454970        -94.91%	-19.65x
BenchmarkVeryLargeSetsSmallIntersection-4     22526524      811584        -96.40%	-27.78x
BenchmarkHelplessContainsChecker-4            37178830      202289        -99.46%	-185.19x
BenchmarkHelplessNotContainsFilms-4           37725220      410579        -98.91%	-91.74x
BenchmarkHelplessNotContainsActors-4          39732456      422515        -98.94%	-94.34x
BenchmarkNetAndSpeed-4                        1334512       687601        -48.48%	-1.94x
BenchmarkKeanuAndNet-4                        772429        586583        -24.06%	-1.32x
BenchmarkKeanuAndSpeed-4                      1013624       575575        -43.22%	-1.76x
BenchmarkKeanuOther-4                         5711807       790977        -86.15%	-7.22x
BenchmarkKeanuBullockOther-4                  9701172       1067793       -88.99%	-9.08x
BenchmarkSaveBogartPerformances-4             355276        173124        -51.27%	-2.05x

I maintain that the 100x wins are due to query non-optimization cases that we haven't yet determined; that needs to be a followup as well. The 2x cases, however, are likely believable.
This means the old bolt, as well as some other backends, have the potential to see some big wins if we track down why. But we can still enjoy some speed while we figure it out :)

Fixed all, except the ones with good reason.

NextSequence could work, but it's an odd place for it. Easier to just handle it ourselves (plus it's one less thing in the generic KV world).
Fixed the check.


Add timeout option

Similar to Tendermint-rs Lightclient tests, we need to add the possibility for the user to specify a timeout on how long the test execution should take at most.

I assume we are talking about the use cases like this
https://github.com/informalsystems/modelator/blob/b45faeb866a01e7ff714bb4f32904d8389b69f2b/modelator/src/module/tlc/mod.rs#L56-L58
It may be bit of a canon, but can we introduce tokio-rs and use select API?


error AL1024: A package with publisher 'NAVSkills', name 'MasterClassExercise1', and a version compatible with '<IP_ADDRESS>' could not be loaded.

During my last workshop is was working with the group on dependent extensions. We build a base one with the following identifiers used as dependencies in the app.json of the second, dependent extension:
       "appId": "b6d76c04-1fd3-438b-9d33-9423b18d0289",
       "publisher": "NAVSkills",
       "name": "MasterClassExercise1",
       "version": "<IP_ADDRESS>"
When building the second extension and down loading the symbols it did download the standard symbols and the symbols of the base extension, but when deploying it (using Ctrl+F5) VSCode threw the error in the subject and the additional following lines:
PageExtensions/PEX50001_ExampleSetupExt.al(9,42): error AL0118: The name 'Example Person Nos.' does not exist in the current context
TableExtensions/TEX50001_ExampleSetupExt.al(1,43): error AL0247: The target Table ExampleSetup for the extension object is not found
PageExtensions/PEX50001_ExampleSetupExt.al(10,43): error AL0118: The name 'Example Product Nos.' does not exist in the current context
Codeunits/COD51400_ExampleDocumentNoVisibility.al(8,20): error AL0185: Page 'ExampleSetup' is missing
PageExtensions/PEX50001_ExampleSetupExt.al(1,45): error AL0247: The target Page ExampleSetup for the extension object is not found
Codeunits/COD51400_ExampleDocumentNoVisibility.al(58,20): error AL0185: Table 'ExampleSetup' is missing
Codeunits/COD51400_ExampleDocumentNoVisibility.al(66,20): error AL0185: Table 'ExampleSetup' is missing
Tables/TAB50020_ExampleProduct.al(73,23): error AL0185: Table 'ExampleSetup' is missing
Tables/TAB50010_ExamplePerson.al(119,23): error AL0185: Table 'ExampleSetup' is missing
As the lines says all these objects are expected in the base extension and they are. And the extension is installed in the database programmed against with the second extension. If not how could it have downloaded the symbols of the base extension?
So the question is: what is done wrong? And more important: how to fix this?
The funny things is: some of us did get it working straight away, some got the same error.
Notes

I checked and rechecked the settings in both app.json files and they're OK. Again here: if they were not OK how could the symbols of the base extension have been downloaded ?
We were working on NAV 2018 CU3
Read https://github.com/Microsoft/AL/issues/1263, as it has the same subject, but no solution there

Can you check if the version numbers match exactly? I recall we had a bug where parts of the codebase were doing an exact version match whereas VS Code did only "greater than".

Can you check if the version numbers match exactly?

Just to be sure: what do you mean with version numbers?
If you mean the appId: yes, as said "I checked and rechecked the settings in both app.json files" and they match:

Base Extension: "id": "b6d76c04-1fd3-438b-9d33-9423b18d0289",
Second extension: "appId": "b6d76c04-1fd3-438b-9d33-9423b18d0289",

Hi @lvanvugt ! That is the ID of the extension. It is necessary, but not sufficient. Can you also check the version number. For example:
Extension A:
  "id": "498b86f9-3ce2-4912-a5d8-83a2c64b410d",
  "name": "A",
  "publisher": "Default publisher",
  "brief": "",
  "description": "",
  "version": "<IP_ADDRESS>",

Extension B:
  "dependencies": [{
    "appId": "498b86f9-3ce2-4912-a5d8-83a2c64b410d",
    "name": "A",
    "publisher": "Default publisher",
    "version": "<IP_ADDRESS>"
  }],

Hi @lvanvugt ! We do not have enough information to reproduce the problem. I will close this issue. Feel free to reopen it if you have new information.

Just for completeness sake: with later version I did get it working.


Repo sync for protected CLA branch

The pull request is created from master637734595197089090 to master to fix git push error for protected CLA branch

@shsagir : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Internal links ignore /near/MSGID pointing to specific messages

@rishig reports:

The following link is sending me to the end of the narrow on mobile, i.e. it seems to be ignoring the /near/779699 part:
https://chat.zulip.org/#narrow/stream/14-GSoC/topic/Zulip.20swag/near/779699

This is a kind of followup to #2760 -- just a few weeks ago we made such links work at all, going to the right narrow, but the near part which should point to a specific message isn't working.
Looking in the code, a link in the message list is handled here:
export const messageLinkPress = (href: string) => (dispatch: Dispatch, getState: GetState) => {
  // ...
  const narrow = getNarrowFromLink(href, auth.realm, usersById, streamsById);
  if (narrow) {
    const anchor = getMessageIdFromLink(href, auth.realm);
    dispatch(doNarrow(narrow, anchor));
    return;

But then the only thing that doNarrow does with its anchor parameter is to make sure to fetch messages around that desired anchor:
export const doNarrow = (narrow: Narrow, anchor: number = FIRST_UNREAD_ANCHOR) => (
  // ...
  dispatch({ type: DO_NARROW, narrow });
  dispatch(fetchMessagesInNarrow(narrow, anchor));
  dispatch(navigateToChat(narrow));
};

It doesn't actually do anything to try to place our scroll position there.
Looking through the history, it seems like in fact this code may never have worked. Certainly as far back as commit fcff2851b a bit over two years ago, when messageLinkPress itself was created in a small refactoring, the anchor parameter has been computed and then mostly ignored; in fact at that point, it was completely ignored, not even used for trying to fetch the right messages.

(Moving this from the issue description, to add a bit of structure.)
For how to go about implementing proper behavior for these links, here's some background from reading the code:

We already have some code in and around the webview that's intended to do something like this. It just isn't being invoked in the case of following a link -- some of it isn't currently ever invoked, and I'm not sure if any of it is. So that code may be helpful, though it should be read with a bit of skepticism because it hasn't been getting exercised in a long time.
Specifically, in js.js there is scrollToAnchor, which gets invoked by handleUpdateEventContent if uevent.updateStrategy === 'scroll-to-anchor'.
Looking for where that updateStrategy property gets set, it's in webViewHandleUpdates.js in updateContent, from the return value of getMessageUpdateStrategy. Which in turn has this conditional:

   } else if (
    !transitionProps.sameNarrow
    || transitionProps.allNewMessages
    || transitionProps.messagesReplaced
  ) {
    return 'scroll-to-anchor';

More investigation needed to understand just when that condition will be true.
Meanwhile the anchor property on the same WebViewUpdateEventContent object, which is what controls the actual anchor to scroll to, is set like so:

    anchor: nextProps.anchor,

Which comes from here, in the connect call around MessageList:

    anchor: props.anchor !== undefined ? props.anchor : getAnchorForNarrow(props.narrow)(state),

And props.anchor, in turn, is passed by SearchMessagesCard but never by the Chat component, which is the caller of MessageList for all message lists other than search.

So a reasonable strategy would be:

Get the scrollToAnchor code to run; check that it seems to work, and fix (or replace) it if not. At this stage you might do something ad hoc to invoke it, like hardcode something into updateContent. The goal is to ensure that js.js does the right thing, provided it's asked to.
Once that's working, try to get all the layers up through MessageList.js to do the right thing, provided they're asked to. You might again do something ad hoc to invoke this, like hardcode an anchor prop into the MessageList call in Chat.js.

This will involve some reading through and sorting out of what getMessageUpdateStrategy and getMessageTransitionProps and so on are doing.

Then we just need to get Chat.js to pass the right props to MessageList. I think this will be relatively easy: make Chat take another navigation parameter like anchor: number | null, make navigateToChat take the same parameter and pass it through, and make doNarrow pass it that parameter.
There may be some fiddling required for the fact that it looks like both doNarrow and that connect call around MessageList have their own ideas of what anchor should default to -- respectively FIRST_UNREAD_ANCHOR and getAnchorForNarrow(props.narrow)(state).

One good place to start would be the TODO in src/message/messagesActions.js:

// TODO: Use anchor to open the message list to a particular message.

See CZO where I described a latent bug where the message list shows messages consecutively, when they aren't actually consecutive.
And some brainstorming for a solution: we need to better keep the invariant that a state.narrows[narrowKey] is a contiguous block of messages. (If the message IDs in the narrowKey narrow are [1, 2, 3, 4, 5], then state.narrows[narrowKey] can be [1, 2, 3, 4, 5], or [1, 2, 3], or [3, 4, 5], etc., but it can't be [1, 2, 4, 5] or [1, 5], etc.)

Reported again today in chat by @jyn514:

[…] the said link opens the same topic again, but doesn't scroll to the right message, so it effectively does nothing
It also adds the topic to the history, so the "back" action stays on the same topic instead of behaving the same as the left arrow in the top left corner

Probably the main symptom of this issue is when people follow the "said" links inserted by quote-and-reply. They work OK if the linked-to conversation is very short; but if it's longer, and especially if the link is within the same conversation -- which is very common for quote-and-reply "said" links -- then they're not very helpful until we resolve this issue.


click outside not close when open from calendar button icon

Hi, thank you for your contribution,
Demo url: https://codesandbox.io/s/mpklq49wp
About Open programatically sample, when click to Open Picker button, we unable to close when click outside. I got same problem when use calendar-button-icon. Please check.
Thank you.

Hello,
had the same issue. If someone is looking for this, one workaround is to have your own trigger button, which triggers a click on label associated with the datepicker (must have correct "id" and "for" attributes). That way datepicker closes correctly if clicked outside.

Hello,
had the same issue. If someone is looking for this, one workaround is to have your own trigger button, which triggers a click on label associated with the datepicker (must have correct "id" and "for" attributes). That way datepicker closes correctly if clicked outside.

Do you have some sample code for how to do that?

@dland512 Here it is:
`
Invoice Date

<datepicker input-class="form-control" id="input_date" ref="input_date"
:disabled="!canEditUntilPaid"
v-model="invoice.date"
format="MM/dd/yyyy"
@input="inputDate($event)">
<span class="input-group-btn" v-if="!isFinished"
@click="triggerClick('input_date')">

`
triggerClick: function (id) {     $('#order_invoices label[for=' + id + ']').click(); },
The idea is to have label tag associated with datepicker input field and when you need it to open, just trigger a click on the label.


Update netty-tcnative-classes to 2.0.65.Final

About this PR
📦 Updates io.netty:netty-tcnative-classes from 2.0.61.Final to 2.0.65.Final
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.netty", artifactId = "netty-tcnative-classes" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.netty", artifactId = "netty-tcnative-classes" }
}]

labels: library-update, commit-count:1

Superseded by #314.


How to get the latest consensus model .json from PacBio

Operating system
Which operating system and version are you using?
Package name
Which package / tool is causing the problem? Which version are you using, use tool --version. Have you updated to the latest version conda update package? Have you updated the complete env by running conda update --all? Have you ensured that your channel priorities are set up according to the bioconda recommendations at https://bioconda.github.io/#set-up-channels?
Conda environment
What is the result of conda list? (Try to paste that between triple backticks.)
Describe the bug
A clear and concise description of what the bug is.
Error message
Paste the error message / stack.
To Reproduce
Steps to reproduce the behavior. Providing a minimal test dataset on which we can reproduce the behavior will generally lead to quicker turnaround time!
Expected behavior
A clear and concise description of what you expected to happen.

You haven't provided ANY info to ours questions


"We're having trouble displaying widgets. Restarting Dev Home may help." error when launching Dev Home on Windows 10 and 11

Dev Home version
0.1401.501.0
Windows build number
10.0.19045.4412
Other software
OS Build Version: 10.0.19045.4412.amd64fre.vb_release.191206-1406
.NET Version: .NET 8.0.4
Steps to reproduce the bug
On the latest Dev Home build, launch Dev Home and observe the dashboard
Expected result
I'd expect to see some system widgets pinned there along with any other widgets I had previously pinned.
Actual result
Dev Home isn't showing any widgets and displays an error message that reads, "We're having trouble displaying widgets. Restarting Dev Home may help.". The error is persistent, though.
Included System Information
CPU: Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
Physical Memory: 15.93GB (10.79GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHomeGitHubExtension.Canary_0.1400.500.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Canary))
Microsoft.Windows.DevHomeAzureExtension.Canary_0.900.501.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Canary))
Microsoft.Windows.DevHome.Canary_0.1401.501.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome.Canary_0.1401.501.0_x64__8wekyb3d8bbwe (Hyper-V Extension)
Widget Service:
Microsoft.WidgetsPlatformRuntime_<IP_ADDRESS>_x64__8wekyb3d8bbwe

The logs have this interesting snippet.
[2024/05/16 11:23:51.447 ERR] (WidgetHostingService) Exception in GetWidgetDefinitionAsync:
System.UnauthorizedAccessException: Access is denied.

Access is denied.

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.Microsoft.Windows.Widgets.Hosts.IWidgetCatalogStaticsMethods.GetDefault(IObjectReference _obj)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at DevHome.Dashboard.Services.WidgetHostingService.GetWidgetCatalogAsync()
[2024/05/16 11:23:51.545 ERR] (WidgetHostingService) Exception in GetWidgetDefinitionAsync:
System.UnauthorizedAccessException: Access is denied.

I am having problems displaying the Dev Home Dashboard. All of the displayed widgets for CPU, GPU, etc on Windows 11 23H2. The Error Displayed is The type initializer for 'CoreWidgetProvider.Helpers.SystemData' threw an exception. I have tried the restart,,
repair, and uninstall / reinstall methods currently, with no luck. Any ideas as to how to fix this?

@BillEisenman Can you share the information included in "Included Extensions Information" above? The easy way to get this is open Dev Home and go to Settings -> Feedback -> Report a bug and copy the text under "Include installed Dev Home extensions and related packages"

Included Extensions Information
Extensions:
Microsoft.DevHomeMicrosoftGameDevExtension_0.400.456.0_x64__8wekyb3d8bbwe (Dev Home Microsoft Game Dev Extension (Preview))
9932MartCliment.WingetUIWidgets_<IP_ADDRESS>_x64__g91dtg5srk15g (Widgets for UniGetUI (formerly WingetUI))
Microsoft.Windows.DevHomeGitHubExtension_0.1500.533.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Preview))
Microsoft.Windows.DevHomeAzureExtension_0.1000.533.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Preview))
Microsoft.Windows.DevHome_0.1501.533.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome_0.1501.533.0_x64__8wekyb3d8bbwe (Hyper-V Extension)
Widget Service:
MicrosoftWindows.Client.WebExperience_524.13200.0.0_x64__cw5n1h2txyewy

For a little more information, the problem still occurs under 0.1501.533.0 which was installed from the Microsoft Store after complete install.

Just ran into this issue myself after upgrading to Windows 11 - I had DevHome (Preview) installed while still using Windows 10.  I receive the same error as shown in the picture for #2673.  It seems there are several duplicates of this issue, I'm hoping I picked the correct one to comment on.
Is there any status update on this?  Anyone find any workarounds?

@realsircodesalot There's a new issue we've been seeing that results in this error message being shown, and I suspect (but am not sure) it's what you're seeing. We're actively trying to collect data on when it happens. If you could check, I'd love to know what version(s) of the widget service you have -- this can be found in Dev Home under Settings -> Feedback -> Report a bug -> "Include installed Dev Home extensions and related packages" under the "Widget Service:" heading.
A workaround for this particular error is to go to the Windows Widget Board (keyboard shortcut: win+w) and click the + button to add a widget. You don't actually have to add one, but bringing up the dialog gets things started such that Dev Home should be back to normal.

Wow, didn't know about the win+w shortcut!  I added those widgets there and received the same exception error message.
Here's the info from the Feedback:

Dev Home Version
0.1701.597.0
Windows build number
10.0.22631.4037
Other software
OS Build Version: 10.0.22631.4037.amd64fre.ni_release.220506-1250
.NET Version: .NET 8.0.7
Included System Information
CPU: 12th Gen Intel(R) Core(TM) i7-1265U
Physical Memory: 31.2GB (6.75GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Hyper-V Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Windows Subsystem for Linux Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Git)
Microsoft.Windows.DevHomeGitHubExtension_0.1700.597.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Preview))
Microsoft.Windows.DevHomeAzureExtension_0.1200.597.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Preview))
Widget Service:
MicrosoftWindows.Client.WebExperience_524.18500.10.0_x64__cw5n1h2txyewy

@krschau The workaround you suggested, i.e. Win+W, press + key (but don't add any widget). Now DevHome loads all my widgets. Thank you!
For reference, here's my config when I was having the problem for your investigation:
DevHome version: 0.1701.597.0
Windows Build Number: 10.0.22631.4037
Other software: OS Build Version: 10.0.22631.4037.amd64fre.ni_release.220506-1250
.NET Version: .NET 8.0.7
Included Extensions Information:
Extensions:
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Hyper-V Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Windows Subsystem for Linux Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Git)
Microsoft.Windows.DevHomeGitHubExtension_0.1700.597.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Preview))
Widget Service:
MicrosoftWindows.Client.WebExperience_524.23700.10.0_x64__cw5n1h2txyewy

I am having the same issue.
Extensions:
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Hyper-V Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Windows Subsystem for Linux Extension)
Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Git)
Microsoft.Windows.DevHomeGitHubExtension_0.1700.597.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Preview))
Microsoft.Windows.DevHomeAzureExtension_0.1200.597.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Preview))
Widget Service:
MicrosoftWindows.Client.WebExperience_524.23700.10.0_x64__cw5n1h2txyewy
Microsoft.WidgetsPlatformRuntime_<IP_ADDRESS>_x64__8wekyb3d8bbwe

@hgohel and @Wraiyth If it's not too much trouble, could you share your logs? I'll have the bot give instructions but if you don't want to share everything, it would be useful just to see the .dhlog file under logs/DevHome from a day you saw/are seeing this issue.
/logs

could you share your logs? ... it would be useful just to see the .dhlog file under logs/DevHome from a day you saw/are seeing this issue.

Here's my log file from a day on which it wasn't working, after which I used your workaround, and the log shows no errors after that: My .dhlog file link expires in a few days, I can re-up it if needed.

+1 on this issue

Sorry, but where is working solution? win + w didn't work for me


Error When Try To Authenticate To a Share with a Entra ID Joined Device

When mapping one of the network shares I get the error "System cannot contact a domain controller to service the authentication request. Please try again later."

This Device is Entra Joined and Managed By Microsoft Intune
The Device is able to ping the Synlogy
We Do Not Have an onsite Active Directory
Only two devices are having this issue at the moment
One of them has windows hello enabled the other does not

The error usually occurs if you do not connect via user name and password. For azure ad joined devices, Windows suggests logging in via PIN or the currently logged in user (similar to SSO). Neither works, as the wrapper cannot know this information.

On some machines Windows just automatically passed the credentials and it worked. Those machines had Windows Hello enabled as well. So typical then users would need to put in their Network credentials as the pass through authentication should not work? Is there anyway to make it work properly?

you could try removing the current network credentials from the windows credential manager and then add the shares by console to make sure the correct username/password is used, like in issue #7


example server crash - dummyjob test

Observed on both dev(13f3487bef8b2a7845cc53ba10747f12ecc16320) and master(51d7ee878fcbc7ba5a32d911eb2d622d45a48f20)

install example server, initdb, and start server, scheduler, worker.
Via pybioas-client:
''LANG=en_GB.UTF-8 python client.py submit PyDummy number=913 message="requirements.txt" return_code=3 error="foo"''

See output:
Server
^C(pybioas) (pybioas) ls30857:testserver jprocter$ python manage.py server

Running on http://localhost:8080/ (Press CTRL+C to quit)
Restarting with stat
Debugger is active!
Debugger pin code: 143-332-217
<IP_ADDRESS> - - [25/Jul/2016 15:05:11] "POST /service/PyDummy/form HTTP/1.1" 202 -

Scheduler
(pybioas) (pybioas) ls30857:testserver jprocter$ python manage.py scheduler
25 Jul 15:04:52 Scheduler:PollThread INFO: Scheduler starts watching database.
25 Jul 15:04:52 Scheduler:CollectorThread INFO: Scheduler starts collecting tasks from worker.
25 Jul 15:04:52 Scheduler:PollThread INFO: Can't establish connection to worker. Retry in 5 seconds.
25 Jul 15:04:52 Scheduler:CollectorThread INFO: Can't establish connection to worker. Retry in 5 seconds.
25 Jul 15:04:57 Scheduler:CollectorThread INFO: Can't establish connection to worker. Retry in 5 seconds.
25 Jul 15:04:57 Scheduler:PollThread INFO: Can't establish connection to worker. Retry in 5 seconds.
25 Jul 15:04:57 Scheduler:CollectorThread INFO: Connected to worker.
25 Jul 15:04:57 Scheduler:PollThread INFO: Connected to worker.
Exception in thread CollectorThread:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/Users/jprocter/virtualenv/pybioas/lib/python3.5/site-packages/PyBioAS-0.0.dev1-py3.5.egg/pybioas/scheduler/scheduler.py", line 125, in collector_loop
result = task.deferred_result.result
File "/Users/jprocter/virtualenv/pybioas/lib/python3.5/site-packages/PyBioAS-0.0.dev1-py3.5.egg/pybioas/scheduler/task_queue/deferred_result.py", line 63, in result
data = utils.recv_json(client_socket)
File "/Users/jprocter/virtualenv/pybioas/lib/python3.5/site-packages/PyBioAS-0.0.dev1-py3.5.egg/pybioas/scheduler/task_queue/utils.py", line 21, in recv_json
return json.loads(content)
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/json/init.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/json/decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 65296 (char 65295)
Worker:
(pybioas) (pybioas) ls30857:testserver jprocter$ python manage.py worker
25 Jul 15:04:55 TaskQueue INFO: Ready to accept connections on localhost:9090
25 Jul 15:04:57 TaskQueue INFO: Received connection from ('<IP_ADDRESS>', 62467)
25 Jul 15:04:57 TaskQueue INFO: Received connection from ('<IP_ADDRESS>', 62468)
25 Jul 15:05:12 TaskQueue INFO: Received connection from ('<IP_ADDRESS>', 62471)
25 Jul 15:05:12 TaskQueue INFO: Created job  bfdbe68a7d8942fba1a466bc75a4507f - QUEUED
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/Users/jprocter/virtualenv/pybioas/lib/python3.5/site-packages/PyBioAS-0.0.dev1-py3.5.egg/pybioas/scheduler/task_queue/task_queue.py", line 228, in _serve_client
conn.shutdown(socket.SHUT_RDWR)
OSError: [Errno 57] Socket is not connected
Logs.zip

Possible cause (not confirmed):
Single packet is limited to 2^16 bytes and is trimmed after that point. String starting at 65296 which is almost 2^16 is unterminated because the rest of message is lost.


DEP: stats.linregress: deprecate one-arg use

Reference issue
Toward gh-20544
Toward gh-14651
What does this implement/fix?
scipy.stats.linregress is currently very flexible about how the two samples are specified.

x, y : array
Two sets of measurements. Both arrays should have the same length. If only x is given (and y=None ), then it must be a two-dimensional array where one dimension has length 2. The two sets of measurements are then found by splitting the array along the length-2 dimension. In the case where y=None and x is a 2x2 array, linregress(x) is equivalent to linregress(x[0], x[1]) .

This complicates adding an axis argument and array-API support, so this PR deprecates one-argument use of stats.linregress and requires that the user pass x and y as separate arguments.
Additional information
I forgot that the two versions were already split (gh-20547), so this just completed that work by moving the no-mask linregress implementation into _stats_py.py.
Already some positive feedback in the forum (https://discuss.scientific-python.org/t/deprecate-one-argument-use-of-stats-linregress/1199).

I kinda don't wanna squash-merge this... Could we keep the first commit and squash the rest? I'm happy to do it if you want.

Thanks for merging main; I was going to but got distracted. That makes sense to keep the first commit separate. Yes - It is rather late for me, so I'd appreciate it if you would do that. Thanks!


Add access to original Date object

I am using sinon.useFakeTimers to mock the date for some unit tests. This is working fine. However, I've also got some debugging logs and I want to add a timestamp to each line. However, as I am using the clock, I get the mocked date in my timestamps, rather than the actual date.
I don't want to call the uninstall method because I still want it installed for the rest of the test.
One potential solution would be if we could call the original Date object manually, something like:
clock.getOriginalDate()

Thanks for opening an issue!
You can always get non mocked instances by creating a new realm and "stealing" date from there or getting a reference to Date before clock.install
var originalDate = Date;
clock.install();

new originalDate(); // correct

Thanks!


Change Log should be Upside down

Change Log should be Upside down

This was fixed after 0.8 update.


Add TypeScript definitions

This adds a TypeScript definition file (split-string.d.ts) to the package so people can import and use this module in their TypeScript projects properly, without having to create their own definitions for it.

It's been two weeks, any updates?

Bump.

Sorry for overlooking this PR. I'm not completely familiar with TypeScript, but the PR initially looks good and thanks for including tests!
Will you add the following?

[ ] A way to run the test/test.ts file so those tests are included in the CI build. I think that would involve adding some typescript devDependency and updating the npm test script in package.json.
[ ] Update the files array in package.json to include split-string.d.ts.

I'll try to get those reviewed and merged as soon as possible.

Can do 👍

Had to reshuffle the structure for the types around because dtslint doesn't seem to be that configuration in terms of where things are located.

This is great, thanks!


Oryoki on the Raspberry PI

Hello,
I was able to build and run oryoki on my raspberry and it works perfectly!

Just to let you know that it might be a target market of your browser, since every other browser is currently unavailable or really sluggish on the raspi =)
The only caveat of building under linux (also tried on x86 ubuntu), is that you need to change the CommandManager.js file and replace every instance of Cmd+ with Ctrl+ otherwise shortcuts won't work.

Hey there – super good news, thanks for bringing that up! I'll have to test how OS-specific stuff acts on Linux but given the latest on #3 and what you're showing here it seems like a proper build is within reach.


Replace Memcache polling with PubSub

When

the /dispatch request is waiting for /ack, in single share case
the /waitforack request is waiting for /ack, in multiple share case

First attempt: not great.


When i using this Slider getting the below attached warnings

index.js:1 Warning: Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.

Move code with side effects to componentDidMount, and set initial state in the constructor.

Please update the following components: InnerSlider, Slider

Fixed in<EMAIL_ADDRESS>


Combine MAUI WebView and Google Charts

Use MAUI WebView element to present Google Charts.
This would present learning opportunity to integrate MAUI with JS/HTML/CSS.

For the assessment, I would only use the QuickCharts API


using string formatting

We should use %s style string formatting as opposed to combining strings together as we are doing now.

Done


Wrong Text Layer rendering for some PDFs

Here is a sample PDF: https://github.com/mpankov/pdfjs_selection_issue/raw/master/test_document.pdf
Text Layer words position doesn't correspond to canvas.
Search highlight is outside of text:

As I can see PDF.js renders "tab" symbols in Text Layer (instead of spaces) and that makes text longer...

Not finding "tab" symbols, but I see glyph advance is used after each character:
[<0001>-20.385<0002>-20.385<0003>-20.385<0004>-20.385<0005>-20.385<0006>-20.385...

Looks like this affects the div size. (Not sure why generator chose the use that instead of character spacing or just using monospace font metric).

You are right, there are tabs in the div layer though. I wonder if we can just replace them with spaces.

Hi Yury,
Thank you for the analysis.
Is there a way I could help to fix this issue or speed up the process somehow?
I'm not very familiar with PDF.js code, but if you could point me to a potential place to replace tabs with spaces, I will try to fix it.
Thanks!

Is there a way I could help to fix this issue or speed up the process somehow?

Sure, you can submit a pull request e.g. with CSS fix that changes tab size to 1.

Ok, I have created a pull request with the fix you suggested.
BTW, this change looks like a workaround, I thought we have to do something with the Text Layer rendering... But I checked this fix on a sample PDF with real tab symbols, and it works fine. So looks like this is an acceptable solution.

I have found that phrase search does not work with that approach (because of tab, but not space, between words).
So cancelling the PR... I think we need to replace "tab" symbols during the Text Layer rendering.


Terminal typing bug (jumping lines or something)

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.81.1
OS Version: Windows 10

Steps to Reproduce:

Open Terminal (CMD, PowerShell)
Clean Terminal
Text (The bug will occour)

/duplicate https://github.com/microsoft/vscode/issues/75141


init version of online serving and rolling

Description
init version of online serving and rolling
Motivation and Context
Support Online Serving and Rolling
Types of changes

[ ] Fix bugs
[X] Add new feature
[ ] Update documentation

@lzh222333   Please resolve the confliction.

@lzh222333
https://github.com/microsoft/qlib/pull/404 is merged now.

@lzh222333
https://github.com/microsoft/qlib/pull/407 has been merged now.


PM column sometimes vanishes

I see that the PM feature is in the works, very nice!
However I noticed that the 4th column will vanish depending on browser width. While manually resizing the window it vanishes every few pixels, so I am assuming a rounding error that makes the column a pixel too wide.

You can adjust the column widths in the Settings by choosing "Column Widths" and moving the numbers around. Negative numbers increase the column width while positive numbers decrease the column width.

OK, that'll solve the problem for me for now. Thanks for letting me know.
I'd still classify this as a bug.

It's one of those bugs that will be difficult to suss out. One of the big problems I'm facing is consistency across browsers. Chrome on different platforms seems to respond differently to the same JavaScript.


Button disabled gets twice class Mui-disabled

When a Button is disabled, it gets twice the class Mui-disabled.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
There are two Mui-disabled  class on a disabled Button.
Expected Behavior 🤔
Only one Mui-disabled  class on a disabled Button.
Steps to Reproduce 🕹
https://material-ui.com/components/buttons/
Or: https://codesandbox.io/s/material-demo-mtk0k
Steps:

Inspect the disabled Button

Context 🔦
Doesn't affect behavior.
Your Environment 🌎

Tech
Version

Material-UI
v4.9.2

React
v16.12.0

Browser
Version 78.0.3904.87 (Official Build) (64-bit)

TypeScript
3.9.0

Kind of a general question I have about pseudo-class classnames @oliviertassinari.
If these are passed along to child components that also have these classes how are the styles reconciled?

I thought it was a duplicate but I can't find it.
What's the concern? We could be using a data-disabled, it would work identically. The advantage of a class name is that you can easily toggle it in the dev tools, familiar with Bootstrap, and the syntax is "lighter" when used it in a selector.

What's the concern?

ButtonBase declaring styles for disabled as well as Button. Since both have the same classname which styles are used?

and the syntax is "lighter" when used it in a selector.

I thought we didn't support this anyway since the classnames might get optimized in production?

.Mui-disabled is a global class name, it's meant to be used. The equivalent in Bootstrap is .disabled.
If we were using a data- attribute, we would get the merge happen seamlessly. We concanate the class names, so it behave differently for us. I'm not aware of any potential bug it can cause.

Right, we don't support styles in .disabled only .some-other-class.disabled.
I think this is fine. It's not worth spending time evaluating this at runtime to strip duplicate classnames unless there's an actual bug.

The mean of that report was about cleanness as there is no impact, there is just a duplicate class for no reason.

Is there a reason this closed? This clearly isn't the intended behavior. There shouldn't be two .Mui-disabled classes appended to a DOM node if there is only one disabled prop on the component. It seems to be a real bug and not-intended behavior.

@xenostar Why does it matter?

@oliviertassinari
It seems I can't override the disabled state of the button anymore when the Mui-disabled is applied twice.
My custom makeStyle-disabled-104 class gets between the two definitions and color prop gets overridden by the second Mui-disabled class.

<Button
  fullWidth
  disabled={amPm === 'AM'}
  classes={{
    root: classes.selected,
    disabled: classes.disabled,
  }}>
  AM
</Button>

A valid workaround is to use !important but it will be awesome to have a generic solution to the problem.

@kachar The order of the class names in the attribute doesn't matter for specificifiy.
I start to think that we should remove all the pseudo-classes from the classes API so developers are forced to use &.Mui-disabled, which will have the correct specificity, cc @mnajdova.

I don't have an opinion about whether the Mui-disabled class is or isn't a good ideal to direct the styling but many html checkers frown on seeing the same classname multiple times in the same class attribute


Deniz_Emily_Lab06

@lushaojia Who did you do lab 6 with?

Looks like you pushed here for lab 7 as well, but marking complete for lab 6


update Anaplan Connector

Update for Anaplan Connector to support Anaplan OAuth APIs for authenticating with Anaplan, submitted by<EMAIL_ADDRESS>cc: @Chanaveer

@DougKlopfenstein - could you please take a look at this for an initial review?

The PR is in conflict now. I can't assume which paragraphs should win.

Closed due to conflicts - this pull request was copied to the private repo and redone:
First draft of updated Anaplan connector article #647.
The changes were approved and are now live - Anaplan

Docs Build status updates of commit a07284a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: CannotMergeCommit] Cannot merge commit a07284aeaffb6fb6ddd7e512a6ab36b6f74a1f82 in branch main of repository https://github.com/shuang-anaplan/powerquery-docs into branch main (commit 32f143e1bf46a5805c15a6c7939b7674e5190ea4). Please follow this documentation: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ to use git.exe to resolve you content conflicts locally and then push to remote.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Set the service contract for LogReceiverTarget as one way

Changed the service contract for the LogReceiverTarget to be one way. This will allow the messages to be multicast through a WCF routing service.
See issue #561 for more details.

Thanks for the pull request. Will this change be breaking?

Yes you are right. I don't know what I was thinking. I will make some changes to allow the selection of the service contract through an optional property of the LogReceiverTarget, with the default value being the current two-way contract. This way it will be non breaking and will support the feature I need for multicast.

Thanks for the pull request, it looks good.

Is #106 related?

Yes #106 is about the same thing (IsOneWay property) in a different usage scenario (MSMQ). The changes I made should allow it to works with MSMQ when the new property of the target is set.

Thanks @MartinTherriault


Antlr parser fails to work with static builds

https://github.com/SymbiFlow/fasm/runs/3877515514?check_suite_focus=true
Unclear why as the CI isn't outputting what cause the Antlr module to succeed in compiling.

@arn4ud -- It would be great if you could take a look at this.


Sass compilation error

Hi.
I have imported the _web-fonts.scss (tag v1.1) into my project but when sass compile it I get this error :
    error sass/gpe.scss (Line 19 of sass/_web-fonts.scss: Invalid CSS after "          "!"": expected ")", was ": "%21",")

Looks like your version of Sass is too old. Make sure you're using Sass 3.3 or later. :)

Reinstalled compass -> 3.4.13 and that works now.


Single line comments should generate selection ranges

Bug Report

🔎 Search Terms

selectionRange
Smart selection
expand selection

🕗 Version & Regression Information
Reproduces in 4.3.0-dev.20210210
Not a regression
💻 Code
For the code:
const a = 123 // a b c

Put the cursor in the comment and run expand selection
🙁 Actual behavior
A single selection range for the entire line is returned:
[Trace  - 09:12:08.176] <syntax> Sending request: selectionRange (53). Response expected: yes. Current queue length: 0
Arguments: {
    "file": "/Users/matb/projects/san/a.js",
    "locations": [
        {
            "line": 1,
            "offset": 19
        }
    ]
}
[Trace  - 09:12:08.177] <syntax> Response received: selectionRange (53). Request took 1 ms. Success: true
Result: [
    {
        "textSpan": {
            "start": {
                "line": 1,
                "offset": 1
            },
            "end": {
                "line": 1,
                "offset": 25
            }
        }
    }
]

🙂 Expected behavior
There should be a selection range for the single line comment.
Preferably, I think there should actually be two here:

One for the comment body: a b c
One for the entire comment: // a b c

Thanks @a-tarasyuk!


Versionextract

Coverage increased (+0.004%) to 41.862% when pulling 7fb45f194deef67d19411d41c10a4a6e16b9761e on lmazuel:versionextract into fe92fe3d1a265f6be42db2066cab2588288ce159 on Azure:dev.

Coverage decreased (-0.05%) to 41.803% when pulling e2eb22b7946ae093d4414e91b2e497b73d136260 on lmazuel:versionextract into fe92fe3d1a265f6be42db2066cab2588288ce159 on Azure:dev.

Coverage increased (+0.004%) to 41.862% when pulling e2eb22b7946ae093d4414e91b2e497b73d136260 on lmazuel:versionextract into fe92fe3d1a265f6be42db2066cab2588288ce159 on Azure:dev.

Coverage increased (+0.004%) to 41.862% when pulling e2eb22b7946ae093d4414e91b2e497b73d136260 on lmazuel:versionextract into fe92fe3d1a265f6be42db2066cab2588288ce159 on Azure:dev.


Changing a local atom not reflected in UI

I'm just getting started with re-com so it is entirely possible that this is the wrong way to do things, but given the following code:
(ns ^:figwheel-always recom-model.core
    (:require [reagent.core :as reagent :refer [atom]]
              [re-com.core  :refer [button v-box input-text]]))

(enable-console-print!)

(defn top-level []
  (let [text-model (atom "initial text")]
    (fn []
      [v-box :padding "10px"
                 :children [[input-text :model text-model
                                                 :on-change #(println "Input text has" %)]
                  [button :label "Clear" :on-click #(reset! text-model "")]]])))

(reagent/render-component [top-level]
                          (. js/document (getElementById "app")))

(defn on-js-reload []
  ;; optionally touch your app-state to force rerendering depending on
  ;; your application
  ;; (swap! app-state update-in [:__figwheel_counter] inc)
)

...which produces an input-text followed by a button, the button will clear the text as expected until the first character is entered into the text box by hand. Then the clear button stops working.
What is the correct way to do this?

The input-text component takes the :model you pass it (can be a value or an atom) and copies the value into its own internal atom and uses that from then on.
The value it returns to the :on-change event is the new value of its internal atom. It does not change your atom in any way.
This allows you to have full control of what goes into your atom. It also means you have to reset! your atom to the new value for the change to take effect.
So, simply add a (reset! text-model %) inside the :on-change function and it should do what you want.
For further clarity (I hope), the reason it works the first time is because the Clear button DOES reset! YOUR atom, but your atom then remains empty after that.

Aha!
Thanks


Only install gettext as needed for GitHub Actions

Currently we install gettext on all of our backend GitHub Actions runs, even though it is only needed for the 'validate-translations' matrix run. This change modifies the configuration to only install gettext as needed, which should speed up the other matrix runs.
Notes and todos
This logic was added in https://github.com/cfpb/consumerfinance.gov/pull/5939.
Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines

I think you might have a syntax issue, given that all Actions are stalled?

@Scotchester GHA is having issues globally: https://www.githubstatus.com/


interface changes don't take affect

If you change the $interface while you have $control_enable the interface change does not take affect.  This is because if control_enable is true the service refreshes using unbound-control reload.  however as per the documentation

The  interfaces  are not changed on a reload (kill -HUP)  but only on restart.

This means that any changes to the interfaces (even if it is the first run) do not take affect until a manual restart is preformed.  The simple fix would be to remove the offending block[1] however this would mean a full restart of the daemon for any config changes which may not be desirable.  A more hacky way would be to store the interfaces in a file and restart the service if that file changes.  something like
file {"$confdir/interfaces.txt":
  ensure => file,
  notify  => Exec['etc/init/.d/unbound restart'],
  content => $interfaces.join('\n'),
}
exec {'/etc/init/.d/unbound restart':
  refreshonly => true,
}

what do you think?
[1]https://github.com/xaque208/puppet-unbound/blob/master/manifests/init.pp#L189-L192

I believe this is complete.


Unable to rewrite default deployment name from a template

Description
Hi,
we are unable to rewrite the default deployment name in a template by using az group deployment create --name NewName ...
We are using this template: https://github.com/alertlogic/azure-collector/blob/master/template.json

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
brew
CLI Version: What version of the CLI and modules are installed? (Use az --version)
azure-cli (2.0.16)

acr (2.0.11)
acs (2.0.14)
appservice (0.1.15)
batch (3.1.2)
billing (0.1.4)
cdn (0.0.7)
cloud (2.0.7)
cognitiveservices (0.1.7)
command-modules-nspkg (2.0.1)
component (2.0.7)
configure (2.0.10)
consumption (0.1.4)
container (0.1.9)
core (2.0.15)
cosmosdb (0.1.12)
dla (0.0.11)
dls (0.0.13)
eventgrid (0.1.3)
feedback (2.0.6)
find (0.2.6)
interactive (0.3.9)
iot (0.1.11)
keyvault (2.0.9)
lab (0.0.10)
monitor (0.0.9)
network (2.0.13)
nspkg (3.0.1)
profile (2.0.11)
rdbms (0.0.6)
redis (0.2.8)
resource (2.0.13)
role (2.0.11)
servicefabric (0.0.3)
sf (1.0.8)
sql (2.0.10)
storage (2.0.14)
vm (2.0.13)

Python (Darwin) 2.7.10 (default, Jul 15 2017, 17:16:57)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]

Python location '/Users/tdosoudil/azure-cl/bin/python'

Legal docs and information: aka.ms/AzureCliLegal

OS Version: What OS and version are you using?
Mac High Sierra
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
bash

Please use --parameters Name=newName.
Please reactivate if it doesn't resolve the issue.


Panic when compiling AirScript

Hi all,
I was trying to compile some AirScript today, and after narrowing things down a little, I think there may be a bug. I tried the following AirScript example:
fail_example.txt
and get this:
============================================================
Transpiling...
thread 'main' panicked at 'internal error: entered unreachable code: unexpected constraint node: Binary(
    BinaryExpr {
        op: Mul,
        lhs: SymbolAccess(
            SymbolAccess {
                name: Local(
                    Identifier(
                        "sign_bit",
                    ),
                ),
                access_type: Default,
                offset: 0,
                ty: Some(
                    Felt,
                ),
            },
        ),
        rhs: Const(
            2048,
        ),
    },
)', parser/src/transforms/inlining.rs:535:24

On the other hand, if I move the invocation of the evaluator out of a match into its own enf, it seems to compile ok:
success_example.txt
Am I combining the match/evaluator statements incorrectly? Or might this be a bug? Thanks, and let me know if there's any other info I can provide!

This looks like a bug. Seems like something is going wrong when we try to combine this specific evaluator with the selector from the enf match statement.
Thank you for flagging this! We'll investigate.

This is fixed in #341

Closing this as fixes as #341 seems to have addressed this issue.


Default values of BulletType rotation and rotation_degrees aren't simplified

One thing I've noticed with the BulletType object is that its default value for rotation and rotation_degrees are these strange values. Is there a particular reason for this? Around 5% of the time that I run my build, the bullet rotation screws up without me changing anything. I'm thinking it has something to do with this

I'll try making a pull request for this later, I'll make their default values 0

No, that's not intentional behaviour! Looking at bullet_type.cpp, looks like I just forgot to assign a default value to rotation in the constructor. Should be a quick and easy fix. I should be able to update that this weekend if you haven't already fixed it yourself haha


azure credential form fix

Signed-off-by: randybrunopiverger<EMAIL_ADDRESS>This resolves a bug wherein detail view for Azure credentials previews incorrect cloudName.
To reproduce, simply create an Azure credential with AzureUSGovernmentCloud as the cloud name.
Once created, check the detail view for the credential, it will have AzurePublicCloud as the cloud name.
This happens because the value for cloudName in the form is defaulting to AzurePublicCloud
The fix: The default value for cloudName has been set to the value found in the secret,providerConnection?.stringData?.cloudName. The value in the form now falls back to CloudNames.AzurePublicCloud, when the secret value is undefined (this mimics hive's behavior, as when there is no cloudName field provided, hive assumes AzurePublicCloud is being provisioned).
--
Before fix:

After fix:

/cc @KevinFCormier

/lgtm

/lgtm


fix: Add a warning about updating the on attribute before upgrade

What has changed and why
Summarize files edited as part of this MR along with a brief description of what was changed/why.

Added a warning to be thrown before upgrade if the tag contains the on attribute
Updated documentation and tests, removed current examples of manually pushing the on attribute inside the pfe-content-set

Testing instructions
Be sure to include detailed instructions on how your update can be tested by another developer.

Check out the branch.
Edit the pfe-content-set demo page to add the on="light" attribute on the pfe-content-set and pfe-cta tags.  Add an ID to one of the tags.
Run npm install && npm run start pfe-accordion.
Preview the accordion's demo page.
Check that the console is registering 2 warnings and that the one for the tag with an ID lists the ID in the warning in square brackets:

pfe-content-set[#foo]: The "on" attribute is protected and should not be manually added to a component. The base class will manage this value for you on upgrade.

pfe-cta: The "on" attribute is protected and should not be manually added to a component. The base class will manage this value for you on upgrade.

Ready-for-merge Checklist

[x] Expected files: all files in this pull request are related to one feature request or issue (no stragglers)?
[x] Did you update or add any necessary documentation (README.md, WHY.md, etc.)?
[ ] Was this feature demo'd and the design review approved?
[x] Did you update the CHANGELOG.md file with a summary of this update?

Be sure to share your updates with the<EMAIL_ADDRESS>mailing list!

👍  for testing and documentation, still needs JS review

@kylebuch8 Update applied!  Working great!

@kylebuch8 I updated the storybook instances to show theme support.

@kylebuch8 Reverted the storybook updates and moved them into a separate branch.  Prettier is still showing updates to the .storybook files but I can't undo that at this point.


Create Sellers Dashboard

The seller's dashboard will allow the seller to:

Create, Update, and Delete a service
View all active and paused services.
View all active orders.
View all inbox messages.

Service creation and updating page will be different you just have to include buttons. Just need UI for now no need to integrate with APIs.

Assign this to me.


Support --version flag

I thought it would be convenient to display the version of bpf-linker, so I added support for the --version flag.
When you run bpf-linker --version (or -V), it displays:
bpf-linker 0.9.12

In this implementation, I ensured that when --help or --version is specified, the command returns a successful status code

Thank you!


difftest: move loadevent smp instruction

The load instruction was moved to a separate function, and the debug print in the function could not be compiled was fixed, and the repeated judgment statements were reduced

For multicore difftest, loadEvent will be seperated from instrCommit for more flexible logic. And some logic will be also not the same as currently. Maybe some format change should be also changed later


Hey, when will we able to upload pictures on there ?

I'm talking about travel experiences with someone on this app.
Would be great if we could upload images in the chat so I could upload photos :D

I'm not sure that's a good idea after what happened to VSCode Stories...

I don't know about VSCode Stories, so I don't have the context.

Ok watch this video https://youtu.be/CHO316LKnZw

Oh ok, got it.


Multiple selects show validity incorrectly on focusOut()

Since Ember.Select (with multiple=true) doesn't fire a change event when it gets updated, the validations don't get run until you submit the form. This has the side-effect that if the view generates with nothing selected on an attribute (a hasMany in this example) and there is a presence validation, then you select an option before un-focusing the field, it still shows a cannot-be-blank error.
My workaround at this stage is this (which could theoretically be worked into the existing EasyForm.Input or EasyForm.Select declarations, but it seems a bit of a hack (partly because it fires even if nothing changed):
Ember.EasyForm.Input.reopen({
  focusOut: function() {
    if (this.as === 'select' && this.multiple) {
      this.get('controller').propertyDidChange(this.selection);
    }
    return this._super.apply(this, arguments);
  }
});

I haven't managed to work out which events do fire in this instance, but I thought it might be worth factoring in a different observer when the field is a select multiple.
Anyway, thanks for the awesome libraries, love your work! :+1:

If someone finds this in the future, I believe the underlying cause is https://github.com/emberjs/ember.js/issues/10286 and this is not a bug with EasyForm. Some workarounds are available in that issue, including one I posted.

As @grantovich noted, I think this is a issue with the select component itself, and not with the easy-form library.


position:fixed when element rect.top is 0 in body disables stickyClass

https://github.com/rgalus/sticky-js/blob/0a0dca4e62e336bbc615287549903bb2e06139c5/src/sticky.js#L253-L262
prevents sticky-js from applying stickyClass.
It's easy to workaround that (by setting top:1px; position:relative;) but i don't see the point of that use case. Is it possible to remove it ?

Agreed - this is an issue with our implementation. We used this library for a templated navbar that is sometimes transparent bg when at the top, then fades in when the stickyClass gets applied.  But when the sticky element is placed at the top of the page, the stickyClass isn't applied as it should be - this library assumes that we meant to just do a fixed:0 position and disables the rest of the functionality.


"Undefined" Errors when adding Computer Resource without vendor/provider

When manually adding a compute resource (e.g. QPU) vendor in compute-resource-provenance-component.ts is null.
When a simulator is given (without qubitCharacteristics etc. set)  attributes are null and lead to errors.
See console errors.
Please handle these console errors.

#179


gulp-sass 2.x and Foundation 5, broken after gulp-sass update

Hi! A year ago I developed a site using gulp-sass 1.1.0 and Foundation 5. Everything was working fine. Today I needed to do some updates to the site, so I cloned the site back down on my computer, ran npm install and got the following error:
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/binding/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/simen/Desktop/ferdigsnakka.no/content/themes/ferdigsnakka/node_modules/gulp-sass/node_modules/node-sass
gyp ERR! node -v v4.4.3
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
Build failed
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.4.3
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

I figured gulp-sass was running old, so I tried updating the gulp-sass package in my package.json to 2.3.1. npm install ran successfully, but now my site seems to be broken in term of including the Foundation 5 files that's needed for the CSS framework. To me it looks like the files are found(tested this with a simple code I searched for in the concatinated stylesheet through the various .scss-files), but some of the classes and styles are being left out of the concatinated stylesheet. Specifically classes like all the .column and .pull classes are left out.
Here's my gulp sass job:
	gulp.task('sass', function (){
		gulp.src([
			'bower_components/foundation/scss/normalize.scss',         // Gets normalize
			'assets/scss/app.scss'])                                   // Gets the apps scss
			.pipe(sass({style: 'compressed', errLogToConsole: true}))  // Compile sass
			.pipe(concat('main.css'))                                  // Concat all css
			.pipe(rename({suffix: '.min'}))                            // Rename it
			.pipe(minifycss())                                         // Minify the CSS
			.pipe(gulp.dest('assets/css/'))                            // Set the destination to assets/css
			.pipe(livereload())                                        // Reloads server
			util.log('Sass compiled & minified');                 // Output to notification
	});

I'm no gulp or sass expert, but I was wondering if anyone had any suggestion for what my choices are? Could Foundation 5 and gulp-sass 2.x not be working well together?

Looks you're trying to install<EMAIL_ADDRESS>That version is ancient and unsupported. Update your node-sass to a newer version.

My guess is you don't have your includePath configured correctly.

I appreciate your help, @xzyfer!
Yes, the first version(1.x) of the gulp-sass install's an ancient version of node-sass. But if I update to the latest gulp-sass(and thus node-sass) the site breaks. That's the problem.
Okay, So I'm now running gulp-sass 2.3.1, and gulp does not give me any errors when running, but some of the styles are still not imported. I found the #103 issue, and tried using absolute paths for IncludePaths as well as ./ with the same results. My gulp-sass task is now:
var sassPaths = [
	'assets/scss',
	'bower_components/foundation/scss/foundation'
];

	gulp.task('sass', function (){
		gulp.src([
			'bower_components/foundation/scss/normalize.scss',         // Gets normalize
			'assets/scss/app.scss'])                                   // Gets the apps scss
			.pipe(sass({style: 'compressed', includePaths: sassPaths, errLogToConsole: true}))  // Compile sass
			.pipe(concat('main.css'))                                  // Concat all css
			.pipe(rename({suffix: '.min'}))                            // Rename it
			.pipe(minifycss())                                         // Minify the CSS
			.pipe(gulp.dest('assets/css/'))                            // Set the destination to assets/css
			.pipe(livereload())                                        // Reloads server
			util.log('Sass compiled & minified');                 // Output to notification
	});

I still can't figure out why the Foundation 5 files are left out.

You're likely getting an error but not printing it. The errLogToConsole options has been removed. Please read the documentation before opening an issue.
.pipe(sass({style: 'compressed', includePaths: sassPaths}).on('error', sass.logError)))

Ah, yes, I should definitely check that first. Still not getting any errors, though. Anyway, thanks for helping out, I'll ask if someone has any clue in the Foundation forums.


Add caching to azavea client

Needs manual creation of the database with
poetry shell
quart init-db

The plan was actually to scrape the API to get data for all cities. That way, a database can be queried and there'd be 0 API calls.

Makes sense, shouldn't bee too hard to add.

I don't think the scraping should be part of this repo. It should be a separate script and then here we will just need to hook it up to read from the database the script filled (sqlite possibly makes the most sense here?).