Problem/Motivation

According to the SI standard, there are 1000 bytes in a kilobyte.

There is another standard called IEC that has 1024 bytes in a kibibyte, but this is only useful when measuring things that are naturally a power of two, e.g. a stick of RAM.

https://en.wikipedia.org/wiki/Kilobyte
https://en.wikipedia.org/wiki/Kibibyte
https://en.wikipedia.org/wiki/Binary_prefix

Currently Drupal renders IEC quantities with SI units which is incorrect.

Most people find it very confusing and surprising for files to use IEC (1024 bytes in a kibibyte) because everything else in the world uses 1000 (litres, kilograms). Apple is leading the way by switching to SI: https://en.wikipedia.org/wiki/Binary_prefix#Operating_systems

Steps to reproduce

N/A

Proposed resolution

Update documentation to indicate why we handle the units the way we do. Read #91 for supporting reasons.

Remaining tasks

Locate the documentation that should have

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jbrown’s picture

FileSize
19.04 KB

make comment lines < 80

Status: Needs review » Needs work

The last submitted patch, si-units.patch, failed testing.

jbrown’s picture

Status: Needs work » Needs review

#1: si-units.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, si-units.patch, failed testing.

lambic’s picture

This was posted 2 days late, right?

alexanderpas’s picture

For reference, not only Apple is using the SI standard correctly, Linux kernel is too, as you can read in units(7)

It is my opinion, Drupal should always be using the correct SI and IEC units, except when handling a interface that does not handle those units correctly

jbrown’s picture

Status: Needs work » Needs review
FileSize
41.61 KB
jbrown’s picture

FileSize
41.55 KB
pingers’s picture

This makes no sense to me.

Primary hosting platform is linux. It uses IEC (unless you go out of your way not to).
IMO it would be more confusing to have Drupal say one thing and command line say something else.

I.e.
$ dd if=/dev/zero of=testfile.txt bs=1000 count=1
$ dd if=/dev/zero of=testfile2.txt bs=1024 count=1
$ ls -al testfile*
-rw-r--r-- 1 michael michael 1024 2012-01-27 18:11 testfile2.txt
-rw-r--r-- 1 michael michael 1000 2012-01-27 18:10 testfile.txt
$ ls -alh testfile*
-rw-r--r-- 1 michael michael 1.0K 2012-01-27 18:11 testfile2.txt
-rw-r--r-- 1 michael michael 1000 2012-01-27 18:10 testfile.txt

oriol_e9g’s picture

Status: Needs review » Needs work

For me we should follow the international standards, rather than be like a IE6. Drupal = Early Adopters.

Extra whitespace at the end:

+    if ((($unit_length == 2 || $unit_length == 3) && $unit[1] == 'i') || 

Gubibytes? :)

+    $string = '76.24 Gubibytes'; // Misspeld text -> 76.24 GiB

The patch does not apply.

jbrown’s picture

Status: Needs work » Needs review
FileSize
41.55 KB
oriol_e9g’s picture

We are still using the word 'Gubibytes', sorry for my ignorance but, shouldn't it be 'Gibibytes'?

jbrown’s picture

As documented in the comments, the purpose of that test is for a misspelt unit. Perhaps this test is unnecessary.

oriol_e9g’s picture

Oh, sorry! You're right, I had not seen this!

Maybe we need more opinions before the RTBC.

droplet’s picture

Confusing.

It's patch going to get drupal accepts every units, right ?

user input :
10 KiB = 10 x 1024
10 kB = 10 x 1000
10 KB = (error ?)

jbrown’s picture

The first thing parse_byte_count() does is strtolower() the input, so

10 KB = 10 x 1000

jbrown’s picture

FileSize
43.58 KB

reroll

Status: Needs review » Needs work

The last submitted patch, si-units.patch, failed testing.

jbrown’s picture

Status: Needs work » Needs review
FileSize
43.62 KB

Status: Needs review » Needs work

The last submitted patch, si-units.patch, failed testing.

oriol_e9g’s picture

Status: Needs work » Needs review

#19: si-units.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, si-units.patch, failed testing.

oriol_e9g’s picture

FileSize
38.06 KB

Fixing test!

oriol_e9g’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, si-units-1114538-23.patch, failed testing.

oriol_e9g’s picture

Status: Needs work » Needs review
FileSize
42.13 KB

GGrrrrr

Status: Needs review » Needs work

The last submitted patch, si-units-1114538-26.patch, failed testing.

jbrown’s picture

I'll have an updated patch within an hour.

