Skip to content

☂️ [3.2] Evaluate changelog #5338

@MaryaBelanger

Description

@MaryaBelanger

This is an evaluation issue

Evaluating the possible need for doc updates due to 3.2 changelog entries.

Summary

Listing out the changes in one ticket and will link to others if necessary (not anticipating much).
Details on each can be found in the changelog

Evaluation

  • Private final field promotion:
  • Split point for refutable patterns
    • Fixing a bug/failure, failure wasn't documented, so now it just works how it "should". No change.
  • Added broadcast parameter to Stream.empty constructor
    • No mention of broadcast streams or empty streams anywhere in the docs, so nowhere to add that you can change the default now.
  • Changed return types of utf8.encode() and Utf8Codec.encode()
  • Deprecated the Service.getIsolateID method.
    • Not mentioned in docs.
  • Added getIsolateId method to Service.
    • Not sure how/where this would be used, but since there's no mention of the previous deprecated method, I assume there's no need to mention this one anywhere either
  • Added getObjectId method to Service.
    • Searched for any discussion about object IDs, didn't find anything. Not sure where this might be useful to use.
  • dart:ffi:
  • HttpClientResponse.headers and HttpRequest.headers return headers and fold points
    • Nothing about fold points or trailing whitespaces.
  • Isolate.packageConfigSync and Isolate.resolvePackageUriSync
    • Nothing.
  • JSInterop (skip)
  • DDC
  • dart2js
  • dart create command has a new cli template
  • dart format
    • Not sure if mentioning --enable-experiment for language experiments is useful or not.
  • Lints:
  • Pub:
    • dart pub upgrade --tighten
    • dart pub get/add/upgrade now shows changes between direct, dev and transitive dependency
      • None of their docs mention that they "show" anything (assuming when it's run from the command line), so there's nothing to update and probably don't need to add it now...?
    • dart pub upgrade no longer shows unchanged dependencies
      • Thought this was already the case?

Metadata

Metadata

Assignees

Labels

e3-weeksComplete in < 4 weeks of normal, not dedicated, workmeta.umbrellaCollects multiple related issuesp2-mediumNecessary but not urgent concern. Resolve when possible.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions