Skip to content

Commit 64407ba

Browse files
kLabztobil4sk9Morello
authored
Haxe 5.0.0-preview.1 (#478)
* Add nightlies page (#470) * Code doesn't have to be tiny everywhere * Link to api.haxe.org instead of adding link to zip we don't provide anymore * Allow html pages to skip wrapper * Add dedicated page for nightlies * Add link to nightlies api docs in download list too * Fix armory image * Update readme with current ci links (#473) * Update highlighter library (#472) * Update readme setup info We no longer need an ancient version of node for vscode-textmate * Show generator complete message only when complete * Add sans-serif as fall back for nav bar element (#475) * Fix 5.0.0 changelog links * Update copyright year * Prompt to update haxelib instead of installing it * [css] Allow usage of .btn-haxe in .sub-head too * Home page update for haxe 5.0 preview * Remove Waxe from the Desktop Apps page. Its website is not online anymore (#474) --------- Co-authored-by: tobil4sk <[email protected]> Co-authored-by: 9Morello <[email protected]>
1 parent 41e7ccc commit 64407ba

File tree

15 files changed

+253
-27
lines changed

15 files changed

+253
-27
lines changed

downloads/5.0.0-preview.1/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ It means that you are using an older `haxelib` version that is not compatible wi
1919

2020
You can either update it:
2121
```
22-
haxelib install haxelib
22+
haxelib update haxelib
2323
```
2424

2525
Or remove it (and use the version shipped with Haxe):

downloads/versions.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
{
175175
"date": "2018-02-22",
176176
"version": "3.4.7",
177+
"api": "3.4.7",
177178
"tag": "3.4.7"
178179
},
179180
{
@@ -229,131 +230,157 @@
229230
{
230231
"date": "2019-10-26",
231232
"version": "4.0.0",
233+
"api": "4.0.0",
232234
"tag": "4.0.0"
233235
},
234236
{
235237
"date": "2019-11-04",
236238
"version": "4.0.1",
239+
"api": "4.0.1",
237240
"tag": "4.0.1"
238241
},
239242
{
240243
"date": "2019-11-11",
241244
"version": "4.0.2",
245+
"api": "4.0.2",
242246
"tag": "4.0.2"
243247
},
244248
{
245249
"date": "2019-11-29",
246250
"version": "4.0.3",
251+
"api": "4.0.3",
247252
"tag": "4.0.3"
248253
},
249254
{
250255
"date": "2019-12-17",
251256
"version": "4.0.5",
257+
"api": "4.0.5",
252258
"tag": "4.0.5"
253259
},
254260
{
255261
"date": "2020-05-13",
256262
"version": "4.1.0",
263+
"api": "4.1.0",
257264
"tag": "4.1.0"
258265
},
259266
{
260267
"date": "2020-05-22",
261268
"version": "4.1.1",
269+
"api": "4.1.1",
262270
"tag": "4.1.1"
263271
},
264272
{
265273
"date": "2020-06-19",
266274
"version": "4.1.2",
275+
"api": "4.1.2",
267276
"tag": "4.1.2"
268277
},
269278
{
270279
"date": "2020-07-22",
271280
"version": "4.1.3",
281+
"api": "4.1.3",
272282
"tag": "4.1.3"
273283
},
274284
{
275285
"date": "2020-09-11",
276286
"version": "4.1.4",
287+
"api": "4.1.4",
277288
"tag": "4.1.4"
278289
},
279290
{
280291
"date": "2020-12-31",
281292
"version": "4.1.5",
293+
"api": "4.1.5",
282294
"tag": "4.1.5"
283295
},
284296
{
285297
"date": "2021-02-09",
286298
"version": "4.2.0",
299+
"api": "4.2.0",
287300
"tag": "4.2.0"
288301
},
289302
{
290303
"date": "2021-02-26",
291304
"version": "4.2.1",
305+
"api": "4.2.1",
292306
"tag": "4.2.1"
293307
},
294308
{
295309
"date": "2021-05-14",
296310
"version": "4.2.2",
311+
"api": "4.2.2",
297312
"tag": "4.2.2"
298313
},
299314
{
300315
"date": "2021-07-01",
301316
"version": "4.2.3",
317+
"api": "4.2.3",
302318
"tag": "4.2.3"
303319
},
304320
{
305321
"date": "2021-10-22",
306322
"version": "4.2.4",
323+
"api": "4.2.4",
307324
"tag": "4.2.4"
308325
},
309326
{
310327
"date": "2022-03-06",
311328
"version": "4.2.5",
329+
"api": "4.2.5",
312330
"tag": "4.2.5"
313331
},
314332
{
315333
"date": "2023-04-06",
316334
"version": "4.3.0",
335+
"api": "4.3.0",
317336
"tag": "4.3.0"
318337
},
319338
{
320339
"date": "2023-04-28",
321340
"version": "4.3.1",
341+
"api": "4.3.1",
322342
"tag": "4.3.1"
323343
},
324344
{
325345
"date": "2023-09-01",
326346
"version": "4.3.2",
347+
"api": "4.3.2",
327348
"tag": "4.3.2"
328349
},
329350
{
330351
"date": "2023-11-17",
331352
"version": "4.3.3",
353+
"api": "4.3.3",
332354
"tag": "4.3.3"
333355
},
334356
{
335357
"date": "2024-03-04",
336358
"version": "4.3.4",
359+
"api": "4.3.4",
337360
"tag": "4.3.4"
338361
},
339362
{
340363
"date": "2024-07-18",
341364
"version": "4.3.5",
365+
"api": "4.3.5",
342366
"tag": "4.3.5"
343367
},
344368
{
345369
"date": "2024-08-07",
346370
"version": "4.3.6",
371+
"api": "4.3.6",
347372
"tag": "4.3.6"
348373
},
349374
{
350375
"date": "2025-05-09",
351376
"version": "4.3.7",
377+
"api": "4.3.7",
352378
"tag": "4.3.7"
353379
},
354380
{
355381
"date": "2025-07-04",
356382
"version": "5.0.0-preview.1",
383+
"api": "5.0.0-preview.1",
357384
"tag": "5.0.0-preview.1"
358385
}
359386
]
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
<div class="section">
2+
<div class="container">
3+
<div class='prev-next-links top clearfix'>
4+
<a href="/download/version/5.0.0-preview.1/" class="prev-link">5.0.0-preview.1</a>
5+
<a href="/download/list/">(View all versions)</a>
6+
</div>
7+
</div>
8+
</div>
9+
<div class="section dark head downloads">
10+
<div class="container">
11+
<div class="row">
12+
<div class="span5">
13+
<h1>Haxe development builds</h1>
14+
15+
<p class="lead">Thank you for choosing Haxe!<br/>Download for your platform and start developing today.</p>
16+
<p class="alert alert-error">
17+
<strong>These are automated development builds</strong><br/>
18+
The current preview version is <a href="/download/version/5.0.0-preview.1/" style="color:#13110f">Haxe 5.0.0-preview.1</a>.<br/>
19+
The current stable release version is <a href="/download/" style="color:#13110f">Haxe 4.3.7</a>.
20+
</p>
21+
</div>
22+
<div class="span6">
23+
<div class="row">
24+
<div class="span1 header">
25+
<i class="fa fa-windows" title="Windows"></i>
26+
</div>
27+
<div class="span5">
28+
<ul class="nav nav-tabs nav-stacked">
29+
<li><a href="https://build.haxe.org/builds/haxe/windows64-installer/"><i class="fa fa-download"></i> Windows 64-bit installer</a></li>
30+
<li><a href="https://build.haxe.org/builds/haxe/windows64/"><i class="fa fa-download"></i> Windows 64-bit Binaries</a></li>
31+
</ul>
32+
</div>
33+
</div>
34+
<div class="row downloads">
35+
<div class="span1 header">
36+
<i class="fa fa-apple" title="Mac OS X"></i>
37+
</div>
38+
<div class="span5">
39+
<ul class="nav nav-tabs nav-stacked">
40+
<li><a href="https://build.haxe.org/builds/haxe/mac-installer/"><i class="fa fa-download"></i> OSX Installer</a></li>
41+
<li><a href="https://build.haxe.org/builds/haxe/mac/"><i class="fa fa-download"></i> OSX Binaries</a></li>
42+
</ul>
43+
</div>
44+
</div>
45+
<div class="row downloads">
46+
<div class="span1 header">
47+
<i class="fa fa-linux" title="Linux"></i>
48+
</div>
49+
<div class="span5">
50+
<ul class="nav nav-tabs nav-stacked">
51+
<li><a href="https://build.haxe.org/builds/haxe/linux64/"><i class="fa fa-download"></i> Linux 64-bit Binaries</a></li>
52+
<li><a href="https://build.haxe.org/builds/haxe/linux-arm64/"><i class="fa fa-download"></i> Linux Arm64 Binaries</a></li>
53+
</ul>
54+
</div>
55+
</div>
56+
<div class="row downloads">
57+
<div class="span1 header">
58+
<i class="fa fa-download"></i>
59+
</div>
60+
<div class="span5">
61+
<ul class="nav nav-tabs nav-stacked">
62+
<li><a href="https://api.haxe.org/v/development/" target="_blank"><i class="fa fa-book"></i> API Documentation</a></li>
63+
<li><a href="https://github.com/HaxeFoundation/haxe/tree/development/" target="_blank"><i class="fa fa-github"></i> Source Code</a></li>
64+
<li><a href="https://github.com/HaxeFoundation/haxe/compare/5.0.0-preview.1...development" target="_blank"><i class="fa fa-github"></i> Commits since 5.0.0-preview.1</a></li>
65+
</ul>
66+
</div>
67+
</div>
68+
</div>
69+
<div class="span1"></div>
70+
</div>
71+
</div>
72+
</div>
73+
<div class="section">
74+
<div class="container">
75+
<div class="row">
76+
<div class="span1"></div>
77+
<div class="span9">
78+
<h2>Road to Haxe 5.0</h2>
79+
80+
<p>
81+
Dear Community,
82+
</p>
83+
84+
<p>
85+
We are currently working towards Haxe 5.0 which, as a major version, will include a number of breaking change.
86+
</p>
87+
88+
<p>
89+
To ease the migration from Haxe 4, we introduced <code>-D haxe-next</code> in Haxe 4.3.
90+
This <a href="/manual/lf-condition-compilation.html">define</a> activates a number of warnings about things that will not work anymore in Haxe 5.0.
91+
</p>
92+
</div>
93+
<div class="span2"></div>
94+
</div>
95+
96+
<div class="row">
97+
<div class="span1"></div>
98+
<div class="span9">
99+
<h2>Roadmap</h2>
100+
101+
<p><strong>Main features that are currently being worked on</strong>:</p>
102+
<ul>
103+
<li>Haxe Coroutines (<a href="https://github.com/HaxeFoundation/haxe/pull/12168">#12168</a>)</li>
104+
<li>IDE integration improvements</li>
105+
</ul>
106+
107+
<p><strong>See also</strong>:</p>
108+
<ul>
109+
<li><a href="https://github.com/HaxeFoundation/haxe/milestone/20">Release 5.0</a> Milestone</li>
110+
<li><a href="https://github.com/HaxeFoundation/haxe/milestone/25">5.0 preview 2</a> Milestone</li>
111+
</ul>
112+
</div>
113+
<div class="span2"></div>
114+
</div>
115+
116+
<div class="row">
117+
<div class="span1"></div>
118+
<div class="span9">
119+
<h2>Change Log</h2>
120+
121+
<p><strong>Removal</strong>:</p>
122+
<ul>
123+
<li>all : remove 32 bit windows builds (<a href="https://github.com/HaxeFoundation/haxe/issues/11541">#11541</a>)</li>
124+
<li>all : move <code>sys.db</code>, <code>php.Web</code> and <code>neko.Web</code> to <code>hx4compat</code> lib (<a href="https://github.com/HaxeFoundation/haxe/issues/11385">#11385</a>)</li>
125+
<li>all : move <code>haxe.remoting</code> to <code>hx4compat</code> lib (<a href="https://github.com/HaxeFoundation/haxe/issues/11387">#11387</a>)</li>
126+
<li>all : remove haxe.Ucs2 (<a href="https://github.com/HaxeFoundation/haxe/issues/12103">#12103</a>)</li>
127+
<li>hl : move some hl.Format into lib format/heaps (<a href="https://github.com/HaxeFoundation/haxe/issues/11869">#11869</a>)</li>
128+
<li>java/cs : remove C# and Java targets (<a href="https://github.com/HaxeFoundation/haxe/issues/11551">#11551</a>)</li>
129+
<li>macro : remove some API from haxe.macro.Compiler (<a href="https://github.com/HaxeFoundation/haxe/issues/11540">#11540</a>)</li>
130+
<li>macro : remove CompilationServer.setModuleCheckPolicy options (<a href="https://github.com/HaxeFoundation/haxe/issues/11615">#11615</a>)</li>
131+
</ul>
132+
133+
<p><strong>Breaking changes</strong>:</p>
134+
<ul>
135+
<li>all : rework module resolution (<a href="https://github.com/HaxeFoundation/haxe/issues/11168">#11168</a>)</li>
136+
<li>all : don't infer string on concat (<a href="https://github.com/HaxeFoundation/haxe/issues/11318">#11318</a>)</li>
137+
<li>all : delay typer creation to after init macros (<a href="https://github.com/HaxeFoundation/haxe/issues/11323">#11323</a>)</li>
138+
<li>all : disallow partial resolution (pack.SubType access when module is imported) (<a href="https://github.com/HaxeFoundation/haxe/issues/11338">#11338</a>)</li>
139+
<li>all : don't create a class field for every enum field (<a href="https://github.com/HaxeFoundation/haxe/issues/11452">#11452</a>)</li>
140+
<li>all : only set cf_expr_unoptimized if we think we need it (<a href="https://github.com/HaxeFoundation/haxe/issues/11462">#11462</a>)</li>
141+
<li>all : fix the way optional arguments are handled when using <code>bind</code> (<a href="https://github.com/HaxeFoundation/haxe/issues/11533">#11533</a>)</li>
142+
<li>all : don't bind foreign type parameters in definition mode (<a href="https://github.com/HaxeFoundation/haxe/issues/11658">#11658</a>)</li>
143+
<li>all : disallow duplicate argument name (<a href="https://github.com/HaxeFoundation/haxe/issues/11978">#11978</a>)</li>
144+
<li>all : fix types in null coal null check (<a href="https://github.com/HaxeFoundation/haxe/issues/11726">#11726</a>)</li>
145+
<li>macro : Build macro order vs inheritance (<a href="https://github.com/HaxeFoundation/haxe/issues/11582">#11582</a>)</li>
146+
<li>macro : disallow defining types into existing modules (<a href="https://github.com/HaxeFoundation/haxe/issues/11845">#11845</a>)</li>
147+
</ul>
148+
149+
<p><strong>Other changes</strong>:</p>
150+
151+
<p>
152+
The full list of released changes is available on preview release pages:
153+
</p>
154+
155+
<ul>
156+
<li><a href="/download/version/5.0.0-preview.1/">Haxe 5.0.0-preview.1</a></li>
157+
</ul>
158+
159+
<p>
160+
For the changes that are only available on nightlies for now, a changelog draft
161+
is available on <a href="https://github.com/HaxeFoundation/haxe/wiki/Nightlies-changelog" target="_blank">Haxe repository wiki</a>
162+
and is being updated as we add major changes to <code>development</code> branch.
163+
</p>
164+
</div>
165+
<div class="span2"></div>
166+
</div>
167+
168+
<div class='prev-next-links bottom clearfix'>
169+
<a href="/download/version/5.0.0-preview.1/" class="prev-link">5.0.0-preview.1</a>
170+
<a href="/download/list/">(View all versions)</a>
171+
</div>
172+
173+
</div>
174+
</div>

pages/foundation/open-source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The license of the compiler does not affect the license of your own source code.
2626

2727
Since Haxe 3, the Haxe Standard Library has been licensed under a MIT style license, which does not require the notices to be reproduced anywhere outside of the actual library code.
2828

29-
Copyright (C)2005-2016 Haxe Foundation
29+
Copyright (C)2005-2025 Haxe Foundation
3030

3131
Permission is hereby granted, free of charge, to any person obtaining a
3232
copy of this software and associated documentation files (the "Software"),

src/Deploy.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Deploy {
4141

4242
// Set up redirections of the download files to GitHub releases.
4343
for (version in downloadsData.versions) {
44-
for (download in (version.api != null ? [version.api] : []).concat(version.downloads.all)) {
44+
for (download in version.downloads.all) {
4545
aws([
4646
"s3api", "put-object",
4747
"--acl", "public-read",

src/DownloadsData.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef Version = {
2727
var version : String;
2828
var tag : String;
2929
var date : String;
30-
@:optional var api : Download;
30+
@:optional var api : String;
3131
@:optional var next : Version;
3232
@:optional var prev : Version;
3333
@:optional var downloads : DownloadList;
@@ -177,7 +177,7 @@ class DownloadsData {
177177
downloads.windows.archives.unshift(current = getInfo("Windows 64-bit Binaries", url));
178178
downloads.all.unshift(current);
179179
} else if (filename == 'api-${version.version}.zip') {
180-
version.api = getInfo("API Documentation", url);
180+
// Ignored, as we link to api docs instead
181181
} else {
182182
throw('Unknown download type for "$filename"');
183183
}

src/Views.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Views {
1212
@:template public static function BlogRss (posts:Array<{ title:String, name:String, date:String, authors:Array<generators.Blog.Author>, description:String }>) : Html;
1313
@:template public static function DownloadFile (prev:String, next:String, title:String, directDownloadLink:String, releaseNotes:Html, changes:Html, api:String) : Html;
1414
@:template public static function DownloadList (title:String, current:String, versions:Array<DownloadsData.Version>) : Html;
15-
@:template public static function DownloadVersion (version:DownloadsData.Version, prev:String, next:String, title:String, downloads:DownloadsData.DownloadList, api:String, current:String, releaseNotes:Html, changes:Html, prevTag:String) : Html;
15+
@:template public static function DownloadVersion (version:DownloadsData.Version, prev:String, next:String, title:String, downloads:DownloadsData.DownloadList, current:String, releaseNotes:Html, changes:Html, prevTag:String) : Html;
1616
@:template public static function Footer (firstColumn:Array<{ url:String, title:String }>, columns:Array<{ title:String, url:String, rows:Array<SiteMap.Row> }>) : Html;
1717
@:template public static function MainLayout (title:String, description:String, navBar:Html, viewContent:Html, siteMap:Html, currentYear:String, editLink:String, additionalScripts:Html, additionalStyles:Html) : Html;
1818
@:template public static function PageWithoutSidebar (content:Html, editLink:String, downloads:DownloadsData.Data) : Html;

0 commit comments

Comments
 (0)