jbrown’s picture

Status: Needs work » Needs review
FileSize
50.77 KB

Status: Needs review » Needs work

The last submitted patch, si-units.patch, failed testing.

jbrown’s picture

Status: Needs work » Needs review
FileSize
50.37 KB
jbrown’s picture

Issue summary: View changes

Fix wikipedia link

jbrown’s picture

#31: si-units.patch queued for re-testing.

jbrown’s picture

FileSize
51.97 KB

Improve comments.

oriol_e9g’s picture

Less than minor: for consistency I think we should always use a space between the number and its units:
7.4kB --> 7.4 kB, 5MB --> 5 MB, 40gibibytes --> 40 gibibytes, ...

+ *   optional SI or IEC binary unit prefix (e.g. 2, 3 K, 5MB, 10 G, 6GiB, 8
+ *   bytes, 9mbytes).

+ *    - SI (powers of 1000), e.g. 7.4kB, 8 MB, 42.9 megabytes, 9 G, 1terabyte.
+ *    - IEC (powers of 1024), e.g. 9 Kibibytes, 0.3 MiB, 40gibibytes.

+ *    - SI (powers of 1000) 7.4 kB, 8 MB, 42.9 MB, 9 GB, 1 TB.
+ *    - IEC (powers of 1024) 9 KiB, 0.3 MiB, 40 GiB.

+      // bigger than 1 kB so we'll grab the last one.

+  // Create a ~1kB sized struct.

For me it's RTBC

jbrown’s picture

FileSize
51.97 KB

The reason some of the examples have a space and some of them don't is to illustrate that it works either way.

I fixed the ~1kB sized struct comment.

oriol_e9g’s picture

Status: Needs review » Reviewed & tested by the community

Go with this, 17 months reviewing without substantial changes it's sufficient time.

Bojhan’s picture

Status: Reviewed & tested by the community » Needs review

The argumentation for this change is a bit poor, most people find it very confusing?

I am fine with following the standard that better matches file storage. But we don't really allow changes in, with this argumentation because do we know - what standard people expect here?

MrHaroldA’s picture

Status: Needs review » Reviewed & tested by the community

This issue fixes Drupal to not lie about how many bytes there are in a kilobyte. 1 kilogram of cheese is also 1000 grams so I'd expect that normal (cheese eating) users expect. Some will expect the lie, others just don't care.

I'm putting it back as RBTC since it is in fact reviewed by the community ;)

jbrown’s picture

I know this is controversial, so I don't mind if we use IEC or SI. Currently we are using IEC quantities with SI units which is totally wrong. We need to render one or the other properly by default.

catch’s picture

Status: Reviewed & tested by the community » Needs review

I'm going to mark this back to needs review, the patch itself has had lots, but the implications definitely need more discussion.

MrHaroldA’s picture

@catch: Dries already said he was up for the 1000 bytes in a kilobyte back in 2008: http://drupal.org/node/151902#comment-858570

catch’s picture

@MrHaroldA: what people said in an issue four years ago isn't the same as discussing it now.

pingers’s picture

I think getting a patch in for IEC units would be a whole lot easier than changing the calculated values. If there's any code out there relying on this, we're only making string changes, rather than API changes. My 2 cents.

MrHaroldA’s picture

@catch: How can we get an updated opinion from Dries on this?

jbrown’s picture

I'm gonna re-roll this to change the default output to IEC.

jbrown’s picture

Issue summary: View changes

update function names
format output can now be IEC

jbrown’s picture

Title: Use SI units for human-readable byte counts » Correctly handle SI and IEC units for byte counts
FileSize
46.79 KB

@Dries also said that he didn't like the IEC units: http://drupal.org/node/151902#comment-857964 so I'm not going to update the patch to format IEC by default quite yet.

Basically the community needs to decide one way or the other, but we shouldn't leave it the way it is.

jbrown’s picture

Issue summary: View changes

Use summary template

droplet’s picture

Either IEC/SI unit by default. It's patch will bring a new problem to Windows Users.

For example,

Files must be less than 500 KB.

Select a file and check the size in windows explorer. It shows 500KB. and then upload it.. Oh ouch. Error message popup.

Add a note to recommend site builders use IEC unit would make the site friendly for most users.

MrHaroldA’s picture

Same goes for real KB/kB/KiB users: select a 500kB file and upload it. It then shows as 488.2kB in Drupal so the user may assume that something went wrong in the upload.

