首页 文章 精选 留言 我的

精选列表

搜索[css框架],共10000篇文章
优秀的个人博客,低调大师

Angular 10.0.0-rc.6 发布,Web 前端框架

Angular 10.0.0-rc.6 已发布,具体更新内容如下: Bug Fixes compiler:无法解析解构变量声明(#37497)(df10597),closes#36917 core:合并事件时应伪造一个顶级事件任务,以防止过早耗尽 microTaskQueue。(#36841)(9b8eb42),closes#36839 language-service:条件运算符中的wrong completions(#37505)(32020f9) ngcc:正确获取嵌套node_modules/中软件包的配置(#37040)(9ade1c3) ngcc:忽略primary entry-point时,正确获取sub-entry-points的配置(#37040)(bf57776) ngcc:正确从package.json中检索软件包的版本(#37040)(11c0402) router:修复 navigation ignoring logic 与浏览器网址进行比较(#37408)(5db2e79),closes#16710 Features bazel:公开从closure到 devmode files 的显式映射(#36262)(ba796bb) 更新说明:https://github.com/angular/angular/blob/master/CHANGELOG.md

优秀的个人博客,低调大师

Angular 10.0.0-rc.4 发布,Web 前端框架

Angular 10.0.0-rc.4 已发布,具体更新内容如下: Bug Fixes common:防止重复的 URL 更改通知(#37459)(0864726) compiler-cli:将 angular decorators 下调为静态属性(#37382)(323651b),closes #30586#30106#30586#30141 language-service:通过查找完全匹配来改善签名选择(#37494)(e97a2d4) platform-server:正确处理绝对相对 URLs(#37341)(420d1c3),closes #37314 router:修复从空路径组件生成相对链接(#37446)(585e3f6),closes #26243#13011#35687 Features language-service:模板项目中的 TS 引用(#37437)(bf2cb6f) Performance Improvements core:避免在 aot 捆绑包中引入特定于 jit 的代码(#37372)(#37514)(6114cd2),closes #29083 更新说明:https://github.com/angular/angular/blob/master/CHANGELOG.md

优秀的个人博客,低调大师

Angular 10.0.0-rc.0 发布,Web 前端框架

Angular 10.0.0-rc.0 已发布,具体更新内容如下: Bug Fixes core:在 produce APF 软件包时禁用 tsickle pass(#37221)(a1001f2) elements:捕获在升级元素之前设置的输入属性(#36114)(2fc5ae5),closes#30848#31416 elements:在连接元素之前正确处理获取/设置属性(#36114)(327980b),closes/github.com/angular/angular/pull/31416/files#r300326698 elements:不调用 Angular Element 的构造函数时不中断(#36114)(89b44d1) ngcc:IIFE 包装的类中的标识符 ModuleWithProviders 函数 (#37206) (97e1399),closes#37189 BREAKING CHANGES core:Angular npm 软件包不再包含 jsdoc 注释来支持 Closure Compiler 的高级优化 Angular 包中对 Closure Compiler 的支持已经试验并且已经中断了很长时间。 从 TS3.9 开始,Closure 无法与 JavaScript emit 一起使用。可从https://github.com/microsoft/TypeScript/issues/38374了解更多信息和更新。 如果用户过去在 Angular 中使用了 Closure Compiler,则最好直接使用从源代码构建的 Angular 软件包,而不是使用在 npm 上发布的版本,后者主要是针对 Webpack/Rollup + Terser 构建管道进行了优化。 作为临时的解决方法,用户可以考虑使用带有 Closure flag 的当前构建管道--compilation_level = SIMPLE。该 flag 将确保用户的构建管道生成可构建和可运行的工件,但由于禁用了高级优化而增加了有效负载大小。 更新说明:https://github.com/angular/angular/blob/master/CHANGELOG.md

优秀的个人博客,低调大师

Angular 10.0.0-next.6 发布,Web 前端框架

Angular 10.0.0-next.6已发布,具体更新内容如下: Bug Fixes bazel:ng_package 规则应更新 ts_library 目标的“package.json”(#36944)(d5293d2) compiler:删除未解决的 DI 参数的过时和无效警告(#36985)(d0280a0) editor-cli:正确规范模拟 Windows 文件路径(#36859)(b682bd1) core:处理需要多个数字的复数函数(#36901)(2ff4b35),closes#36888 forms:在验证器中正确处理数值(#36157)(88a235d),closes#35591 localize:确保getLocation()works(#36853)(70b25a3) ngcc:支持 delegate的 ModuleWithProviders 函数(#36948)(fafa50d),closes#36892 ...... Features bazel:通过删除 esm5 和 fesm5 简化 ng_package(#36944)(9dbb30f) compiler cli:如果发现具有 Angular 功能的未修饰类,则报告错误(#36921)(4c92cf4) core:带有修饰字段的未修饰类迁移应使用生命周期钩子处理类(#36921)(c6ecdc9) ngcc:支持新的 APF,其中module指向 esm2015 输出(#36944)(c98a4d6) language-service:[ivy]解析 Angular 编译器选项(#36922)(dbd0f8e) 删除 TypeScript 3.6 和 3.7 支持(#36329)(fbd281c) Performance Improvements compiler cli:逐步执行模板类型检查(#36211)(ecffc35) compiler cli:将 Ivy 模板类型检查分为多个文件(#36211)(b861e9c) BREAKING CHANGES TypeScript 3.6 和 3.7 版本不再受支持,请更新至 TypeScript 3.8 forms:数字输入不再监听change事件。 更多详细内容请查看更新说明:https://github.com/angular/angular/blob/master/CHANGELOG.md

优秀的个人博客,低调大师

Java JUnit框架里@Category注解的工作原理

Suppose you have a large number of unit test cases and you don’t want them to be executed all at the same time during Maven build. You can simply achieve it via annotation @Category. (1) Create empty class FastTests and SlowTests.(2) In your test case class, categorize your test method using @Category annotation: (3) Append the following code to your pom.xml: <profiles> <profile> <id>SlowTests</id> <properties> <testcase.groups>com.sap.SlowTests</testcase.groups> </properties> </profile> <profile> <id>FastTests</id> <properties> <testcase.groups>com.sap.FastTests</testcase.groups> </properties> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.13</version> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit47</artifactId> <version>2.13</version> </dependency> </dependencies> <configuration> <groups>${testcase.groups}</groups> </configuration> </plugin> </plugins> </build> (4) In my project, by default all 7 test methods will be executed during Maven build: Suppose you only want to execute unit test belonging to category “SlowTests”, use the following command line: Since now I only marked one method with annotation SlowTests, only one test method is executed: If you would like to execute all unit tests EXCEPT @SlowTests, simply add another profile in pom.xml: <profile> <id>NonSlowTests</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludedGroups>com.sap.SlowTests</excludedGroups> </configuration> </plugin> </plugins> </build> </profile> Before test, in order to prove that Slow method is NOT really executed, I add a system.out.println in each method: Use command line: mvn test -P NonSlowTestsFrom console output, I can ensure that the method with @Category(SlowTests.class) is NOT executed at all. 本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

优秀的个人博客,低调大师

Apache ZooKeeper 3.6.1 发布,分布式服务框架

Apache ZooKeeper 3.6.1 已发布,这是 3.6 分支的第二个版本,也是一个 bugfix 版本,修复了针对 ZooKeeper 3.5 构建的应用程序有关的一些兼容性问题。从 3.5.7 升级到 3.6.1 像往常一样执行即可,无需特别的附加升级程序。只要不使用 3.5 中不存在的新 API,ZooKeeper 3.6.1 客户端与 3.5 服务器兼容。 新特性 ZOOKEEPER-3689- zkCli/ZooKeeperMain 依赖系统属性来进行 TLS 配置 ZOOKEEPER-3712- 为 NIOServerCnxn 添加 setKeepAlive 支持 改进 ZOOKEEPER-3685- 将JDK Arrays Equals 用于 Jute 编译器 ZOOKEEPER-3686- 将JDK Arrays hashCode 用于 Jute 编译器 ZOOKEEPER-3708- 在 Learner 中,将日志代码移动至 Logging Guard ZOOKEEPER-3741- 修复在 Fedora8 上构建 ZooKeeper 3.5 C 客户端出现的问题 ZOOKEEPER-3755- 使用maven 来创建 fatjar ZOOKEEPER-3756- 修复成员不能成功 rejoin quorum 的问题 ZOOKEEPER-3785- 支持使用 JDK14 进行构建源码 详情查看https://zookeeper.apache.org/doc/r3.6.1/releasenotes.html 下载地址https://zookeeper.apache.org/releases.html#download

优秀的个人博客,低调大师

Angular 10.0.0-next.2 发布,Web 前端框架

Angular 10.0.0-next.2已发布,具体更新内容如下: Bug Fixes common:locales/global/*.js不符合 ES5(#36342)(078b0be),closesangular / angular-cli#16394 compiler:正确处理对命名空间符号的类型引用(#36106)(4aa4e6f),closes#36006 core:如果 base class 没有 value 声明,则具有修饰字段的未修饰类迁移应避免 error(#36543)(ca67748),closes#36522 ngcc:从嵌套node_modules/中正确检测外部文件(#36559)(6ab43d7),closes#36526 ngcc:在 Windows 上显示解锁程序的输出(#36569)(e041ac6) ngcc:不要在 cluster workers上生成解锁程序(#36569)(66effde),closes#35861 ngcc:如果paths映射不存在(#36525)(717df13),则不发出警告,closes#36518 ngcc:强制 ngcc 错误退出(#36622)(663b768),closes#36616 router:使用两个或多个同级路由器出口时,将正确的组件传递给 canDeactivate 检查(#36302)(80e6c07),closes#34614 upgrade:更新$locationShim 以在初始化之前处理位置更改(#36498)(0cc53fb),closes#36492 Performance Improvements ngcc:仅在需要时加载(#36486)(3bedfda) ngcc:从 entry-point manifest 中读取依赖项(#36486)(a185efb),closes#issuecomment-608401834 ngcc:减少 entry-point manifest 文件的大小(#36486)(ec0ce60) 更新说明:https://github.com/angular/angular/blob/master/CHANGELOG.md

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

用户登录
用户注册
修改密码
忘记密码