As long as there are different implementation of the "same" unit, there will be confusion so it's probably best to settle on 1 definition of a kB. Future-wise that definitely must be 1kB = 1000 Bytes (SI) as Drupal 8 will be around for quite a while.

@jbrown I also got confused with the standards! ;) Thanks for pointing out: all KB's replaced with kB's!

jbrown’s picture

Yeah - I think we should do it correctly (either SI or IEC), not work around other peoples bugs.

@MrHaroldA KB is not a unit anywhere. 1 kB = 1000 Bytes (SI), 1 KiB = 1024 Bytes (IEC)

jbrown’s picture

@MrHaroldA your post in #48 is still not correct: 1kB = 1000 Bytes is SI, not IEC

Edit: okay - fixed now!

MrHaroldA’s picture

@jbrown: already fixed!

Need ... more ... coffee ...

jbrown’s picture

FileSize
46.76 KB
jbrown’s picture

FileSize
51.95 KB
msonnabaum’s picture

#53: handle-si-iec-units.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, handle-si-iec-units.patch, failed testing.

jbrown’s picture

Status: Needs work » Needs review
FileSize
47.67 KB

Status: Needs review » Needs work

The last submitted patch, handle-si-iec-units.patch, failed testing.

jbrown’s picture

Status: Needs work » Needs review
FileSize
47.71 KB

Status: Needs review » Needs work

The last submitted patch, handle-si-iec-units.patch, failed testing.

jbrown’s picture

Status: Needs work » Needs review
FileSize
52.23 KB
jbrown’s picture

#60: handle-si-iec-units.patch queued for re-testing.

jbrown’s picture

#60: handle-si-iec-units.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, handle-si-iec-units.patch, failed testing.

MrHaroldA’s picture

Still rooting for this to be committed to D8 ;)

jbrown’s picture

Status: Needs work » Needs review
FileSize
51.71 KB
oriol_e9g’s picture

#65: handle-si-iec-units.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, handle-si-iec-units.patch, failed testing.

oriol_e9g’s picture

Status: Needs work » Needs review

We still need a decision about using SI or IEC.

jbrown’s picture

Reroll.

jbrown’s picture

#69: handle-si-iec-units.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, handle-si-iec-units.patch, failed testing.

Anonymous’s picture

Issue summary: View changes

Fix unit.

jbrown’s picture

Issue summary: View changes

Fix links

jbrown’s picture

Issue summary: View changes

Remove Remaining Tasks section.

jbrown’s picture

Status: Needs work » Needs review

Reroll.

jbrown’s picture

FileSize
49.05 KB
jbrown’s picture

Issue summary: View changes

Add default formatting comment.

jbrown’s picture

Issue summary: View changes

Fix e.g.

jbrown’s picture

Issue summary: View changes

Update description.

oriol_e9g’s picture

Currently we use IEC numbers with SI units. We only need to use IEC numbers/units or SI numbers/units for consistency.

Nobody can choose between SI or IEC for default formatting? 2 years for a simple decision is a lot of time O.o

mikl’s picture

I think this is a good example of code bloat. Adding hundreds of extra lines of code that has to be maintained, parsed and run on every page load on every Drupal sites, all for the sake of some a minor unit difference that makes no difference what so ever to the user.

Worse, I think the changes around the PHP memory size are actively harmful:

-const DRUPAL_MINIMUM_PHP_MEMORY_LIMIT = '32M';
+const DRUPAL_MINIMUM_PHP_MEMORY_LIMIT = '32 MiB';

"32M" is the value you need to set in php.ini. If you try to input "32 MiB", you will get a weird error.

And what's the great benefit of showing '31.5344424 MiB' (or whatever) on the user status page, rather than a simple '32M'?

Isn't there something more important to work on for Drupal 8?

MrHaroldA’s picture

Isn't there something more important to work on for Drupal 8?

Not being able to tell how much MiB or MB a file is, is an utter faillure for a serious framework like Drupal. Postponing this to D9 in 2015/2016 seems like a great loss for a relatively straight forward bugfix.

But I agree, there are other importent issues too ;)

jbrown’s picture

@mikl the purpose of this issue is to fix parsing and formatting of byte counts. How it interacts with PHP settings can be re-arranged.

Note that the formatting of PHP memory limit on the status page is in IEC format and so would not have the digits to the right of the decimal point.

Also, the patch does not add hundreds of lines of code. It adds 64 lines of code, most of which are in tests.

jbrown’s picture

FileSize
2.62 KB
48.65 KB

Updated the patch so DRUPAL_MINIMUM_PHP_MEMORY_LIMIT is not changed. This means that when Drupal is recommending the PHP memory limit to the developer it is in the same format required by php.ini

mikl’s picture

Category: bug » feature

I don't think this is a bugfix at all. The old way (where MB means 1024^2 bytes) is still the way most people are used to seeing it. Like it or not, but Windows is still the largest desktop OS out there, and what the huge majority of our end users are using. And be honest, when did you last use the word gibibyte in a sentence?

This change adds a whole lot of code weight, accomplishes nothing useful, and it violates the principle of least astonishment.

MrHaroldA’s picture

So if a populair operating system has the same bug, this isn't a bug?

People clearly need to be educated, not be kept stupid for thinking 1 kilo = 1024 grams.

tim.plunkett’s picture

Category: feature » bug

adds a whole lot of code weight

This adds 40 lines of code outside of tests. Forty lines.

accomplishes nothing useful

Usefulness is in the eye of the beholder.

mikl’s picture

Category: bug » feature

Forty lines.

…are forty too many.

This prefix mess is a mess, sure, but it's not our mess to fix, so the principle of least astonishment dictates that we do what the end users expect, namely the old way, even if it's not techically a correct use do SI prefixes.

MrHaroldA’s picture

Category: feature » bug

It's still a bug. You can't mix IEC numbers with SI units. That's not an opinion, that's a fact.

deekayen’s picture

Even if Apple isn't dominating the computer OS landscape entirely yet, they're dominating mobile, and they seem to be dominating in attracting web developers. It seems odd to me that there'd be any discussion of not following the lead of Apple so that at least the web developers, who I've interpreted as mostly using Apple products these days, can have a confirmation on the website of what they see in Finder. Otherwise, if you can't reliably use it as a confirmation of what file you've likely uploaded, that defeats half the point of showing the size in the first place.

deekayen’s picture

Status: Needs review » Needs work

The @params in the parse_byte_count() and format_byte_count() docblocks should have type hints I think, e.g. @param int|string $count, @param bool $force_iec.

boombatower’s picture

Related discussion from a while back #267883: parse_size() and format_size() do not use same kilo standard but using proper units seems like the thing to do.

jbrown’s picture

Status: Needs work » Needs review
FileSize
3.15 KB
48.7 KB

Added the type hinting.

alexanderpas’s picture

+++ b/core/includes/common.inc
@@ -1009,9 +1009,8 @@ function parse_byte_count($count, $force_iec = FALSE) {
-  // Make sure an integer is returned. Not cast to an integer type as this would
-  // limit the maximum to 2 GiB on 32-bit platforms.
-  return floor($quantity);
+  // Make sure an integer is returned.
+  return (int) floor($quantity);

Is this an intended change, considering the documentation?

deekayen’s picture

#87 didn't apply for me anymore. File module stuff got moved around two days ago.

I re-rolled it and removed the (int) declaration noted in #88.

jbrown’s picture

#2050133: Refactor drupal_check_memory_limit() to use Symfony's MemoryDataCollector class really needs to go in before we can make progress on this issue.

mikl’s picture

Title: Correctly handle SI and IEC units for byte counts » Use SI and/or IEC units for byte counts?
Status: Needs review » Active

Okay, let's just stop for a second, and review how these units are currently used across the industry:

Windows

Consistently binary (the old way)

OS X/iOS

Inconsistent. Decimal used for hard disk space in the Finder (in accordance with SI), binary used for RAM (in accordance with JEDEC). Binary used almost anywhere else (ls -lah, for example).

Linux/FreeBSD

Inconsistent, depending on which graphical shell (if any) you're using. CLI tools still using binary.

I don't own any Android devices, so I haven't been able to test those.

Bottom line

I don't there's a really good solution here.

  • If we swich to using SI prefixes (ie. convert the numbers), we will get weird numbers in the UI (max upload size, 5.242 MB).

    Additionally, we would be doing the wrong thing for memory sizes (ie. RAM limits), since RAM measurement follows the JEDEC standard, which specifies that RAM should be measured binarily.

  • If we swich to using IEC prefixes (ie.
    mebibytes and gibibytes), we will introduce a unit for disk size measurements that our users have likely never seen before, thereby confusing them.

In summary, I think we should leave this alone. It's a nasty mess, and there's no solution that's correct everywhere.

deekayen’s picture

Status: Active » Needs work

I think it probably makes sense to have the memory limits set in php.ini match the output on the Drupal side. A max upload of 10M in php.ini ought show as 10M in Drupal, lest create confusion; same for memory_limit. I don't think displaying "32M" for memory_limit from php.ini, showing as "32M" on the status page, means we can't show SI prefixes for metadata on file uploads, though. That would seem to be a similar conclusion to what Apple already implemented.

jbrown’s picture

Title: Use SI and/or IEC units for byte counts? » Correctly handle SI and IEC units for byte counts
Status: Needs work » Needs review
FileSize
15.86 KB
49.11 KB

The patch already renders the PHP memory limit as IEC, so there is no problem there.

If we want filesizes to be rendered as SI (yes) then max upload sizes must also be in SI. This is fine if the max is defined in field admin, but what if it comes from a PHP setting? The solution is to interpret these as SI, so when they are rendered as SI the value is the same as in the setting. Technically this is incorrect, but it is the same behaviour as we have at the moment and it means we can have correct behaviour everywhere else without any weird numbers popping out.

I've introduced Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector from #2050133: Refactor drupal_check_memory_limit() to use Symfony's MemoryDataCollector class to the patch as it makes everything a lot simpler.

I removed the changes relating to checking memory_get_usage() exists as it is in #2049167: Don't use function_exists() on functions that are built into PHP 5.3.

Interdiff from #89.

mikl’s picture

Title: Correctly handle SI and IEC units for byte counts » Use SI and/or IEC units for byte counts?
Status: Needs review » Active

#93: Don't try to skirt the issue here. There is no correct here. We can choose between following SI, IEC or JEDEC rules. I outlined the problems in #91.

The patch already renders the PHP memory limit as IEC, so there is no problem there.

No, that's actually incorrect. It should use JEDEC, ie. classic binary units.

jbrown’s picture

This issue is about moving away from JEDEC. We need to use the modern SI standard so that there isn't 1024 bytes in a kilobyte (which is something 99% of people think is totally weird).

The reason we need to use IEC for the PHP memory limit is because this value always has a base of 1024 and we need to distinguish it from SI.

JEDEC is really for physical memory, not a quantity of memory defined in software.

The JEDEC Wikipedia page says:

The specification notes that these prefixes are included in the document only to reflect common usage. It refers to the IEEE/ASTM SI 10-1997 standard as stating, that "this practice frequently leads to confusion and is deprecated". However the JEDEC specification does not explicitly deprecate the common usage. The document further refers the reader to the description of the IEC binary prefixes in Amendment 2 of IEC 60027-2, "Letter symbols to be used in electrical technology", for an alternate system of prefixes[notes 1] and includes a table of the IEC prefixes in the note. However the JEDEC specification does not explicitly include the IEC prefixes in the list of "General terms and definitions".

mikl’s picture

We need to use the modern SI standard so that there isn't 1024 bytes in a kilobyte

We don't actually need to change anything. The current state of things works fine, and I've never heard of any problems.

Additonally, SI isn't particularly modern. ~200 years old. Classic appeal to authority fallacy.

The reason we need to use IEC for the PHP memory limit is because this value always has a base of 1024 and we need to distinguish it from SI.

So instead of just showing the actual value from the php.ini configuration, you want to use obscure prefixes that are not used on any major computing platforms.

I understand that you'd like Drupal to be more technically correct, but the goal of the Drupal project is not to educate end users on scientific measurement standards, and as such I don't think the added costs of code complexity and user confusion are justified.

LarsKramer’s picture

Not complying with measurement standards is not necessarily a bug, especially not in the case when such standards are not already in widespread use.

alexanderpas’s picture

mikl’s picture

The SI standards are already in widespread use.

First of all, SI is not a standard, it is a unit system. Secondly, I don't think anyone's arguing that SI itself is not widely used.

However, as I outlined in #91, the majority of computing platforms still use binary units to some extent, and Windows still use binary units exclusively.

And the IEC kibibyte/mebibytes are not used on any system a normal Drupal end-user would have been exposed to.

mikl’s picture

Issue summary: View changes

Add bold.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

quietone’s picture

quietone’s picture

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Category: Bug report » Task
Issue summary: View changes
Issue tags: +Bug Smash Initiative

The related issue, #451404: Incorrect abbreviations in format_size, was discussed in #bugsmash, 3 months ago and we (darvanen, lendude, borisson_, catch and myself) all forgot to update the issue. I am doing so now.

The comment by miki in #91 provides good reason to leave this alone. The people in the meeting agreed as well. That makes this issue a won't fix. However, instead maybe this issue should be used to update documentation to explain what we are doing.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.